For reasons beyond the scope of even my comprehension, I just tweaked my little “serve capable UAs the right MIME type” PHP script to include the W3C and WDG validators. While I was at it, I figured I should use the
xml-stylesheet PI everybody’s been harping on about, too.
Yes, it’s purely a geek vanity thing, like front and rear spoilers on a Hyundai Excel. Yes, only those who enjoy reading the validators’ verbose output would find this even mildly interesting. Yes, I appreciate that all this code–monkey rigmarole technically constitutes browser–sniffing. Yes, I know that I’m a hypocrite. And yes, if you can find a spoon, feel free to eat my ass.