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