Better than killing a pig
6:38pm, 5th May 2007
Ask Oxford reckons the ditty about killing pigs and being happy is a 17th century English proverb, rather than a Chinese one:
If you would be happy for a week take a wife; if you would be happy for a month kill a pig; but if you would be happy all your life plant a garden.
Sounds decidedly Chinese to me, and I’ve googled up many websites which say so. None of them cite any particular source, so who knows? It’s still good advice.
To that end, I did some housekeeping on this site and rediscovered many, many hateful things about CSS, XHTML and Wordpress.
Here are some of them:
- Wordpress automatically inserts paragraph tags around anything that looks like a paragraph, and doesn’t check the result for XHTML-well-formedness.
- Wordpress is hard-coded to create XHTML, but serves all pages with Content-Type
text/html, meaning browsers interpret them as tag soup. This is no improvement over HTML 4, but it’s just as well, since it’s very, very, very hard to make Wordpress generate 100% valid XHTML. - The markup which YouTube gives you to embed their videos is not valid in any markup language.
My conclusions are that:
- it’s not possible to produce valid web pages with Wordpress unless you forego certain standard web features, or are an expert web developer
- this does not matter, because tag soup is the state-of-the-art in web rendering.
I thus abandon the pursuit of valid XHTML, and await the hegemony of HTML 5.
Also, the site is no longer powered by Fair Trade bandwidth; all packets are now hand-encoded by Burmese slave-children. It’s less reliable, as the weaker tykes occasionally get their fingers mangled in the frame relays, but it’s a helluva lot cheaper.
