Open main menu

Extension:OpenDocument Export

MediaWiki extensions manual
OOjs UI icon advanced.svg
OpenDocument Export
Release status: beta
Implementation Data extraction
Description Converts MediaWiki markup to OpenDocument Text format (.odt)
Author(s) PediaPress
License BSD 2-clause "Simplified" License
Download part of mwlib
Translate the OpenDocument Export extension if it is available at translatewiki.net
Check usage and version matrix.

OverviewEdit

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 StatusEdit

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 OutputEdit

See solar.odt for an example.

ImplementationEdit

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

Development & EvaluationEdit

  • 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 alsoEdit

RelatedEdit