From the Belly of the Beasts Archives

The posts in this category originally appeared on From the Belly of the Beasts between May 2005 and June 2006, my contribution to a group blog run by O’Reilly’s now-defunct Online Production Group.

How to sniff a feed

I thought the Feed Validator’s ‘foo’ media type is not specific enough warning page was particularly useful/interesting.

RSS feeds should be served as application/rss+xml. Atom feeds should use application/atom+xml. If this is not possible, make sure that one of the following set of markers is present in the first 512 bytes of your feed

  • <rss
  • <feed
  • <rdf:RDF AND AND

This post first appeared on From the Belly of the Beasts, a weblog from some of the people who build O’Reilly websites.