Use Plain Wiki Parser

If you just want have a parser, which translates Wiki to HTML.

Wiki2HTML

See this code example wiki2html how to use the GWiki just to translate Wiki to HTML.

String html = WikiParserUtils.wiki2html(wikiText);

 

HTML2Wiki

To parse HTML back to Wiki you can following method:

String wiki = WikiParserUtils.html2wiki(html);

 

Limitations

Because Macros are written and configured in GWiki, this java calls doesn't support Macros.
 


Last modified 2016-04-08 12:16 by rkommer. ViewCount: 209
By Roger Rene Kommer r.kommer@micromata.de and Micromata