Enabling RSS feed on Discourse setup


(10 Colors Tenkara) #1

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.

(Jay Pfaffman) #2

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!

(10 Colors Tenkara) #4

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?

(Jay Pfaffman) #5

For example:

support - Discourse Meta

(10 Colors Tenkara) #6

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

(Jay Pfaffman) #7

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

(Jeff Atwood) #8

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" />

(Jeff Atwood) #9

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.

(Alexandra) #10

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 …


(Rafael dos Santos Silva) #11

You will need a plugin like those:

(Alexandra) #12

Will have a look. Thanks!