Difference between revisions of "Converting Various Markup to MediaWiki"

From OPeNDAP Documentation
(Using Perl on your own computer)
Line 3: Line 3:
 
==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>&lt;div&gt;</code> tags.
 
NB: This coverter does not like <code>&lt;div&gt;</code> tags.

Revision as of 20:29, 7 March 2007

1 Converting HTML

1.1 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.

1.2 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.

2 Converting TWiKi

Untested converter: Twiki2mediawiki.

3 Converting Latex

We're making modifications to Latex2MediaWiki.py so that it will support our particular latex styles.

4 More info...

See the page on WikiPedia about conversions like Word to MediaWiki, CSV to MediaWiki, et c.