Hi MoinMoin users,

I am in the middle of setting up synchronization between two wiki systems 
(moinmoin version 1.9.3). The synchronization is already working. Yet I am 
still having some questions on the topic. 

- using the SyncJobTemplate that relies on the action SyncPages it is not 
possible to synchronize attachments when using version 1.9.3, correct?

- is the new moinmoin version 1.9.4 able to synchronize attachments?

- I would like to schedule the synchronization using a batch job. To accomplish 
that I have written a python script that calls the SyncJobTemplate using 
httplib. In my first attempt I was 
   trying to call the SyncJobTemplate page using a http GET and the URL  
http://nb-it-lt-ms/testwiki/SyncJobTemplate?action=SyncPages. As I did not 
succeed I had a look at the 
   SyncPages.py code and noticed that when the SyncJobTemplate is interactively 
started by a user the first call to the Page is a http GET to the URL 
   http://nb-it-lt-ms/testwiki/SyncJobTemplate? action=SyncPages afterwards the 
page is displayed once more showing a form with user/password fields and  
cancel/start buttons. 
   Pressing the start button on that page fires another call to 
http://nb-it-lt-ms/testwiki/SyncJobTemplate?action=SyncPages using a http POST. 
   I tried the same within my script yet still no success. Then I recognized 
that when sending the http POST an additional parameter called ticket, which 
must have been created 
   at some point along the line, is also sent. Here I am stuck at the minute. 
Maybe someone could give me a hint how such a ticket can be created? Or if 
someone did already succeed in 
   starting the synchronization using some kind of batch job it would be great 
if he could share his knowledge.

Many Thanks in advance,

mark

_______________________________________________________________________________________

Dialog Semiconductor GmbH
Neue Str. 95
D-73230 Kirchheim
Managing Directors: Dr. Jalal Bagherli, Jean-Michel Richard
Chairman of the Supervisory Board: Gregorio Reyes
Commercial register: Amtsgericht Stuttgart: HRB 231181
UST-ID-Nr. DE 811121668


Legal Disclaimer: This e-mail communication (and any attachment/s) is 
confidential and 
contains proprietary information, some or all of which may be legally 
privileged. It is 
intended solely for the use of the individual or entity to which it is 
addressed. Access 
to this email by anyone else is unauthorized. If you are not the intended 
recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance
on it, is prohibited and may be unlawful.

Please consider the environment before printing this e-mail

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to