Extension:Collection/OpenDocument Export
(Redirected from Extension:OpenDocument Export)
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. |
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
editThis 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.
Example Output
editSee solar.odt for an example.
Implementation
editA DOM-tree is generated using the mwlib python library which is then translated to ODF using the ODFPY library.
Development & Evaluation
edit- 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" ...