My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
HTML2Mediawiki  
How to convert HTML to Mediawiki text
Updated Apr 12, 2011 by axelclk@gmail.com

How to convert HTML to Mediawiki text

A simple html to wiki fragment looks like this:

		HTML2WikiConverter conv = new HTML2WikiConverter();
		conv.setInputHTML("<b>hello<em>world</em></b>");
		String result = conv.toWiki(new ToWikipedia());
		assertEquals(result, "'''hello''world'''''");

Online tool

You can use the HTML to Wikipedia text converter online here:

The latest sources for the HTML to Wikipedia online tool are available here:

Because there are no specific Google Appengine API calls used, it should also work with other containers (i.e. Tomcat, Jetty,... in an intranet environment).

Comment by solomon....@gmail.com, Feb 1, 2010

Axel,

You are brilliant! Great work...

Powered by Google Project Hosting