Wiki parsing best practices

I’ve seen few things about changing the “parser” that RT uses to display
the correspondance. I now know how to perform little hacks in the
ShowMessageStanza callback.

Instead of rewriting a full parser for myself, I figured I could use an
existing. Since we’re using Wiki extensively, I figured an existing wiki
parser would be interesting…

I’ve found a few Perl wiki parser, mainly for existing wikis, but also
standalone:

http://search.cpan.org/~cdent/PurpleWiki-0.94/PurpleWiki/Parser/WikiText.pm
http://search.cpan.org/dist/Text-WikiFormat/
http://search.cpan.org/~dom/Wiki-Toolkit-Formatter-UseMod-0.20/

This is not a complete list.

What I’m looking for here is advice on how to handle such a problem. Has
anyone here modified RT other than with the simple callback documented
in “ClickableLinks” in the wiki?

I’ve tried PurpleWiki, but it seems to depend on the PurpleWiki install
and doesn’t talk well with RT. I’ve also tried the Wiki::Toolkit
package, but CPAN tests failed so I couldn’t actually test it.

Text::WikiFormat is not exactly the format I’m looking for…

Any suggestions?

Thanks,

Modern man has a kind of poverty of the spirit which stands
in great contrast to his remarkable scientific and technological
achievements. We’ve learned to walk in outer space and yet we
haven’t learned to walk to earth as brothers and sisters.
- Dr. Martin Luther King, Jr.

signature.asc (189 Bytes)

The Anarcat wrote:

Instead of rewriting a full parser for myself, I figured I could use an
existing. Since we’re using Wiki extensively, I figured an existing wiki
parser would be interesting…

Any suggestions?

I like MKDoc::Text::Structured. It uses a pretty natural markup, so
folks don’t need to know they’re writing in a wiki language.

Once you get something in place send me a copy of your changes… I’d
like to try it.
Jason