What is the correct MIME type to use for an RSS feed?

Steve Claridge picture Steve Claridge · Feb 27, 2009 · Viewed 53.1k times · Source

Is one MIME type preferable to ensure compatibility with RSS readers and other scrapers?

The options seem to be:

  • text/xml
  • text/rss+xml

Interestingly Stackoverflow is using text/html.

Answer

vartec picture vartec · Feb 27, 2009

Neither. It's application/rss+xml http://www.rssboard.org/rss-mime-type-application.txt