[Moin-user] Nightly update of page
lists at bpsw.biz
Mon Sep 5 20:27:29 EDT 2005
I have created a pair of scripts to do exactly this (a "put page"
script and a "get page" script). I'm not quite done with them yet,
but I will provide them to Jens or anyone else, if you like.
A few notes:
- These scripts use the Moin python libraries, rather than the XML-
- The put script I wrote adds an entry to the edit log (not sure if
When I finish I will add them to ScriptMarket.
On Sep 5, 2005, at 4:24 am, Nir Soffer wrote:
> On 5 Sep, 2005, at 10:55, Jens Jorgen Mortensen wrote:
>> I have a page in my wiki, that contains some text and an image (an
>> attachment). I would like both text and image to be updated
>> nightly by
>> a crontab job. Can I simply have my crontab job overwrite these
> It should work, but has few problems:
> * You will loose the history of the page
> * The page edit-log will show wrong date
> * The wiki edit-log will show wrong date
> * If you use Lupy indexed search, the index will not be updated
> with the new text in the page
> * Any feature that triggered by the wiki edit log date might break
> The best way would be to run a python script that save a new page
> revision in a correct way. It can save without backups if needed.
> Use this as example:
> It append text to the page. You can easily change it to replace the
> text. I think you can control the backups feature with an argument
> to the PageEditor constructor.
> If you create a working script, please put it on ScriptMarket.
> Best Regards,
> Nir Soffer
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
More information about the Moin-user