Project homepage
This is the project homepage of the StringParser_BBCode
class. With the help of this class it is possible to parse so-called BB-Codes. Often this undertaking is solved by the use of regular expressions. But regular expressions do not provide the means that are necessary to ensure correct nesting.
The class was tested with PHP 4.1.2, 4.3.8, 4.3.9, 5.0.2 und PHP 5.1.2 successfully. Other PHP versions including 4.0.6 (but not 4.0.5 or lower) should also work but I did not yet have the possibility to verify that.
This project is also listed at freshmeat where you can subscribe this project and get informed if new versions appear.
Download
The current version of the class is 0.3.3. It can be downloaded in the download area.
Documentation
An english documentation of this class is available, as is a PHPDOC dokumentation.
If there are questions, suggestions or cirticism regarding this class I will answer them via electronic mail.
Developement
If someone wants to help me with the further developement of this class he may contact me.
Thanks
I thank everybody who had helped me to improve the class but special thanks go to:
- Jeena Paradies (info@jeenaparadies.de) who designed the layout for this website and documentation.
- Götz Bürkle (goetz@buerkle.org), who found al lot of bugs due to his intensive beta testing and created the favicon for this page.
Alternative projects
There are several other projects that also have the goal to parse BBCodes:
- HTML_BBCodeParser - a PEAR class that parses BBCodes. However, it needs a PEAR installation.
- quickerUbb - a class primarily optimized for speed.
- AdvancedBBCode
Further Links
- (German) JavaScript: Formulare: Text an Cursorposition einfügen - an article at the SELFHTML wiki that explains how BBCodes may be inserted into a text area with the help of JavaScript..