Files: 21232f9e2ccf62f70d2199a3f47cd9a813685e08 / content / weblog007.md
title: > Namespaces are fairly fun date: 2004-02-19 18:30 modified: 2004-04-27 17:40 status: published tags: Mooquackwooftweetmeow 4, Mooquackwooftweetmeow 4 Weblog, XML, Atom, XML Namespaces, XHTML, validation, the Web
<p>
The Feed Validator (<a href="http://feedvalidator.org">http://feedvalidator.org</a>) gave me a thumbs-down :( Entries' IDs have to be valid URLs, you see, and I'd been using them as arbitrary labels. I'd also been leeching off these arbitrary labels in order to create anchors in the XHTML representation of the feed; those using a web browser can check they work by clicking this item's title; those using a news aggregator can visit the alternate link; in both cases, the item's title should be at the very top of the browser window.
</p>
<p>
I managed to circumvent Atom's rigidity using XML's flexibility - I invented a new arbitrary label for each item - <q>label</q>, under my own namespace; I now have everything working as before, plus a valid feed. Glory!
</p>
<p>
I think I'll go and play a bit of pool now...
</p>
Built with git-ssb-web