git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 7582b8416f6ac380e0add4a8a3be5460f85e3b5d

Files: 7582b8416f6ac380e0add4a8a3be5460f85e3b5d / content / weblog007.md

1078 bytesRaw

title: > Namespaces are fairly fun date: 2004-02-19 18:30 modified: 2004-04-27 17:40 status: published tags: Moo­quack­woof­tweet­meow 4, Moo­quack­woof­tweet­meow 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