|
HTML2Mediawiki
How to convert HTML to Mediawiki text
How to convert HTML to Mediawiki textA 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 toolYou 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). | |
Axel,
You are brilliant! Great work...