- From: Josh King <skierx@gmail.com>
- Date: Tue, 6 Jul 2004 12:39:40 -0400
- To: public-evangelist@w3.org
I personally use HTML Tidy with PHP. You can see the PHP Manual page for it at http://www.php.net/manual/en/ref.tidy.php . It is a simple 4 lines of code to invoke. There are wrappers for Perl, Python, and Java (probably some others as well). It is the brain child of the W3C's own Dave Raggett ( http://www.w3.org/People/Raggett/tidy/ ). Best of all I found it is fast and easy to use. The only thing I don't like is it doesn't have a mechanism to restrict tags (e.g. disallowing <table> or <form> from the output). This is easy enough to take care of with an XSLT though. Josh King
Received on Tuesday, 6 July 2004 12:39:42 UTC