4 ms·
Should, but sadly I have lost count how many feeds in my reader became dysfunctional because they were rewritten to be using nextjs (or the likes).
by fabianholzer 2y ago
Should, but sadly I have lost count how many feeds in my reader became dysfunctional because they were rewritten to be using nextjs (or the likes).
- afiori 2y agoWhat is a good guide on how to implement basic RSS functionality?
- oopsallmagic 2y ago[dead]
- fabianholzer 2y agoIf you start from scratch, factor it in when deciding on a cms, platform or site generator. I think RSS/atom owes a lot to WordPress, which has it enabled by default since ages. When you want to add it retro-actively, the specifications are relatively straight forward and don't have many mandatory properties. RSS is a tad simple than Atom, but I'd probably rather go for Atom if I were to start over. https://www.rssboard.org/rss-specification https://www.rssboard.org/rss-specification https://validator.w3.org/feed/docs/atom.html https://validator.w3.org/feed/docs/atom.html In any case: add a link rel=feed to the header of every page to enable discovery (https://www.rssboard.org/rss-autodiscovery https://www.rssboard.org/rss-autodiscovery - but works regardless of the format)
- WorldMaker 2y agoAlso, JSON Feed [0] is still better than nothing, many of the major RSS readers quietly support it, and does have the small advantage that JSON is much easier to work with in more platforms than XML today. [0] https://www.jsonfeed.org/ https://www.jsonfeed.org/
- Vrondi 2y agoMost CMS/blog apps have it built in. You might need to look up how to enable it (Drupal) or you might already have it enabled, even if you don't realize it (Wordpress). Check the documentation for your blogging/site content framework of choice. If you're super old school and do an actual manual HTML site, just create the RSS file and add entries to it, then link to it. This is well documented and not in any way complex. It's just a text file, after all.
- account42 2y ago> If you're super old school and do an actual manual HTML site, just create the RSS file and add entries to it, then link to it. Make use to add an <link rel="alternate" type="application/rss+xml" href="feed.rss"> element and not just a normal hyperlink so that users can just paste your blog URL into their feed reader to subscribe without having to search for the feed link. Ideally this should be present in the page for both the index as well as every article.
- eXpl0it3r 2y agoUnless it's a corporate-ish site, I've found that asking the authors to add an RSS feed can work quite well.
- andrewaylett 2y agoThere's nothing stopping a website that's written using NextJS from having an RSS feed. Like mine: https://github.com/andrewaylett/aylett.co.uk/blob/main/src/app/articles/rss/route.ts https://github.com/andrewaylett/aylett.co.uk/blob/main/src/a... for example.