Search code examples
rssmime-types

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


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.


Solution

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