Starting with Firefox 2, Firefox has support for selecting different RSS or Atom feed readers to use when you try to read a feed. This article provides information about how to add support for additional readers not supported by default.
Adding a new web-based feed reader
To add support for a new web-based feed reader, all you need to do is add three new preferences:
- The name of the feed reader.
- For a feed reader, this should be "application/vnd.mozilla.maybe.feed".
- The URI of the feed reader. Use "%s" where the URL of the feed should be inserted.
number should be replaced with the next highest unique number that hasn't already been used. For example, if you want to add a new feed reader called "Easy Reader", and there are already defined content handlers with numbers 0 through 4, you should use a
number of 5, like this:
browser.contentHandlers.types.5.title: Easy Reader
You can add these preferences by hand, by visiting <tt>about:config</tt>, or you can do it programmatically, if an extension wishes to install a new feed reader.
Adding a feed reader from a web application
navigator.registerContentHandler() function, like this:
navigator.registerContentHandler("application/vnd.mozilla.maybe.feed", "http://www.theeasyreaderurl.com?feed=%s", "Easy Reader");
Adding a new feed reader application
The easiest way to do this is to simply use the provided user interface, by using the Feeds panel in the Preferences (or Options, depending on your platform) window.
This can also be done programmatically by an extension, which is done by setting the value of the
browser.feeds.handlers.application option to the pathname of the application to use for reading feeds.