Moveable type can automatically ping other sites that I reference in my posts with their technology called trackback. To do the auto-discovery of the trackback URL it uses RDF embedded in your HTML. Now, the problem with this is that you can’t just throw in anything in HTML and expect it to validate since RDF elements are totally unknown in the (X)HTML DTDs. One trick around this is to include the RDF as comments, but I think this suck since it makes the whole idea of having markup pretty useless.
So, today I set out to write a DTD that can be used to keep my markup valid and still make it possible to include the RDF tags. So far, my experiment looks like this. (view source). This file validates using XML-Spy and I belive it’s valid XML. However, the W3C validator reports it as non-valid but fails to find any errors.
If you find any errors or improvements please contact me.
After doing this I discovered that Phil Ringnalda has done a similar experiment. He also pointed to this document which calls our methods “eschew validation”. When reading this I found that they also proposed a different method, simply using links with a special rel
attribute. This is a wonderful way of doing it! Won’t bloth the (X)HTML and won’t require any changes to the DTDs. Lets hope that support for it will be included in future Moveable type versions.