Thread
Started by: pieterh pieterh
Date: 05 Nov 2006 10:28
Number of posts: 5
rss icon RSS: New posts
Summary:
Any plans for a standalone wiki->html convertor?
Batch wiki-html convertor
pieterh pieterh 05 Nov 2006 10:28

One of my friends writes, "the wiki language is really nice, i'd like to use the converter as a standalone parser similar to txt2html on the unix shell command line."

by pieterh pieterh , 05 Nov 2006 10:28
Re: Batch wiki-html convertor
gwpl gwpl 27 Dec 2006 23:52

I am planning to make such kind of tool.
Are there any volunteers ?
Couse such tool need to heve support for a couple of wiki syntaxes.

by gwpl gwpl , 27 Dec 2006 23:52
Re: Batch wiki-html convertor
Milhaus Milhaus 02 Jan 2007 17:54

I think, you might be interested in this: http://sourceforge.net/projects/wiki2xhtml/. It is written in Java, currently in beta stage. GUI is planned.


Others are others and me is me.

by Milhaus Milhaus , 02 Jan 2007 17:54
Re: Batch wiki-html convertor
gwpl gwpl 04 Jan 2007 20:45

I'm worring about compatiility with large variety of different wiki syntaxes,

but It sounds good.

Thnaks.

by gwpl gwpl , 04 Jan 2007 20:45
Re: Batch wiki-html convertor

Basically you would have to implement (or incorporate) engines for different wikis… Or create an universal engine with different rulesets for different wikis…

I think it might be quite complicated if you want to go beyond simple formatting rules. Things like bold, italic are easy to implement, but other have quite complicated patterns/regular expressions (at least for the engines I know).

If you want I can give you access to Wikidot's parser (based on PEAR::Text_Wiki) — I think Text_Wiki is a very good base for writing a universal parser… But it is written in PHP. So command-line would be quite limited (not everyone has a PHP installed). Python would be better IMHO.

michal


Michał Frąckowiak @ Wikidot Inc.
Visit my blog at michalf.me

by michal-frackowiak michal-frackowiak , 04 Jan 2007 20:56
/forum/t-1221/batch-wiki-html-convertor#post-