[PR #8479] [MERGED] feat(blog): add RSS feed endpoint and generator #8002

Closed
opened 2026-03-13 13:56:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8479
Author: @0-Sandy
Created: 3/7/2026
Status: Merged
Merged: 3/7/2026
Merged by: @Bekacru

Base: canaryHead: add-rss


📝 Commits (3)

  • e58c00a feat(blog): add RSS feed endpoint and generator
  • 268d1a0 fix(blog): fix RSS link path
  • 7cbc696 style: format code

📊 Changes

6 files changed (+85 additions, -17 deletions)

View changed files

landing/app/blog/rss.xml/route.ts (+11 -0)
📝 landing/components/blog/blog-left-panel.tsx (+1 -1)
landing/lib/rss.ts (+45 -0)
📝 landing/lib/utils.ts (+8 -0)
📝 landing/package.json (+1 -0)
📝 pnpm-lock.yaml (+19 -16)

📄 Description

Adds back the RSS feed for the blog, which seems to have been removed during the transition from the docs site to the landing site


Summary by cubic

Restores the blog RSS feed at /blog/rss.xml so readers can subscribe and get updates. Generates a complete feed with correct URLs and metadata, and disables caching.

  • New Features

    • GET route at /blog/rss.xml serving application/rss+xml (revalidate = false).
    • RSS generator using feed; sorts by date, maps blogs/ to blog/, and adds author, image, and lastModified.
    • baseUrl util to resolve local and Vercel production URLs.
  • Bug Fixes

    • Fixes blog sidebar RSS link to point to /blog/rss.xml.

Written for commit 7cbc696ef4. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8479 **Author:** [@0-Sandy](https://github.com/0-Sandy) **Created:** 3/7/2026 **Status:** ✅ Merged **Merged:** 3/7/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `add-rss` --- ### 📝 Commits (3) - [`e58c00a`](https://github.com/better-auth/better-auth/commit/e58c00ab9240e79a63c70133d59356936e36d2fa) feat(blog): add RSS feed endpoint and generator - [`268d1a0`](https://github.com/better-auth/better-auth/commit/268d1a026c3a64216632cfe3906fb98927423360) fix(blog): fix RSS link path - [`7cbc696`](https://github.com/better-auth/better-auth/commit/7cbc696ef4e325da05f4fb05bb8676bebd624f30) style: format code ### 📊 Changes **6 files changed** (+85 additions, -17 deletions) <details> <summary>View changed files</summary> ➕ `landing/app/blog/rss.xml/route.ts` (+11 -0) 📝 `landing/components/blog/blog-left-panel.tsx` (+1 -1) ➕ `landing/lib/rss.ts` (+45 -0) 📝 `landing/lib/utils.ts` (+8 -0) 📝 `landing/package.json` (+1 -0) 📝 `pnpm-lock.yaml` (+19 -16) </details> ### 📄 Description Adds back the RSS feed for the blog, which seems to have been removed during the transition from the docs site to the landing site <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Restores the blog RSS feed at /blog/rss.xml so readers can subscribe and get updates. Generates a complete feed with correct URLs and metadata, and disables caching. - **New Features** - GET route at /blog/rss.xml serving application/rss+xml (revalidate = false). - RSS generator using feed; sorts by date, maps blogs/ to blog/, and adds author, image, and lastModified. - baseUrl util to resolve local and Vercel production URLs. - **Bug Fixes** - Fixes blog sidebar RSS link to point to /blog/rss.xml. <sup>Written for commit 7cbc696ef4e325da05f4fb05bb8676bebd624f30. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:56:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8002