Breadcrumb

External RSS Feeds

RSS Feeds can be imported and displayed on a Drupal site. These will display similarly to the internal events and articles auto blocks. Multiple feeds can be imported. You can display more than one feed on a page, however, you cannot combine them into one block.

Add a Feed

  1. Navigate to Content -> Feeds
  2. Click "+ Add Feed"
  3. Give the feed a title and add in the feed URL
    External:
    The feed URL must be the page of the xml code and not the URL of the page the feed is displaying on.
    For example, https://news.ucr.edu/rss.xml, is the correct URL for the UCR News feed.
    (Note: If importing the old UCRToday feeds, you will need to use "http" and not "https" as the URL.)
    Internal:
    To add your internal Drupal news feed use the following url [sitename]/news/rss.xml
  4. Click "Save and Import" 
  5. The feed has now been saved and imported and a node has been created. 

The feed imports the latest 20. Feeds that have been added can be viewed and edited under Content -> Feeds.

Create Feed Display

A Feed Display is a custom block. This custom block can only be created once a Feed has been added.

  1. Either go through Structure -> Block Layout -> Custom Block Library - > Add Custom Block or via Panelizer -> Manage Content -> Create Content and select  "Feed Display"
  2. Give your feed display a block description
  3. Feed Info: select the feed to display (the list will show all feeds added), select an amount of items to display, and optionally add a More link if you want people to get to the news site or the full external feed
  4. Introduction: optionally add information above your feed
  5. Click "Save"

Place Feed on a Basic Page

Once an RSS feed has been added, a new Feed Display block can be created and placed on a Basic Page through Panelizer. 

  1. Using Panelizer, navigate to Manage Content -> Custom
  2. Search for the title of the "Feed Display" you want to place, to select the feed block, click on it
  3. Decide whether or not to display the title and choose which region to place the feed
  4. Click Update

Internal Feeds (News, Blog, Press, etc.)

RSS Feeds exist for the Article Content Type within a site. These feeds have a path associated to the Article Type at "/articletype/feed". For ALL articles, "/articles/feed" can be appended to the root URL. 

For example, this site, websites.ucr.edu, uses a blog. The blog feed's path is websites.ucr.edu/blog/feed.

Aggregating Multiple Feeds into One Block 

Every feed added must be displayed in its own block. Multiple feeds cannot be aggregated to display on one block within Drupal. However, there are multiple third party tools that can merge multiple feeds into one feed. This will work with both external and internal feeds. The RSS Aggregator at RSS Mix is suggested. Fill out the form on the RSS Mix site, adding in multiple feeds, and it will present you with a new xml link. This xml will combine all feeds. Add this xml link as a feed to your Drupal site.