Enabling RSS feed on Discourse setup

I hope this is the right category for this and apologies for the noob question and/or wrong placement. I’ve searched here on meta and on github and cannot for the life of me figure how to enable RSS for my install. This is my first install of discourse and have the most up to date version running. Any help is much appreciated. Thanks.

1 Like

It’s not clear just how you’d know this.

Just add . rss (or .json) to pretty much any url.

Oops! thanks for the edit, @falco!

9 Likes

Thanks. Am I correct in understanding that I should do this in my app.yml file and if so, where? Secondly, can I do it per category and get all new topics in that category? Thirdly, is there a way to do it to get topic replies or only when new topics are created within a category?

For example:

https://meta.discourse.org/c/support.rss

1 Like

Ahhh, I see. Just putting it in the browser. Thanks. Oddly simple without realizing it.

3 Likes

It’s totally obvious! But only after you know. :wink:

6 Likes

If you view source on the page:

<link rel="alternate" type="application/rss+xml" title="Latest posts" href="https://meta.discourse.org/posts.rss" />
<link rel="alternate" type="application/rss+xml" title="Latest topics" href="https://meta.discourse.org/latest.rss" />
<link rel="alternate" type="application/rss+xml" title="RSS feed of topics in the &#39;releases&#39; category" href="https://meta.discourse.org/c/releases.rss" />
7 Likes

Also note that apps which use RSS will take the URL and scan for those standard RSS HTML <link> tags … so saying “you need to know” isn’t true. Just point the RSS tool at the page and it’ll look for you.

2 Likes

This is great guys. How would I go about it if I wanted to display my “latest” Discourse posts on a WordPress page?

Just putting the rss URL in a blog post or page won’t work, I presume …

Thanks!

You will need a plugin like those:

7 Likes

Will have a look. Thanks!

is there a way to increase the number of items/or load all in the rss?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.