Setting up RSS feeds

Current version: 8.2

In the Content Editor, you can set up RSS feeds for any item but, typically, you would set it up for items that are updated regularly, for example, news items and blogs.

This walkthrough describes how to set up an RSS feed for an item and outlines how to:

Create a folder for the RSS feeds

First you need to create a folder where you can store your RSS feed items.

To create a folder for the feeds:

  1. In the Content Editor, in the content tree, select the Home item of the website.

  2. On the Home tab, in the Insert group, click the drop-down arrow and click Insert from template.

  3. Click the Browse tab and navigate to Templates/Common/Folder.

  4. Give the new folder a name — RSS Feeds.

Create an RSS feed

Now that you have created a folder to store the RSS feeds in, you can create an RSS feed and link it to the item you want to include in the RSS feed.

To create an RSS feed in the Content Editor:

  1. In the Content Editor, select the RSS Feeds folder that you just created.

  2. On the Home tab, in the Insert group, click Insert from Template.

  3. In the Insert from Template dialog box, navigate to Templates/System/Feeds/, and select RSS Feed to create a feed based on this template.

  4. In the Item Name field, enter a name for the new feed.

  5. Click Insert and the new feed item is created and opened in the Content Editor.

    The new feed displays a warning informing you that the feed is empty and that you must select an item to include in the feed.

  6. On the Content tab, in the Data section, for the Items field, click Insert Link.

  7. In the Insert Item dialog box, click the item that you want to include in the RSS feed and then click Insert item.

    Note

    You can only create an RSS feed to an item that has subitems. If you create an RSS feed to an item that does not have any subitems, Sitecore tells you that the feed is empty.

  8. In the Description field, enter a description of the RSS feed.

  9. Save the new feed item.

Configure the RSS feed

Now, you must configure how the feed information is presented in the RSS feed. The feed should not tell subscribers that the item is updated; instead, it should contain information about the information that are created or updated.

To configure how the RSS feed is presented:

  1. In the Content Editor, expand the item that you linked the RSS feed to and click one of its subitems.

  2. On the Presentation tab, in the Feeds group, click Design.

  3. In the RSS Feed Design dialog box, specify how the feed is presented to the user who subscribes to this RSS feed.

    Field

    Value

    Title

    The item field that you want to appear in the title of the feed.

    Body

    The item field that you want to appear in the body of the feed.

    Date

    The date field that you want to appear in the feed. This could be, for example, the date the item was created, updated, or the date from which the news applies.

    Preview

    A preview of the feed based on the selections above.

  4. When you have filled in these fields, click OK.

    On the Presentation tab, in the Feeds group, the Design button now has a green check mark that indicates that an RSS feed has been designed for this item.

    Important

    When you specify a design for an item, all the other items that are based on the same template are presented in the same way in the feed. If some of the subitems are based on a different template, you must also specify how those items should be presented in the feed and make sure to setup RSS feed rendering correctly.

  5. In the Content Editor, save your changes.

When you have configured how the feed should be presented, the RSS feed item should no longer display any warnings.

Do you have some feedback for us?

If you have suggestions for improving this article,