MediaWiki extensions manual
OpenDocument Export
Release status: beta
Implementation Data extraction
Description Converts MediaWiki markup to OpenDocument Text format (.odt)
Author(s) PediaPress
MediaWiki
License BSD 2-clause "Simplified" License
Download part of mwlib

Overview

The extension makes 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, but already pretty usable. 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.

Example Output

See solar.odt for an example.

Implementation

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

Development & Evaluation

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

See also

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.