wiki:Page2DocbookPlugin

Version 19 (modified by FilipeCorreia, 2 years ago) (diff)

--

Page2DocBook - Export wiki pages as docbook documents

Project options: Browse Source | View Tickets | New Ticket

Download options: Python Egg (v0.6.3) | Subversion Repository | Zipped Source

Notice

Until further notice you can find the latest version of the plugin in this page,
but future version will be available from the repository at github.

Installation

This plugin was tested with Trac versions 0.10 and 0.11. Please ensure the following python modules are installed before installing this plugin:

  • python-uTidyLib (note: if you're using a 64bit OS, you may need this fork , or more specifically, this this patch)
  • python-libxml2
  • python-libxslt

Refer to the Trac plugin documentation for details on how to build and install plugins and macros.

After installing, a new alternative format should appear on the bottom of each wiki page, next to the "Plain Text" link.

Companion Script

There's a companion python script that retrieves all the docbook files for a given set of wiki pages. It saves the docbook files to the local computer, along with any attached image file, making them ready for processing with any other tool that receives docbook as input.

This script is currently mostly undocumented, but I believe it is simple enough to be easily understood.

Recent Changes

[6400] by FilipeCorreia on 2009-08-20 19:15:48
Updated the version number to 0.6.3 final, and built the egg
[6399] by FilipeCorreia on 2009-08-20 18:59:26
  • Finally fixed ticket #3572 (AttributeError: 'NoneType' object has no attribute 'applyStylesheet')
  • Fixed ticket #5692 (Error parsing xhtml data)
[4143] by FilipeCorreia on 2008-08-14 19:27:01
Added egg for version 0.6.2

Credits

This plugin was authored by FilipeCorreia. Additional credits go to Oliver Steele for his html2db stylesheets.