Repository navigation
feat(website): publish an Atom feed for the blog - #344
Asish Kumar (officialasishkumar) wants to merge 1 commit into
Conversation
Add @rspress/plugin-rss so every page under /blog/ is listed in a feed generated at build time and served from /rss/blog.xml. The plugin also injects a <link rel="alternate"> into the pages so feed readers can auto-discover it. Post dates were only rendered by the <Authors> component, so add them as `date` frontmatter to the two existing posts; the plugin uses that field for entry ordering and timestamps. Closes swc-project#232
|
Asish Kumar (@officialasishkumar) is attempting to deploy a commit to the SWC Project Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c2b77d7ed1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
| }, | ||
| "devDependencies": { | ||
| "@rspress/plugin-client-redirects": "2.0.16", | ||
| "@rspress/plugin-rss": "2.0.16", |
There was a problem hiding this comment.
Add the RSS plugin to the workspace lockfile
The root workspace lockfile is unchanged, and its apps/website importer still omits @rspress/plugin-rss. A root install with pnpm install --frozen-lockfile will therefore reject the manifest/lock mismatch before building; pnpm install --help says this option will “fail if an update is needed.” Please regenerate pnpm-lock.yaml with the new dependency; the documented Vercel --ignore-workspace install is a separate path.
Useful? React with 👍 / 👎.
|
It's not our blog anymore |
Adds a feed for the blog, as requested in #232.
@rspress/plugin-rss(pinned to 2.0.16 to match@rspress/core)./blog/is included; the feed is generated at build time at/rss/blog.xml, and the plugin adds a<link rel="alternate">to pages for feed-reader auto-discovery.datefrontmatter to the two existing posts (previously the date only lived in the<Authors>component), which the plugin uses for entry timestamps and ordering.Verified with
pnpm build:doc_build/rss/blog.xmlcontains both posts with correct dates and absolute links.Closes #232