Posts from the "PHP" category:
Tidying up HTML code with Tidy PHP extension
November 14, 2008 / category: PHP / 2 comments
Tidy is a quite powerful program which main purpose is to fix errors in HTML documents. TidyLib is a library version of Tidy written in C and by reason of easy C linkage, it can be used from within nearly any programming language, including PHP.
We are going to show how Tidy can be used to fix errors in HTML documents, reduce bandwidth usage, output XHTML documents and how it can be composed with existing template rendering mechanism.