[Moin-user] set pageinfo

Janssens Karen Karen.Janssens at ua.ac.be
Thu Jan 10 11:03:32 EST 2008


With our installation of MoinMoin, we want to make it possible to import 
new pages automatically. It means: a user provides some text and a page 
title (for example by email) and this is converted into wiki format and 
imported into MoinMoin using a function I wrote based on "edit.saveText" 
. This is not the problem. But doing this, the page info is set as "Last 
edited ... by localhost".
I would like to make it possible to change the 'localhost' into the user 
identification, again by som automated routine.
I have found the functions "page.lasteditinfo" and "page._last_edited", 
but I need to *set* the properties 'editor' and 'timestamp', rather than 
get them.

Does anyone has an idea? It would be greatly appreciated!

Best regards

Karen Janssens
Universiteit Antwerpen
Anet - Bibliotheek Stadscampus
Prinsstraat 9
B-2000 Antwerpen
Tel    +32 3 220.49.71
Email  karen.janssens at ua.ac.be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20080110/64673a72/attachment.html>

More information about the Moin-user mailing list