A Few Changes To My RSS Feeds

Readers using my RSS 1.0 Feed will have started to have noticed a few changes to it.

Last month when I asked, Is RSS Clogging The Web? I mentioned the use of the RSS 1.0 syndication module. Well I have now incorporated it into the feed.

It's very simple to do, firstly we have to add the namespace into the document.

xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

Then we just add updatePeriod, updateFrequency and updateBase data that defines how often the feed is updated to the channel.

<sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <sy:updateBase>2004-05-19T10:15:00Z</sy:updateBase>

Despite previously saying how I like to keep my site datafeeds small, I am very tempted to incorporate the use of the RSS 1.0 content module as it provides a way of including markup in the feed for compatible readers.

I've also taken the opportunity to correct the MIME types being returned by all the different feeds on my website. Using Apache this was achieved by adding the following to a local .htaccess file while I arrange changing the server's main configuration file.

addtype application/rdf+xml rdf addtype application/rss+xml rss addtype application/atom+xml atom addtype application/xml xml
Entered: 2004-05-19 11:41:18
Modified: 2004-05-22 23:59:12

Rob's Other Blog Entries

See other blog entries for May 2004, or an index of all blog entries.