« Open Season | Main | The X-Philes »
Matthew Mullenweg writes that aside from his Photolog, his site passes all three tests in the infamous XHTML 100 survey. It does indeed. I now count one, two, now three sites that pass. Four, if you count the W3C's own XHTML pages. Goodness, the results are getting less horrific by the minute! So, Matt -- like Jacques Distler and Beandizzy before you, I salute your diligence. Matt also jokingly suggests that I start up a webring of invalid sites. To that I respond: a webring that constitutes nearly the entire World Wide Web has to be overkill at the very least.
In the meantime, Phil Ringnalda has posted a nice summary of recent XHTML-related events. Phil's comments on XHTML MIME-types is basically the following: he knows quite well that text/html has been given the W3C's official stamp of glaring disapproval (a "SHOULD NOT"). However, he still chooses to serve up text/html to all browsers for a couple of reasons, which I will summarize and hopefully not mangle:
Therefore, it makes no sense for him to use application/xhtml+xml, because that MIME-type provides no benefit given what he's actually choosing to do with his XHTML.1
The first part is interesting -- I hadn't considered this possibility. Clearly the oft-touted concept that "XHTML will allow us to use off-the-shelf XML parsers on the web" is an idea straight out of Wolkenkuckucksheim. But Phil is restricting his parsing to a known subset of valid XHTML -- his own site. Hard to argue with that.
As for the second part, the someone else is the key bit. It's hard enough to keep your own XHTML pages valid, but when you have to clean up after other people too... ugh. I don't have a great answer on this, although Jacques Distler might -- he's been struggling with this issue for weeks now. He's finally compiled a big piece of the solution all in one place. If you're an XHTML blogger, you need to read this article.
But Jacques is the type who is willing to hack into the MTValidate plugin to make sure that it validates properly. Not I. All I can do is reiterate what I've been mumbling for a while now: XHTML is hard. XHTML was designed to produce code that is stricter and more machine-friendly than its humbler predecessor, HTML. The machines don't care if the error came from you or from some random person who sent you a Trackback. Either way, the parser will choke.
I'm still "thinking out loud" on this whole XHTML issue, but one thing is becoming clear. Reformulating your site as XHTML requires a major rethinking of everything you are doing. Proceed with caution. Ask yourself why. Phil Ringnalda has a reason: self-scraping. Jacques Distler has a reason: embedding MathML. Put your shades away for a minute: what's your rationale?
1. I'd argue that Phil is therefore using the correct MIME-type. A) He does have a reason for marking his site up as valid XHTML, but B) he doesn't really care whether you perceive his site to have any "XML-ness".
Posted by Evan Goer on May. 06, 2003 at 1:14 AM | Comments (14)
The basics:
http://www.yahoo.com automatically become links.This entry was posted on May 6, 2003 by Evan Goer.
For more entries, you can visit the main journal page or browse through the complete archives, which date back to 2001.
Text released under Creative Commons.
To use this license, you must attribute this work properly. This license does not extend to comments unless the original poster of that comment states otherwise.
Powered by Movable Type 3.33.
Home | About | Journal | HTML Tutorial
© Copyright 2001-2007, Evan Goer. Some Rights Reserved. Last Updated October 30, 2008.
Posted by Jacques Distler on May. 06, 2003 at 7:24 AM
Posted by Evan on May. 06, 2003 at 8:32 AM
Posted by Jacques Distler on May. 06, 2003 at 9:05 AM
Posted by Phil Ringnalda on May. 06, 2003 at 8:37 PM
Posted by Jacques Distler on May. 06, 2003 at 11:09 PM
Posted by Evan on May. 06, 2003 at 11:22 PM
Posted by Jacques Distler on May. 07, 2003 at 6:51 AM
Posted by Evan on May. 09, 2003 at 12:10 AM
Posted by Phil Ringnalda on May. 09, 2003 at 7:27 PM
Posted by Evan on May. 10, 2003 at 11:23 AM
Posted by Jacques Distler on May. 11, 2003 at 11:43 AM
Posted by Phil Ringnalda on May. 11, 2003 at 5:21 PM
Posted by Jacques Distler on May. 11, 2003 at 8:32 PM
Posted by zip codes on Sep. 06, 2003 at 12:42 AM