5 ms·
are there any guides on how to do RSS correctly? I just dump all of our blog content in there (250 posts) and it's a lot of content haha. I don't know how you'
by yawnxyz 3y ago
are there any guides on how to do RSS correctly?
I just dump all of our blog content in there (250 posts) and it's a lot of content haha. I don't know how you're supposed to set it up and there are so few guides on it
- kevincox 3y agoI wrote one a while ago and have been maintaining it since: https://kevincox.ca/2022/05/06/rss-feed-best-practices/ https://kevincox.ca/2022/05/06/rss-feed-best-practices/ It was fairly popular on HN when it first went live: https://news.ycombinator.com/item?id=31293488 https://news.ycombinator.com/item?id=31293488 It has a section on discovery: https://kevincox.ca/2022/05/06/rss-feed-best-practices/#discovery https://kevincox.ca/2022/05/06/rss-feed-best-practices/#disc...
- drkstr 3y agoI thought this might be an interesting read but was super put off to be greeted with a long screed moralizing over my choice of browser. I have 3 different browsers installed that use for various situations and reasons. Getting shamed by an internet stranger is not one of them.
- disposition2 3y agoThanks for sharing
- phyzome 3y agoOther reply has good advice. But beyond that I'd advise 1) specifically using the Atom format, which is more likely to display correctly, and 2) just include the latest 10 posts.
- ericjmorey 3y agoWhy only 10? Why limit it at all?
- equinoxnemesis 3y agoIt's a good idea to limit it somewhere so you don't end up sending 10 MB every time it's fetched. The feed will be re-fetched to check for updates so the cost isn't paid just once.
- charcircuit 3y agoIt is paid only once since that 10 MiB gets cached by the reader. In future fetches the reader asks for entries newer than the date it last checked which means that the items already requested won't be sent again.
- phyzome 3y agoMy understanding was that most feed endpoints just sent the whole thing back each time, or nothing (304 Not Modified, when conditional headers are included). This allows server and CDN caching of the response.
- mdp2021 3y agoRSS works in the framework of users periodically checking for new content (maybe daily, maybe weekly...): you have to decide a window that has the users receive a reasonable number of new and old posts.