# Display a Discourse RSS feed in Discord

**URL:** https://meta.discourse.org/t/display-a-discourse-rss-feed-in-discord/47984
**Category:** Integrations
**Tags:** how-to
**Created:** [7월 29, 2016, 8:37오후 UTC](https://meta.discourse.org/t/display-a-discourse-rss-feed-in-discord/47984 "2016-07-29T20:37:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [7월 29, 2016, 8:37오후 UTC](https://meta.discourse.org/t/display-a-discourse-rss-feed-in-discord/47984/1 "2016-07-29T20:37:17Z")

</div>

This is a guide that explains how to display RSS feeds from your Discourse forum to your Discord server.

You need a Discord Bot. You can use a hosted bot with an RSS cog and add it to your server or install a self-hosted bot and configure it.

For this guide, we’ll use [Red-DiscordBot](https://github.com/Cog-Creators/Red-DiscordBot) because it is **self-hosted**. You can install it on your server. It’s very easy to maintain, highly customizable, and actively maintained.

### Setting up the bot

1. Follow [this tutorial](https://docs.discord.red/en/stable/) to install and configure Red.

2. Create a new [bot account](https://discordpy.readthedocs.io/en/stable/discord.html) on Discord and add the bot to your Discord server.

### Adding the RSS feeds (custom cog)

When the bot is online on your server, you need to add a new custom cog (RSS) from the [approved repositories](https://index.discord.red/)

In your Discord channel type the follow commands (replace `!` with your bot prefix):

Allow install of third-party cogs:

```plaintext
 !load downloader

```

Add aikaterna-cogs:

```plaintext
 !repo add aikaterna https://github.com/aikaterna/aikaterna-cogs

```

Follow the instruction by typing `I agree`.

Install the RSS cog:

```plaintext
 !cog install aikaterna-cogs rss

```

Load the RSS cog:

```plaintext
 !load rss

```

You now have an RSS cog to configure. Choose the channel you want to use to display your RSS feed.

The RSS feed will be added to the channel you’re currently in. You can add multiple RSS feeds in one channel.

⚠ Your RSS feeds names must be lowercase.

In the chosen channel, type:

```plaintext
 !rss add discourse https://meta.discourse.org/latest.rss

```

where “discourse” is the name you assign to this RSS feed.

ℹ Each RSS feed must have a different name.

If you use more than one word in your feed name, you have to use double quotes:

```plaintext
 !rss add "discourse announcements" https://meta.discourse.org/c/announcements/67.rss

```

You can preview the RSS feed by typing:

```plaintext
 !rss force discourse

```

or, if your feed name contains spaces:

```plaintext
 !rss force "discourse announcements"

```

By default, there is no formatting:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/3/b/83b02061d8449b0e42307aa85c429b1083a8a363.png)

We can add a template to show additional information (e.g. the author) in the order of our choice:

```plaintext
 !rss template discourse $author:\n$title\n$link

```

ℹ `\n` creates a line break. You can also use [Discord Markdown syntax](https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline-) in your template.

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/a/a/caa5b1c3c932ec18b92f9f1d80db3995316d4d98.png)

(optional) We can show the feed in an embed block. We’ll do that by typing:

```plaintext
 !rss embed toggle discourse

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/1/2/012f1a073470869813f7068673e9f87d9c055724.png)

Note that links won’t show a preview if the RSS feed is embedded.

As a last touch, we’ll add the feed name in the template, so we know where the feed comes from. It’s handy when we have multiple feeds in one channel, especially when they come from the same domain.

```plaintext
 !rss template discourse **Discourse** \n$author:\n$title\n$link

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/6/6/4662c3ee95e59bbc3f51c1fd9b3b9a28f2d93db2.png)

For the discourse announcement feed:

```plaintext
 !rss template "discourse support" **Discourse Announcements** \n$author:\n$title\n$link

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/a/5/ea53c8837529c51ddd57dec161699fa6fe5bbc84.png)

To display help about the rss commands, type:

```plaintext
 !rss help

```

### Discourse RSS feeds

> [@Finding Discourse RSS feeds](https://meta.discourse.org/t/finding-discourse-rss-feeds/264134/1):
>
> ## Users
> 
> ### Topics
> 
> `https://meta.discourse.org/users/[username]/activity/topics.rss`  
> or  
> `https://meta.discourse.org/u/[username]/activity/topics.rss`
> 
> ### Posts
> 
> `https://meta.discourse.org/users/[username]/activity.rss`  
> or  
> `https://meta.discourse.org/u/[username]/activity.rss`
> 
> ## Posts
> 
> `https://meta.discourse.org/posts.rss`
> 
> ## Groups
> 
> ### Posts
> 
> `https://meta.discourse.org/groups/[group_name]/posts.rss`  
> or  
> `https://meta.discourse.org/g/[group_name]/posts.rss`
> 
> ### Mentions
> 
> `https://meta.discourse.org/groups/[group_name]/mentions.rss`  
> or  
> `https://meta.discourse.org/g/[group_name]/mentions.rss`
> 
> ## Badges
> 
> `https://meta.discourse.org/badges/[id]/[badge_name].rss`
> 
> ## Categories
> 
> `https://meta.discourse.org/c/[category_slug]/[id].rss`
> 
> ## Top topics (by period)
> 
> ### All
> 
> `https://meta.discourse.org/top.rss?period=all`
> 
> ### Yearly
> 
> `https://meta.discourse.org/top.rss?period=yearly`
> 
> ### Quarterly
> 
> `https://meta.discourse.org/top.rss?period=quarterly`
> 
> ### Monthly
> 
> `https://meta.discourse.org/top.rss?period=monthly`
> 
> ### Weekly
> 
> `https://meta.discourse.org/top.rss?period=weekly`
> 
> ### Daily
> 
> `https://meta.discourse.org/top.rss?period=daily`
> 
> ## Top topics (period depends on the user making the request)
> 
> `https://meta.discourse.org/top.rss`
> 
> ## Hot topics
> 
> `https://meta.discourse.org/hot.rss`
> 
> ## Categories
> 
> ## Topics
> 
> `https://meta.discourse.org/latest.rss`
> 
> ## Topic
> 
> `https://meta.discourse.org/t/[topic_slug]/[id].rss`
> 
> ## Tag
> 
> `https://meta.discourse.org/tag/[tag_name].rss`

> Last edited by @JammyDodger 2024-05-26T07:05:59Z
> 
> > **Check document**
> >
> > Perform check on document:

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [5월 7, 2023, 10:34오전 UTC](https://meta.discourse.org/t/display-a-discourse-rss-feed-in-discord/47984/11 "2023-05-07T10:34:31Z")

</div>

> [@dax](#):
>
> `http://your.site.net/posts.rss`  
> 최신 게시물

이 RSS 피드가 최근 릴리스에서 사라진 것 같습니다.

> [@dax](#):
>
> [http://your.site.net/tags/tag-name.rss](http://your.site.net/tags/tag-name.rss)

태그 피드의 URL은 `/tag/tag-name.rss`(단수형 `tag`)로 변경된 것 같습니다.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [5월 12, 2023, 9:18오전 UTC](https://meta.discourse.org/t/display-a-discourse-rss-feed-in-discord/47984/15 "2023-05-12T09:18:29Z")

</div>

가이드가 업데이트되었습니다. 문제가 있으면 신고해 주시거나, 위키이므로 자유롭게 주제를 수정해 주세요. 🙂

업데이트된 RSS 피드 목록은 여기 있습니다: [Finding Discourse RSS feeds](https://meta.discourse.org/t/discourse-rss-feeds/264134?u=canapin)
