The author of Tidy, an extension for PHP written by me for PHP 5 which allows PHP developers to take advantage of the power of the Tidy HTML library (which can be found at SourceForge) to parse, diagnose, clean and repair any HTML document, has announced that Tidy will be available in PHP 5 starting with the upcoming Beta 3 release of PHP.
Tidy 2.0 is a major step forward, allowing developers to parse multiple documents at once, have their output automatically validated and repaired through output buffering, and offers a much more robust syntax then previous versions. Although I haven't had time to document tidy 2.0 yet, it's basic functionality has not changed from 1.0. The single biggest difference is the introduction of object resources that allow you to handle multiple documents at once.
Always a good thing to have this included in a distro - especially to run on some of that funky code/HTML we've all come across. Maybe this will help the standards to finally come into play in a big way...




