Extension:Collection/OpenDocument Export

Overview
The planned extension shall make it possible to export single pages or Collections in OpenDocument Text format (.odt).

See this press release Wikis Go Printable for background information on this project.

The desired output format of the article collections can be chosen on a special MediaWiki page which provides download links for the various formats.

Current Status
This is work in progress. Initial code is available as part of the mwlib python MediaWiki library. (see odwriter.py). Feel free to contribute.

There is a google group for support and discussion of mwlib and derived applications.

See this page for installation instructions.

Help needed!
While the basic export works, documents still look poorly layouted. People with some expertise in odf-styles are very welcome to contribute.

Implementation
A DOM-tree is generated using the mwlib python library which is then translated to ODF using the ODFPY library.

Development & Evaluation
mw-render -c :en -o out.odt -w odf "Some Article" "Another Article" ...
 * Checkout mwlib
 * install using python setup.py develop
 * To generate .odt files from the english Wikipedia use:

If you consider to contribute, please also have a look at test_odfwriter.py in the tests directory

Related

 * Extension:PDF_Writer
 * Extension:XML_Bridge
 * Extension:Collection