Tag-aware RSS feeds

Brian Del Vecchio wrote a long entry about about splicing a RSS feed by tag and how aggregator developers can create more tag-aware applications. It is possible within the RSS specification, but most feed authors have overlooked how to properly declare tags within their feeds. Flickr does not include categories with its RSS 2.0 feeds and Del.icio.us feeds use Dublin Core subject to provide space-separated tags.

Before the feed aggregators can make your life easier we need to all do a better job as content producers to provide valuable information for our users.

RSS 2.0

Each RSS 2.0 feed has an optional category sub-element with an optional domain attribute to designate a specific categorization taxonomy. You can have as many category elements as you need to with mixed or no domains.

  1. <category domain=”http://del.icio.us/tag”>foo</category>
  2. <category domain=”http://www.flickr.com/photos/tags”>foo</category>
  3. <category domain=”http://www.technorati.com/tag”>foo</category>

Using the category element with the domain attribute set to the best definition of the tag’s context allows for easy recognition of tags within the aggregator. It also allows a user to search their own database or create smart lists for all items with Flickr or Technorati tags, or build into the application a list of known tagging domains for special status.

IETF Atom

The current Atom draft provides similar capabilities through the use of category elements with a scheme URI.

  1. <category scheme=”http://del.icio.us/tag” term=”foo” label=”Del.icio.us tag for foo”/>
  2. <category scheme=”http://www.flickr.com/photos/tags” term=”foo” label=”Flickr tag for foo”/>
  3. <category scheme=”http://www.technorati.com/tag” term=”foo” label=”Technorati tag for foo”/>
  • Posted
  • Updated at
  • Comments [3]

3 comments

Commentary on "Tag-aware RSS feeds":

  1. bruno on wrote:

    Hi there,
    I just wanted to point out Feedmarker (www.feedmarker.com), an RSS/ATOM aggregator I’ve developing that uses open tagging (like delicious or Flickr). It seemed like a pretty good fit for what Brian was talking about in his post.

  2. Madhu on wrote:

    I think tag-aware aggregators are next step in simplifying information interchange. Each area needs to start making changes for it.

    blogging tools – need to have an option (with drop down list of categories).Aggregators – Bloglines and such should start showing categories (and allow sorting on a category across the feeds).Folksonomy – Users should be able to assign categories (stored in del.icio.us kind DB). So that I can see what pupular category is.Ratings – User ratings to supplement categories. Including picks from the editors.

    Videoblogs /photoblogs cannot survive with out these. In fact I see lots of innovation in flickr, vsocial etc which can be expanded to general blogging / feeds.

  3. james on wrote:

    Thanks for the info. Just adding categories and very little clear information exists – so thank you.