Jump to content

User:Diberri/HTML-to-wiki converter

From Wikipedia, the free encyclopedia

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

[edit]

There are lots of different ways to use the converter.

Web tool

[edit]

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:

Perl module

[edit]

The HTML-to-wiki converter can be used programmatically via the Perl computer programming language using HTML::WikiConverter, a module available from CPAN.

Options

[edit]
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

[edit]

Please direct questions, concerns, and bug reports over to User talk:Diberri/HTML-to-wiki converter.