Posted by doitDave on December 11, 2011 at 11:57am
About
This module integrates the PEAR BBCodeParser project into Drupal. Other than the existing bbcode module, which can be used as is, you will need the PHP PEAR extension and the parser installed on your server. Also your PHP include path must contain your PEAR directory (which is usually added during PEAR installation).
However, there are some differences I consider as advantages (this is why I started this different approach):
- While bbcode module bases on simple regexes, the PEAR approach is better in dealing with nested structures, which is really helpful with e.g. quotes.
- The PEAR project may be easily extended with custom filter classes which you may place in the filters directory (you need to understand the corresponding PEAR project documentation). It is planned that this module will recognize them and you can simply enable or disable them on a per-input format base.
- That said, you may also easily clone and alter existing filter classes, while bbcode module lacks an override API and changes need to be done directly in the module code.
This module does not provide any graphical extensions such as toolbars for convenient editing. It simply parses BBcode as good as possible.
Requirements
- PHP >= 4.3
- PHP PEAR framework must be available on your server.
- PEAR BBCodeParser must be installed. If your server already runs PEAR, you simply need to type
pear install HTML_BBCodeParserat the CLI to get it.
Related modules
- You may want to check out PEAR module for an easy way to maintain your PEAR installation.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Filters/Editors
- Reported installs: 1 site currently reports using this module. View usage statistics.
- Downloads: 141
- Last modified: December 11, 2011