Archive for September 23, 2002

Monday, September 23, 2002

Valid at Last

I finished configuring the Movably Type templates. It turns out that the unescaped ampersands only appeared in the calls to the JavaScript that pops up the comments window—I wanted to get rid of that anyway. Now everything should validate as HTML 4 Transitional. BBEdit doesn’t like <link rel="alternate" type="application/rss+xml" title="RSS" href="">, but there’s nothing I can do about that. I have to admit that the way you configure Movable Type’s archive filenames is cool. I set the individual posts to be archived in folders by year, month, and day. The filename is based on the title of the post. (Unfortunately, it looks like I’d have to modify Movable Type itself to make it translate spaces into hyphens instead of underscores.) The month archive pages are simply the index files in the numbered month folders. I was able to get Movable Type to generate the appropriate entries in the outline navbar, except that it wants to link to the current page instead of putting it in italics.

HTML Generators

Why can’t Web scripts like Movable Type and converters like Tex4ht generate HTML that validates? I’ve cleaned up the Movable Type template, for the main index page at least. It looks pretty good without CSS now. But the HTML generated by Movable Type itself is still bad: it generates unescaped ampersands in URLs and lots of other junk. Are there any HTML-generating tools that actually generate valid HTML? Short-term solution: remove the footer link that validates the current page.


Last night my sister brought me a copy of the Tess Bethune Switch ad from Entertainment Weekly:

“I used to think it was my fault that Windows didn’t work properly.”

Most people aren’t stupid. They’re just made to feel that way.