Validation fixed (kinda)
MovableType, Website September 3rd, 2002 |One of the stumbling blocks I discovered today about enabling Trackback is that it breaks the W3C Validator — even though I make sure to use valid XHTML 1.0 in my pages, the validator chokes on the RDF code needed for Trackback to work correctly.
Luckily enough, this evening I stumbled across a discussion of this very problem on philringnalda.com. Brad was kind enough to post a (theoretically) simple PHP trick to hide the RDF code from the validator — unfortunately, for some reason it’s just not working for me. Harrumph. Guess I’ll just go with hiding the RDF data inside HTML comment tags for the moment — it’s a little kludgy, but it should work until something better comes along.
End result — the validator likes me again.
[See also: Yet another trick in place | More TrackBack mumbo-jumbo | MovableType tweaks, continued | MT upgrades | Yet More Tweaks ]
3 Responses to “Validation fixed (kinda)”
Leave a Reply






September 5th, 2002 at 3:51 pm
hey -
what happened to the Unamerican sticker link on the right?
also, i want the pig, cow, chicken, and monkey smilies to show up there. ~:> bockbockbock.
September 5th, 2002 at 9:12 pm
The Unamerican random image is back on the main page now. The only reason it disappeared was because I wasn’t sure how to enable it after the switch to PHP — but your question prompted me to figure it out. Hooray for Google!
The :@), 3:-O, ~:->, and 8(|) will get added when I get the gumption up to code in an ‘Even more smileys’ section…not too terribly long before that happens, I hope.
Of course, knowing me, that could put the target date for that somewhere between next Tuesday and sometime in 2017, but hey….
September 23rd, 2002 at 4:20 pm
More TrackBack mumbo-jumbo
Phil makes a good case for not including TrackBack metadata in the HTML for the main site page. This works well for me, as I’d previously struggled with it causing problems with the HTML validation for my site. So, TrackBack data is now only present in…