Publish Button

We can use a Wiki Form and link it to a Transporter in order to create an effective Publish Button for wiki.

The Tranporter or cgi on the receiving end of the form submission, creates plain HTML content from a template and the wiki content specified.

As an example a single wiki page could create and HTML page from the first three paragraphs of wiki text. Optionally it could use the first image of video element it finds on the page and use this for a header image for the exported HTML page.

The Tranporter or cgi on the receiving end of the form submission, will need write access to the document root of the web site we are publishing too.

As a default we could publish to the Theme Folder of the wiki's origin server, as this content is served by the Fedwiki server. We could also specify the server, and document root in the form - and leave it to the cgi to provide the security and capability to do this.

One interesting place to publish the content is to GitHub Pages, or Google Docs. A technical question of interest here is whether the oAuth token that a user is logged in with would enable publshing to either of these sites directly from the client in Javascript.