Browser.contentHandlers.types.*.type

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Background

Firefox 2.0 introduces in-browser feed handling. In the feed preview interface, users can choose to subscribe to the feed using an application or web site. This preference, along with browser.contentHandlers.types.*.title and browser.contentHandlers.types.*.uri, determines which web sites are listed in the “Subscription Options” dialog.

This is an enumerated preference: all preferences whose names start with browser.contentHandlers.types. are read to generate the list of web sites. The * in the preference name is a non-negative integer, and matches the number in the two other preferences needed to describe a feed-handling web site. (For example: browser.contentHandlers.types.0.title, browser.contentHandlers.types.0.type, and browser.contentHandlers.types.0.uri describe one website to be listed in the dialog.) It also determines the order in which the web sites appear in the dialog.

Preferences of this form were briefly named browser.contentHandlers.types.type* before this name was decided.

Possible values and their effects

A string containing the MIME type handled by the web site described by browser.contentHandlers.types.*.title with the URI contained in browser.contentHandlers.types.*.uri. Currently, only application/vnd.mozilla.maybe.feed is supported.

By default, the following preferences and values exist:

browser.contentHandlers.types.0.type
application/vnd.mozilla.maybe.feed
browser.contentHandlers.types.1.type
application/vnd.mozilla.maybe.feed
browser.contentHandlers.types.2.type
application/vnd.mozilla.maybe.feed

First checked in

2006-05-02 by Ben Goodger

Has an effect in

  • Mozilla Firefox (branch builds after 2006-05-04; 2.0)

Related bugs

Related preferences

External links