Configuring Aggregator

Last updated on
20 December 2016

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Aggregator options

  • Administer your list of news feeds: Admin → Configuration → Web Services → Feed aggregator
  • Add a new feed: Admin → Configuration → Web Services → Feed aggregator → Add feed
  • Add a new category: Admin → Configuration → Web Services → Feed aggregator → Add category
  • Configure global settings for the news aggregator: Admin → Configuration → Web Services → Feed aggregator → Settings
  • Control access to the aggregator module: Admin → People → Permissions
  • Set permissions to access new feeds for user roles such as anonymous users: Admin → People → Permissions
  • View the Aggregator page: Admin → Configuration → Web Services → Feed aggregator
  • Update the feed manually: Admin → Configuration → Web Services → Feed aggregator
  • Configure cron to update feeds automatically. Read about configuring cron jobs.

Creating categories in the aggregator

  1. Navigate to the Feed Aggregator page (admin/config/services/aggregator)
  2. Click on the Add Category link.

The module will create a block for each category. To place the block on your page, navigate to the Blocks page and choose a region in which to display the block.

Now every time you add a feed, you can select a category which the items will automatically appear under. Alternatively, you can tag individual items in your aggregator to appear in a category.

Configuring news feeds

To subscribe to an RSS feed on another site, go to Configuration, choose Web Services, then Aggregator (admin/config/services/aggregator).

Drupal will then ask for the following:

  • Title -- The text entered here will be used in your news aggregator, within the administration configuration section, and as title for the news feed block. As a general rule, use the web site name from which the feed originates.
  • URL -- Here you'll enter the fully-qualified URL for the feed for the site you want to subscribe to. Some sites like flickr.com generate a URL containing a "@". Drupal does not accept this and to make it work you have to replace "@" with "%40".
  • Update interval -- The update interval is how often Drupal will automatically access the RSS URL for the site for fresh content. The 1 hour default is typically a good minimum to use. Accessing another site's RSS page more frequently can be considered impolite because it requires the other site's server to handle your automatic requests. To take advantage of this feature, note that cron.php must be configured to have your feeds updated regularly. Otherwise, you'll have to manually update feeds one at a time within the news aggregation administration (administer » aggregator) section.

Once you submit your news feed, check to see if it is working properly. Select update items on the main news aggregation page. If you do not see any items listed for that feed, edit the feed and make sure that the URL was entered correctly.

Tags

Help improve this page

Page status: No known problems

You can: