---
title: Usage example - RSS feed + Data source
related:
  - https://docs.kentico.com/k9/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/k9/developing-websites/loading-and-displaying-data-on-websites/displaying-data-advanced-scenarios/setting-up-syndication-feeds/usage-example-rss-repeater-+-data-source.md
  - https://docs.kentico.com/k9/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/k9/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).

By connecting the **RSS feed** web part to a **data source**, you can create an RSS feed of the data provided by the data source. The **Atom feed** web part can be used exactly the same way, but the rendered feed is in the _Atom_ format. You can use this approach to create feeds from Kentico objects (forum posts, board comments, media files, ...).

The following example demonstrates how to create an RSS feed containing forum posts on the sample Corporate site. You can achieve this using the **RSS feed** and **Forum posts data source** web parts. The same procedure can be used for any other data. You only need to use a properly configured data source and process the provided data using a suitable [transformation](https://docs.kentico.com/k9/developing-websites/loading-and-displaying-data-on-websites/writing-transformations.md).

> **Info:** **Note**
>
> The result of the following example can also be achievable 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 page types and objects (see the list in [Syndication web parts and widgets](https://docs.kentico.com/k9/developing-websites/loading-and-displaying-data-on-websites/displaying-data-advanced-scenarios/setting-up-syndication-feeds/syndication-web-parts-and-widgets.md)).

To create an RSS feed of forum posts:

1. Open the **Pages** applications.
2. Select the **Community -> Forums** page in the content tree.
3. Switch to the **Design** tab.
4. [Add](https://docs.kentico.com/k9/developing-websites/developing-websites-using-the-portal-engine/using-and-configuring-web-parts.md) the **Forum posts data source** web part to the _Content zone_.
5. Leave the web part's properties at the default values and click **OK**.

   - This results in the data source providing all forum posts from all forum groups on the site.
6. Add the **RSS feed** web part to the page.
7. Enter the following properties for the web part:

   - **Link text**: Forum posts RSS feed
   - **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
8. Leave the defaults for the rest of the properties and click **OK**.

You can now see the two web parts at the bottom of the web part zone.

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

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

![](https://docs.kentico.com/docsassets/k9/usage-example-rss-feed-+-data-source/RSS_Forums_Link.png)

Click the icon or link. Your browser detects that you are accessing an RSS feed and display the content. The URL of the feed is actually the URL of the page where the web part is placed with the **?rss=MyForumPostsFeed** query string parameter appended (this can be modified using the _Feed querystring key_ and _Feed name_ web part properties). You can use the same URL to access the feed directly both from a browser or a dedicated RSS reader program.
