Sitecore Experience Platform

Setting up RSS feeds

Abstract

This walkthrough describes how to set up RSS feeds.

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:

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.

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

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.

    C872AB79B354481B86ED63AC3FE5B89F.png
  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.

    2795C35DBC944F3BA78B53189684EC0F.png

    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.

    440C15B0FF454D2BBCB6340710F4479E.png

    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.

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 items 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.

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

    771FAFF95CCE4526AFB0F97221C6E103.png

    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 08AAA18466064CB5AC32FAE953775446.png 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 set up 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.