Identifying Feeds

The process of configuring your site to act as an aggregator of syndicated content starts with finding the URLs of feeds to which you wish to subscribe. Fortunately, for many sites on the Web, this is as easy as locating the RSS link or icon, right-clicking it, and choosing Copy Link Location. For other sites, including most blogs hosted by Blogger (, the feed URL is embedded in the page source header, and no link or icon is provided. Modern browsers such as Firefox recognize this and will indicate that a feed is available for subscription, but if you want to extract the feed from the page, you will usually need to look at the page source and locate the feed link in the header. It will look something like the following:

<link rel="alternate" type="application/rss+xml" title="RSS" href="" />

<link rel="EditURI" type="application/rsd+xml" title="RSD" href="" />

The type parameter "application/rss+xml" or "application/rsd+xml" is the indication that this is a syndication feed. The part you're interested in for instructing Drupal to subscribe to the feed is the value for the href parameter:

■ Note The proper MIME type for Atom feeds is application/atom+xml. See 2004/10/20/draft-ietf-atompub-format-03.html#rfc.section.2 for more information about the Atom format.

0 0

Post a comment