Custom RSS in Ghost 6.0

A long time ago, I used this tutorial to create a custom RSS feed: Official Ghost + Custom RSS Integration

Now that #get limit="all" is deprecated, is there a way to retrieve all the posts for the RSS feed?

1 Like

Actually, that part of the tutorial is not ideal, I think. You don’t need and should not put all of your posts to your RSS. Otherwise if you have hundreds of posts, RSS feed requests would be quite heavy. Most common way is serving last 10 to 50 posts (according to how often you publish) in RSS feed. Only valid use case for returning all posts would be Podcast RSS. I think podcast feeds need to send all the episodes, so clients can update the list, if you remove or update a previous episode.

In addition to that, I noticed that this behaviour is configurable in Ghost config: Ghost/ghost/core/core/shared/config/defaults.json at f7c12f83da5172f2a95eea240788f19ca2e9f239 · TryGhost/Ghost · GitHub