Tidy Remote HTML (using a web service)
// rather than my web service, but this is nice and easy. :)
1 2 function tidied($url) { 3 /* Cleans up a page via Tidy, returning the cleaned up html as a string 4 * By Logan Koester <logan@logankoester.com> 2007-06-28 5 * Props to http://infohound.net/tidy */ 6 return file_get_contents("http://logankoester.com/tools/tidy.php?q=$url"); 7 }