Tidying up your HTML with PHP 5: The next version of PHP includes an extension for HTML Tidy, so you can have every HTML document perfectly formatted on its way out the door by applying HTML Tidy to the output buffer.
When the Tidy extension is installed, it can be automatically applied to every PHP document output by setting the tidy.clean_output php.ini directive to true. Tidy can also be specified as the output handler when output buffering is enabled, by passing the “ob_tidyhandler” string anywhere the ob_start() function…
Anal retentive developers rejoice!
I've been playing around with the W3C HTML validator, and I've found, sadly, that there's no easy way to get this page to validate. There were some problems that I fixed, but when I try to validate against 4.01 Transitional, I get about 50 errors related to the use…
Tidying up your HTML with PHP: This appears to be a PowerPoint converted to HTML, so the presentation is a little horrid, but the content is amazing. We've talked about HTML Tidy integration with PHP5 before, but this details here are fantastic. Yes, you know Tidy can make your HTML…