freeCodeCamp/news

Ensure RSS feeds work just as the current Ghost version

Closed this issue · 3 comments

Currently to view RSS feeds on the landing, author, and tag pages, you need to go to .../rss.xml directly, rather than .../rss like on Ghost.

We'll need a way to serve rss.xml files when readers visit .../rss, either on the NGINX level, or with Serve.

The rewrite for the main RSS is working, but the ones for the author and tag pages don't.

I suspect this is because Serve is using /news as a base path, and doesn't expect longer possible paths for this rewrite.

I have landed the linked PR & deployed it to staging. @scissorsneedfoodtoo can you confirm this works as intended and can be closed?

Thanks for taking care of this too, @raisedadead.

Just checked on the staging Italian News site and the rewrites for the RSS feeds work as expected:

Took a quick look at the other languages and the rewrites for those RSS feeds appear to work as well.