Converting Various Markup to MediaWiki: Difference between revisions
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Converting HTML= | |||
==Using Perl on your own computer== | ==Using Perl on your own computer== | ||
Grab the HTML-WikiConverter, build it and follow the directions. You will need to supply the HTML file names on the command line and capture the output (the program writes to standard output) and then open a MediaWiki page for editing and paste the MediaWiki markup. Fairly painless unless you're working with a complex, multipage document. | Grab the [http://search.cpan.org/dist/HTML-WikiConverter/ HTML-WikiConverter], build it and follow the directions. You will need to supply the HTML file names on the command line and capture the output (the program writes to standard output) and then open a MediaWiki page for editing and paste the MediaWiki markup. Fairly painless unless you're working with a complex, multipage document. | ||
NB: This coverter does not like <code><div></code> tags. | NB: This coverter does not like <code><div></code> tags. | ||
Line 14: | Line 16: | ||
** This uses plain HTTP: http://labs.seapine.com/htmltowiki.cgi | ** This uses plain HTTP: http://labs.seapine.com/htmltowiki.cgi | ||
** This uses HTTPS: https://wiki.uww.edu/converter.php | ** This uses HTTPS: https://wiki.uww.edu/converter.php | ||
=Converting TWiKi= | |||
Use [http://wiki.ittoolbox.com/index.php/Code:Twiki2mediawiki Twiki2mediawiki] to convert TWiKi pages to MediaWiki markup. Once converted, use copy and paste to move the new markup into the pages after opening the page's edit window. | |||
=Converting Latex= | |||
We're making modifications to Latex2MediaWiki.py so that it will support our particular latex styles. This script can be found in our subversion archive at http://scm.opendap.org:8090/trac/browser/trunk/Doc/Latex2wiki.py. | |||
=More info...= | |||
See the [http://en.wikipedia.org/wiki/Wikipedia:Tools/Editing_tools#Wikisyntax_conversion_utilities page on WikiPedia] about conversions like Word to MediaWiki, CSV to MediaWiki, et c. |
Latest revision as of 23:23, 20 March 2007
Converting HTML
Using Perl on your own computer
Grab the HTML-WikiConverter, build it and follow the directions. You will need to supply the HTML file names on the command line and capture the output (the program writes to standard output) and then open a MediaWiki page for editing and paste the MediaWiki markup. Fairly painless unless you're working with a complex, multipage document.
NB: This coverter does not like <div>
tags.
Using online tools
These are web pages (CGIs) which run the HTML-WikiConverter software, so any limitations of the above software apply to this as well. However, they save you the trouble of getting the code and building it.
- This is the best converter, since it lets you paste a URL or the HTML: http://diberri.dyndns.org/wikipedia/html2wiki/index.html
- These require you to paste the HTML:
- This uses plain HTTP: http://labs.seapine.com/htmltowiki.cgi
- This uses HTTPS: https://wiki.uww.edu/converter.php
Converting TWiKi
Use Twiki2mediawiki to convert TWiKi pages to MediaWiki markup. Once converted, use copy and paste to move the new markup into the pages after opening the page's edit window.
Converting Latex
We're making modifications to Latex2MediaWiki.py so that it will support our particular latex styles. This script can be found in our subversion archive at http://scm.opendap.org:8090/trac/browser/trunk/Doc/Latex2wiki.py.
More info...
See the page on WikiPedia about conversions like Word to MediaWiki, CSV to MediaWiki, et c.