= A Trac plugin for export of wiki pages to MS Word = >Hi Mark here.[[BR]] >As Lucas is moving on - I would like to thank him for this plugin. I have some ideas for change - but for now will restrict myself to trying to fix the issues already logged.[[BR]] >Mark == Description == The aim of the plugin is to transform a wiki page so that it can be imported using the HTML import capability of MS Word. After that, a format template can be applied, and the text might be copied into a document template. The plugin works as follows: * Cleanup and validation using [http://tidy.sourceforge.net/ HTML Tidy]. * Transformation using a XSLT stylesheet * Offering a zip file with wiki page and images for downloading. Installation: * Install [http://tidy.sourceforge.net/ HTML Tidy]. * Make sure xsltproc is available. If not, install from [http://xmlsoft.org/XSLT/xsltproc2.html] * From the linked page Click Downloads and download iconv, libxslt, libxml2, zlib * On windows - the binaries for all either need to be in one directory or on your path (PageToDocIntegration expects the folder that contains libxslt to be on your path) * test that it has been installed correctly by running xsltproc (if it cannot be found - make sure it is on the path) * Save the [source:/pagetodocintegration/html_filtered.xslt XSLT stylesheet] onto your disk. * Create the following section in your trac.ini (modify path): {{{ [pagetodoc] xsltfile = /path/to/your/xsltfile }}} * Install plugin. * The same can be done by adding the following line to the `[components]` section of your trac.ini file e.g. {{{ [components] PageToDoc.* = enabled }}} The plugin is in a alpha state. There are a couple of things to be enhanced. Please try and give feedback. == Bugs/Feature Requests == Existing bugs and feature requests for PageToDocIntegration are [report:9?COMPONENT=PageToDocIntegration here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=PageToDocIntegration&owner=lei new ticket]. == Download == Download the zipped source from [download:pagetodocintegration here]. == Source == You can check out PageToDocIntegration from [http://trac-hacks.org/svn/pagetodocintegration here] using Subversion, or [source:pagetodocintegration browse the source] with Trac. == Example == Once installed, a new entry shows up below the '''Download in other formats''' section at the end of the page. Click and save to disk. Extract and open with Word. == Recent Changes == [[ChangeLog(pagetodocintegration, 3)]] == Author/Contributors == '''Author:''' [wiki:lei] [[BR]] '''Contributors:'''