More with bbcode
By Jonathan Street
Nested lists are also possible but hopefully that little sample should give you a feel for the capabilities of the package.
Handling bbcode doesn’t need to end with the filters bundled in with the package, extending it is relatively easy but I hope you now feel comfortable with what HTML_BBCodeParser has to offer.
BBcode is not the only way your users can submit formatted content. If you want to give your users more choice you may have better luck with a different package available via the PEAR site. The Text_Wiki package and its associated packages allow several different forms of mark-up to be used as well as BBcode.
However you decide to allow your users to submit their own formatted content take a look at what is already available. This is an issue which is facing many webmasters and application developers and as such many of the options have already been investigated. Don’t re-invent the wheel unless you have to.
If you're interested in giving Text_Wiki a try you may like to check my Web application blog over the coming weeks as I intend to give it a try and will no doubt be posting about my experiences.
This site best viewed in a W3C standard browser at 800*600 or higher
Site design by Red Squirrel | Contact
© Copyright 2019 Ryan Auclair/IceTeks, All rights reserved