RSS For Headless CMS


#1

I’m using Ghost as a headless CMS for my personal blog. I’m missing the rss feed url. Sure I could use the default url but that section is private and rss do not work when your blog is in private mode. No problem there. Does the api supports returning xml as yet? If not, do I need to:

  1. Make an ajax request to get all posts
  2. Pass the object to the generate-feed.js

Obviously I’d need to copy the generate-feed.js onto my frontend then create my own /rss? That’s do-able but I thought I’d just ask if there’s a better way for people who went with the headless cms route.


#2

I think I’ve found an easier solution using Next.js. Should be easily enough to implement with node :wink:


#3

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