I was lying in bed this Sunday morning, checking the Net before coming downstairs to make scrambled eggs (with mushrooms and snap peas, yum) for the family, and ran across a bit of random snark from Aaron Swartz. Any Sunday morning is improved by a chance to argue about markup languages and how the Web works.
At this point, if you don’t know what the argument is about, you can stop reading; it’d take a long time to explain, especially what with Mark Pilgrim having taken his toys and gone home.
In response to Aaron, I observe the following:
That page displays just fine on my Nexus S and Galaxy Tab 10.1. Get a better phone.
Seriously, ABC News? Not knowing much about them, I dropped by their front page. Feaugh. Get a better news source.
curl -I http://abcnews.go.com/m/story?id=8129947
abcnews.com said, among other things:
I looked puzzled.
I poked around some more and discovered that Aaron’s problem turned up
Galaxy Nexus. So I found its User-Agent string (which BTW is
horrible) and added that to the
curl incantation. abcnews.com
said, among other things:
I said: “Ha ha ha.”
The text you are now reading is well-formed XHTML, served as
text/html. I sort of see that as a practical application of
You might argue that Postel’s law means that data formats with
strict syntax rules are inherently broken.
Oh wait, check JSONObject and Jackson and so on; while we appreciate Crockford’s
polite nod in Postel’s direction, JSON parsing in the real world is de-facto
Hey, it’s early Sunday morning. Go back to bed with your sweetie; get up in a couple of hours and play outside or watch a football game or something.