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 pretty. But did you know that Tidy can take your legacy HTML — FONT tags and all — and convert it to CSS on the fly? Or XHTML? Did you know it has a first-rate HTML parser with a dirt-simple PHP API?
Great stuff here. Can’t wait for PHP5. Via the always great PHP|Architect.