O'Reilly logo

PHP 5 Power Programming by Derick Rethans, Stig Sæther Bakken, Andi Gutmans

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A.12. HTML

A.12.1. HTML_BBCodeParser

Repository: PEAR - License: PHP License - By Stijn de Reede (lead)

This is a parser to replace UBB style tags with their html equivalents.

A.12.1.1. Description

This is a parser to replace UBB style tags with their html equivalents. It does not simply do some regex calls, but is complete stack based parse engine. This ensures that all tags are properly nested, if not, extra tags are added to maintain the nesting. This parser should only produce xhtml 1.0 compliant code. All tags are validated and so are all their attributes. It should be easy to extend this parser with your own tags.

A.12.2. HTML_Common

Repository: PEAR - License: PHP License - By Adam Daniel (lead) - Bertrand Mansion (lead)

PEAR::HTML_Common ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required