[pmwiki-users] pagelists link= with pages generated externally

Christophe David pmwiki at christophedavid.org
Sun May 27 01:28:32 CDT 2007


> > By the way, there is one more action that would ideally complement the
> > "import"...  ;-)  Guess what ?  action=export.  This would take the
> > content of the page and copy it as text in an "export" directory.
> If you consider using action=source for that, the feature is already
> available... ;)

That's true, except it does not save to a file.

action=export could thus execute the same code as action=source + save
to the export directory with the same name as the original page.

One more application to this: text configuration files for
applications (.ini , xml, etc.) could be stored in wiki pages to allow
easy maintenance, versioning, roll-back, etc., and simply exported to
a flat file for their respective applicaton...

Christophe



More information about the pmwiki-users mailing list