Original post: Adding an RSS feed to an Astro blog Series: Part of How this blog was built — documenting every decision that shaped this site. RSS is the oldest and most reliable way to follow a blog. No algorithm, no platform dependency, no notification settings. A reader checks the feed URL, sees new items, shows them. That simplicity is exactly why it's worth supporting. Adding an RSS feed to an Astro site is straightforward with the @astrojs/rss package. There are a few things to get right: draft filtering, absolute URLs, and a self-referencing link that validators expect. Installing the package Astro doesn't ship with RSS support out of the box, but the official integration adds everything needed: pnpm add @astrojs/rss Enter fullscreen mode Exit fullscreen mode The feed endpoint The feed lives at src/pages/rss.xml.js . Astro treats any .js file in src/pages/ as a route, and a named GET export marks it as an endpoint that generates output at build time. A few parts of this are easy to get wrong.…