RSS feed discovery tags not discoverable?

We got a report that the RSS feeds on our Discourse instance were not discoverable, ie. an RSS reader fails to add them simply by entering our main Discourse website URL. I took a look at the page source and the link tags are there:

<link rel="alternate" type="application/rss+xml" title="Latest posts" href="https://diskutuj.digital/posts.rss"/>
<link rel="alternate" type="application/rss+xml" title="Latest topics" href="https://diskutuj.digital/latest.rss"/>

But they are not visible from curl:

% curl -sL https://diskutuj.digital | grep "rss"
%

This could explain why the feed was not picked up by the reader. Does my curl test make sense? Is it possible that the link tags are somehow not present in the HTML returned by the server?

I don’t know and that’s why I’m totally off topic, I reckon, but I use Newsify on iPad and AFAIK it wants exact url to RSS-feed. I can’t even remember when I saw RSS-reader that could discover feeds out of main url.

I know. That really doesn’t prove anything.

I use Reeder and I’m sure it can discover feeds from main site URL.

But this works:

% curl -sL https://meta.discourse.org | grep "rss+xml"
    <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" />

So how can be our (fully up-to-date) site different from Discourse Meta?

And it works for my forum. And only difference based on curls is your aren’t using sub-domain. How that could be important I don’t know.

1 Like