my-server
← Wiki

Feed URI scheme

The feed URI scheme was a suggested uniform resource identifier (URI) scheme designed to facilitate subscription to web feeds; specifically, it was intended that a news aggregator be launched whenever a hyperlink to a <code>feed</code> URI was clicked in a web browser. The scheme was intended to flag a document in a syndication format such as Atom or RSS. The document would be typically served over HTTP.

History

In 2006 the <code>feed</code> URI scheme was supported by several popular desktop aggregators, including NetNewsWire, FeedDemon, Safari, and Flock. no effort seems to be underway to officially register the scheme at IANA.

Critics hold that the purpose of the <code>feed</code> URI scheme is better served by MIME types, or that it is not a user-friendly solution for the problem of feed subscription, since a user who has not installed the appropriate software will receive an unhelpful browser error message on clicking a link to a <code>feed</code> URI.

The <code>feed</code> URI scheme was suggested in 2003 in and . These expired drafts were not submitted as Internet drafts; the author later contributed to the work on the Atom standard.

Syntax

The syntax for a <code>feed</code> URI may be expressed in Backus–Naur form as follows:

Specifically, a <code>feed</code> URI may be formed from any absolute URI (such as an absolute URL) by prepending <code>feed</code>, and as a special case, may be formed from any absolute <code>http</code> URI by replacing the initial <code>http://</code> with <code>feed://</code>.

The and constructs in the syntax are specified in RFC 3986 also known as STD 66. Here is in essence the part of the original <code>http</code> URI, and is the following absolute path introduced by a slash ""; it can be empty or absent. Therefore, the following are two examples of valid <code>feed</code> URIs:

<nowiki>feed:https://example.com/entries.atom</nowiki> <nowiki>feed://example.com/entries.atom</nowiki>

References