---
title: Usage example - RSS repeater + Data source
related:
  - https://docs.kentico.com/k8/developing-websites/loading-and-displaying-data-on-websites/displaying-data-advanced-scenarios/setting-up-syndication-feeds/usage-example-cms-rss-feed.md
  - https://docs.kentico.com/k8/developing-websites/loading-and-displaying-data-on-websites/displaying-data-advanced-scenarios/setting-up-syndication-feeds/usage-example-rss-feed-+-data-source.md
  - https://docs.kentico.com/k8/developing-websites/loading-and-displaying-data-on-websites/displaying-data-advanced-scenarios/setting-up-syndication-feeds/usage-example-external-rss-feed.md
  - https://docs.kentico.com/k8/developing-websites/loading-and-displaying-data-on-websites.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

The **RSS repeater** [web part](https://docs.kentico.com/k8/developing-websites/developing-websites-using-the-portal-engine/using-and-configuring-web-parts.md) allows you to transform pages into RSS feeds. When a page containing the web part is accessed, the response type is changed to _application/xml_ and the page renders the content of the feed. This is useful if you want your feed to have a dedicated URL, without the need for a querystring parameter. The **Atom repeater** and **XML repeater** web parts can be used exactly the same way, but the rendered feed is in the _Atom_ or _XML_ format.

The following example demonstrates how to create an RSS feed containing the data of forum posts on the sample Corporate site. The example uses a dedicated feed page containing the **RSS repeater** web part.

> **Info:** **Note**
>
> The result of the following example can also be achieved using a single web part - the **Forum posts RSS feed** web part, which has a built-in _Forum posts data source_. Similarly, there are all-in-one web parts for other frequently used document types and objects (see the list in [Syndication web parts and widgets](https://docs.kentico.com/k8/developing-websites/loading-and-displaying-data-on-websites/displaying-data-advanced-scenarios/setting-up-syndication-feeds/syndication-web-parts-and-widgets.md)).

Create a page containing the **Forum posts data source** web part:

1. Open the **Pages** application.
2. Select the **Community -> Forums** page in the content tree.
3. Click **New** () and choose the **Page (menu item)** document type.
4. Type _RSS_ as the **Page name** and choose the **Create a blank page** option.
5. Click **Save**.
6. Open the **Design** tab.
7. [Add](https://docs.kentico.com/k8/developing-websites/developing-websites-using-the-portal-engine/using-and-configuring-web-parts.md) the **Forum posts data source** web part.
8. Leave all properties at the default values, which causes the data source to load all forum posts from all forum groups on the site.
9. Click **OK**.

Add the second web part:

1. On the **Design** tab, add the **RSS repeater** web part onto the page.
2. Set the following properties:

   - **Feed name**: MyForumPostsFeed
   - **Feed title**: Corporate Site Forum Posts
   - **Feed description**: This is a sample feed of all forum posts on the Corporate Site.
   - **Data source name**: ForumPostsDataSource
   - **Transformation name**: CMS.RSSTransformations.ForumPosts
3. Leave defaults for the rest of the properties and click **OK**.

![Forum posts data source and RSS repeater web parts on the Design tab](https://docs.kentico.com/docsassets/k8/usage-example-rss-repeater-+-data-source/RSS_Forum_Posts_WebParts.png "Forum posts data source and RSS repeater web parts on the Design tab")

The RSS feed is now ready. To allow visitors to access the feed, create a link using the **Feed link** web part:

1. In the **Pages** application, select the **Community -> Forums**page.
2. Switch to the **Design** tab.
3. Add the **Feed link** web part.
4. Set the following properties:

   - **Link text**: Forum posts RSS feed
   - **Feed URL**: \~/Community/Forums/RSS.aspx
   - **Feed title**: My Forum Posts Feed
5. Leave defaults for the rest of the properties and click **OK**.

The Feed link web part displays the RSS icon with a link leading to the specified URL.

If you view the **Community -> Forums** page on the live site, you can see the RSS icon and link.

![RSS feed link on the live site](https://docs.kentico.com/docsassets/k8/usage-example-rss-repeater-+-data-source/RSS_Forums_Link.png "RSS feed link on the live site")

If you click the link, your browser detects that you are accessing an RSS feed and displays the content. The URL of the feed matches the URL of the page containing the **RSS repeater** web part. You can use the same URL to access the feed from both browsers and dedicated RSS reader programs.
