There are several varieties of HTML-to-wiki converter out there, and mine is but one. It can be used to convert HTML into many different flavors of wiki markup, including MediaWiki, Confluence, PhpWiki, etc.
Usage
There are lots of different ways to use the converter.
Web tool
This little tool probably represents the most common usage:
The interface was updated on 2009-03-07 to be more intuitive. With any luck its usage is self-explanatory, but see Options below in case it's not. The old interface is still available at:
- http://diberri.dyndns.org/wikipedia/html2wiki-old/ (link broken?)
Perl module
The HTML-to-wiki converter can be used programmatically via the Perl computer programming language using HTML::WikiConverter, a module available from CPAN.
Options
- Base URL
- (Optional but recommended.) An absolute URL on which relative URLs (eg, in links and images) should be based. Eg,
"http://en.wikipedia.org"
.
- Wiki URL
- (Optional but recommended.) An absolute or relative URL where wiki pages are found. Eg,
"http://en.wikipedia.org/wiki/"
or simply"/wiki/"
provided that the base URL is set to"http://en.wikipedia.org"
.
Questions
Please direct questions, concerns, and bug reports over to User talk:Diberri/HTML-to-wiki converter.