Difference between revisions of "Convert2MediaWiki"
(Translate installation instructions) |
|||
Line 1: | Line 1: | ||
− | = Overview = | + | == Overview == |
I found on the [http://mouchevii.free.fr/wiki/ La Mouche] wiki an XSLT file and instructions (in french) on how to convert from OpenOffice SXW format to MediaWiki. I changed a bit the XSLT file, but "La Mouche" wiki is not editable any more (closed?). So I would like to post the file here and copy the instructions... | I found on the [http://mouchevii.free.fr/wiki/ La Mouche] wiki an XSLT file and instructions (in french) on how to convert from OpenOffice SXW format to MediaWiki. I changed a bit the XSLT file, but "La Mouche" wiki is not editable any more (closed?). So I would like to post the file here and copy the instructions... | ||
Line 17: | Line 17: | ||
There are still style elements that work for UniWakka, which I will (maybe) develop for MediaWiki with my needs. | There are still style elements that work for UniWakka, which I will (maybe) develop for MediaWiki with my needs. | ||
− | = Installation = | + | == Installation == |
First, download the XSLT: [http://mouchevii.free.fr/fichiers/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz] | First, download the XSLT: [http://mouchevii.free.fr/fichiers/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz] | ||
Line 28: | Line 28: | ||
Go to the '''Transformation''' tab and browse for the downloaded XSLT file to select the '''XSLT for import''' | Go to the '''Transformation''' tab and browse for the downloaded XSLT file to select the '''XSLT for import''' | ||
− | = Usage = | + | == Usage == |
To convert a document, go to '''Export''' in the '''File''' menu, and set the '''File format''' to <tt>MediaWiki (.txt)</tt>, then click '''Save'''. The resulting text file can then be pasted into a MediaWiki article. | To convert a document, go to '''Export''' in the '''File''' menu, and set the '''File format''' to <tt>MediaWiki (.txt)</tt>, then click '''Save'''. The resulting text file can then be pasted into a MediaWiki article. | ||
+ | |||
+ | == Related pages == | ||
+ | *[[Odt2Wiki]] for conversion from OpenOffice.org 2.0 (odt) to MediaWiki. |
Revision as of 14:44, 18 January 2007
Contents
Overview
I found on the La Mouche wiki an XSLT file and instructions (in french) on how to convert from OpenOffice SXW format to MediaWiki. I changed a bit the XSLT file, but "La Mouche" wiki is not editable any more (closed?). So I would like to post the file here and copy the instructions...
Unfortunately I can't find how to post a file! Can someone help me? (When trying to copy the file on the server it says (in French) that .xslt is not a recommanded image file format...)
The original instructions are in French here, and are translated to English as follows:
This XSLT is modified from OpenOffice2UniWakka to convert some of the OpenOffice styles to MediaWiki.
Currently it supports the following styles:
- Heading levels 1 to 8
- Underlined text
- Italic text
- Bold text
- Centered text
There are still style elements that work for UniWakka, which I will (maybe) develop for MediaWiki with my needs.
Installation
First, download the XSLT: OOo2MediaWiki.xslt.gz
The XSLT is then installed into OpenOffice as a file export filter. Launch OpenOffice, go into the Tools menu, select XML Filter Settings then click the New button. Fill out the resulting dialog box as follows:
- Filter name: MediaWiki
- Application: OpenOffice.org Writer (.sxw)
- Name of file type: MediaWiki
- File extension: txt
Go to the Transformation tab and browse for the downloaded XSLT file to select the XSLT for import
Usage
To convert a document, go to Export in the File menu, and set the File format to MediaWiki (.txt), then click Save. The resulting text file can then be pasted into a MediaWiki article.
Related pages
- Odt2Wiki for conversion from OpenOffice.org 2.0 (odt) to MediaWiki.