| 1 | = A Trac plugin for export of wiki pages to MS Word = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | 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. |
| 6 | |
| 7 | The plugin works as follows: |
| 8 | * Cleanup and validation using [http://tidy.sourceforge.net/ HTML Tidy]. |
| 9 | * Transformation using a XSLT stylesheet |
| 10 | * Offering a zip file with wiki page and images for downloading. |
| 11 | |
| 12 | Installation: |
| 13 | * Install [http://tidy.sourceforge.net/ HTML Tidy]. |
| 14 | * Make sure xsltproc is available. If not, install from [http://xmlsoft.org/XSLT/xsltproc2.html] |
| 15 | * Save the XSLT stylesheet onto your disk. |
| 16 | * Create the following section in your trac.ini (modify path): |
| 17 | {{{ |
| 18 | [pagetodoc] |
| 19 | xsltfile = /path/to/your/xsltfile |
| 20 | }}} |
| 21 | * Install plugin. |
| 22 | |
| 23 | The plugin is in a alpha state. There are a couple of things to be enhanced. Please try and give feedback. |
| 24 | |
| 25 | == Bugs/Feature Requests == |
| 26 | |
| 27 | Existing bugs and feature requests for PageToDocIntegration are |
| 28 | [report:9?COMPONENT=PageToDocIntegration here]. |
| 29 | |
| 30 | If you have any issues, create a |
| 31 | [http://trac-hacks.org/newticket?component=PageToDocIntegration&owner=lei new ticket]. |
| 32 | |
| 33 | == Download == |
| 34 | |
| 35 | Download the zipped source from [download:pagetodocintegration here]. |
| 36 | |
| 37 | == Source == |
| 38 | |
| 39 | You can check out PageToDocIntegration from [http://trac-hacks.org/svn/pagetodocintegration here] using Subversion, or [source:pagetodocintegration browse the source] with Trac. |
| 40 | |
| 41 | == Example == |
| 42 | |
| 43 | 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. |
| 44 | |
| 45 | == Recent Changes == |
| 46 | |
| 47 | [[ChangeLog(pagetodocintegration, 3)]] |
| 48 | |
| 49 | == Author/Contributors == |
| 50 | |
| 51 | '''Author:''' [wiki:lei] [[BR]] |
| 52 | '''Contributors:''' |