[pmwiki-users] Creating wiki files externally

Ben Wilson dausha at gmail.com
Sun May 13 10:01:18 CDT 2007


On 5/13/07, Ben Wilson <dausha at gmail.com> wrote:
[...]
>
> Have you looked at Cookbook:Pywe? Assuming your on a *Nix platform,
> you can write a wrapper that creates static text files, then calls
> Pywe to upload them to a PmWiki site.
>
> Assuming you've already converted the text to PmWiki markup, this
> should be an easy wrap app. If you need to convert the text, then
> you'll want to obtain the text, run batch regecies over the text to
> convert it to PmWiki markup, and then write the text file before you
> Pywe it.

I should have clarified that Pywe simulates a browser POST to a PmWiki
site, which means that all the standard behavior of PmWiki on editing
takes effect per the site's configuration. That is, it updates the
page and increments page history, updates the various indices, and
allows any site-specific text alteration to occur. It does not do a
server-side posting, which I opine is unwise because it detracts from
site standardization because it does not engage all of PmWiki's
functionality.

-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill



More information about the pmwiki-users mailing list