Rowan
Rowan

Reputation: 5727

Comprehensive and well maintained wiki syntax Parser for PHP

I'm looking for a comprehensive and well maintained wiki syntax Parser for PHP, does anybody know of one? I can find some really good parsers for markdown and bbcode but am having trouble with finding a decent wiki parser.

I prefer markdown myself, but I'm writing post functions for a CMS and I'd like to give end-users a choice.

I thought about downloading a copy of MediaWiki and seeing how they do it, thoughts on this as an option?


edit:

I've already looked over the PHP parsers at http://www.mediawiki.org/wiki/Alternative_parsers and none really do everything I want. see comment on @middus answer.

Upvotes: 1

Views: 2233

Answers (2)

SK-logic
SK-logic

Reputation: 9714

The one in DokuWiki is relatively re-usable, at least it looks so.

Upvotes: 0

middus
middus

Reputation: 9121

See the links over here, there are quite a lot of alternate parsers for MediaWiki's wiki syntax.

http://toolserver.org/~magnus/wiki2xml/w2x.php looks promising to me.

Upvotes: 3

Related Questions