25 January 2007

From Organic Design wiki
Revision as of 23:15, 14 February 2007 by Nad (talk | contribs) (See talk:pdf-export.php for more details about usage.)
PDF export added to toolbox

A user inquired this morning about the old Open Office Export which is not really in a useable state, but it prompted me to have a bit of a look around for current MediaWiki article exporting options. I soon found HTMLDOC which, while not specific to MediaWiki, is able to convert HTML to PDF quite well, and is a well established project.

It was extremely easy to install on Debian using apt-get (I've added it to Debian Post Install), and their documentation is very good too which allowed me to integrate it into our XmlWiki environment in only a few minutes. The transform created to call the htmldoc command is pdf-export.php and is attached to the view event of an article via an XPath query in the URL of the export link in the toolbox.