25 January 2007

From Organic Design wiki
Revision as of 03:52, 25 January 2007 by Nad (talk | contribs) (News: PDF export added to toolbox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
PDF export added to toolbox

User:FND 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.