[Moin-user] Uploading attachments when migrating to MoinMoin

R.Bauer rb.proj at gmail.com
Mon Jun 6 04:30:14 EDT 2011


Am 04.06.2011 02:10, schrieb Dave Clements:
> Hello all,
> 
> I'm migrating from another wiki system (that uses Creole) to MoinMoin.  I've
> figured out how to upload pages using the "moin import wikipages" command.
> I can't figure out how to also upload attachments.
> 
> Is there any way to upload attachments with a script, or do I have to do
> this manually?
> 

Hi

you can do everything by xmlrpc

two examples:
http://moinmo.in/ReimarBauer/xmlrpc

https://coconuts.icg.kfa-juelich.de/hg/coconuts-0.4/file/5381eecd6508/Coconuts/xmlrpc/__init__.py

or introduce a new command by using
http://hg.moinmo.in/moin/1.9/file/c162353f99ed/MoinMoin/action/AttachFile.py#l207

cheers
Reimar


> Thanks,
> 
> Dave C.
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today. 
> http://p.sf.net/sfu/quest-dev2dev2 
> 
> 
> 
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user






More information about the Moin-user mailing list