Activa Software
 The R+D of digital audiovisual communication
Languages

OpenOffice2MediaWiki

Contents

Based on OpenOffice2UniWakka Export Filter: OpenOffice2UniWakka. UniWakka is a PHP wiki engine with a different format. It has another feature to export from the UniWakka format to OpenOffice 1.x.

Description

OpenOffice2MediaWiki is an export filter for OpenOffice 2.0. It will let you use OpenOffice.org Writer to export your document in the MediaWiki text format.

License

OpenOffice2MediaWiki (OD2MediaWiki.xslt) is distributed under the GPL License.

Features

OpenOffice2MediaWiki supports the following formatting:

  • Headings from Level 1 to Level 5
  • Footnotes
  • Centered paragraph
  • Bold,W italics and underline
  • Unordered and Numbered List from Level 1 to Level 6
  • Tables (basic support)
  • Citation (you can insert bibkeys with a special character style - see below for more information).
  • Links
  • Indented paragraphs

Installation in OpenOffice.org 2.0

To install the export filter:

  • Download od2MediaWiki.zip and unzip the file OD2MediaWiki.xslt
  • Start OpenOffice.org 2.0.
  • From Tool choose XML Filter Settings.
  • choose New and in General fill the form with the following data:
    • Filter name: MediaWiki
    • Application: OpenOffice.org Writer (.odt)
    • Name of file type: MediaWiki
    • File extention: txt
  • Choose Transformation and fill the form with the following data:
    • XSLT for Export: put the full path to OD2MediaWiki.xslt

Convert Files

To export choose File -> Export and select MediaWiki(.txt) as file format.

Now you can paste the content of the file in the edit form of MediaWiki.

Known Issues

  • The conversion time increases exponentially with the size of the document (because of the use of ancestor, child, silbing,...):
Size Time Speed
4 pages 5sec 48pages/min
10 pages 20sec 30pages/min
20 pages 1min 20pages/min
39 pages 4min 10pages/min
78 pages 18min 4,3pages/min


so maybe it's better to split big files before conversion.

Feedback

You can send me any comment: oestape at activasoft dot com

Alternative

There is a faster alternative by Bernhard Haumacher (haui). It takes 15 seconds to transform 40 pages. It's simpler, the result is near the same but works worst with bold and italics and maybe works different with lists, tables, images:

http://wiki.services.openoffice.org/wiki/Odt2Wiki

You can even test it online:

http://www.ipd.uni-karlsruhe.de/~hauma/odt2txt/