A while ago I wrote a series of two articles for the
iceteks site looking at the client-side and server-side aspects of handling BBCode formatted text submitted by users. The parsing and rendering capability of the code in the server-side article was, looking back at it today, fairly poor. To address this I have written a third article looking at using the
HTML_BBCodeParser package available through PEAR. There are several parsers available now and my main reason for looking at the HTML_BBCodeParser package was that it was the first parser I discovered after writing the initial series of two articles.
During the article I mention the
Text_Wiki package and the add-on package,
Text_Wiki_BBCode. My thinking was that if you wanted to offer your users a choice of different formats then Text_Wiki may be a better choice than HTML_BBCodeParser. Although some good tutorials can be found discussing HTML_BBCodeParser I can find very few looking at Text_Wiki and none looking at Text_Wiki_BBCode.
Over the next few days I intend to take a closer look at Text_Wiki and Text_Wiki_BBCode and see just what they are capable of achieving.