Feed on
Posts
Comments

The Standards Trap

Mark Pilgram is back for two days and he’s managed to thrill me and also to get me looking into some standards that have me pretty disenchanted. It all has to do with the "a" element and it’s "name" and "id" attributes. In XHTML 1.1 there is no "name" and the value for the "id" attribute cannot start with a numberic character. Guess where that puts me with my permalinks.

For now I’ve given all my permalink anchors an ID of “entry-$id” where "$id" is the id number used in the "name" attribute now. I’ve also changed all my links to now point to the "id" value instead of the "name" value. That isn’t going to help where I’ve been linked to with just $id and not entry-$id in the past. At some point, though, I’ll probably have to move to XHTML 1+ and at that point all the old links will quit working.

(sigh) Well, it’s not like I’ve ever had anything really important to say anyway, but there has to be other folks out there that are going to find themselves in the same boat and they have been heavily linked to and what they have to say is important. Don’t you just love these standards?

Email This Post Email This Post

Trackback URI | Comments RSS

Leave a Reply