On Tue, Nov 13, 2007 at 03:35:48PM +0100, Mike wrote: > Hi all, > > on my PmWiki, I have a footer which displays a "last modified" information. > > Now, I wrote a little script for myself which I use to automatically > create dozens of wiki pages from a template (only me, the admin, can do > that - it's being used for a gallery). What I noticed is that these > newly created pages all carry the last modified information of the > template wiki page. > > What I need is a line in my program code which will update the "last > modified" stamp of a newly automatically created page to the current > timestamp. How would I do this? > The created files in question (found in wiki.d) do already carry the > current date... so I don't know where to look to see where the timestamp > is being remembered...
The last modification time for a page is given by the time= field in the page file... it needs to be set to a unix timestamp value. Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
