claude/add-rss-writing-feed-vxWmt - #47
Merged
Merged
Conversation
Exposes an RSS 2.0 feed at /rss.xml covering published posts from the writing collection alongside the external articles/talks listed on the writing page. Adds an autodiscovery <link> in BaseLayout so feed readers can find it from any page. https://claude.ai/code/session_01Nur5a6DiXtHbeo4NpRXE2X
The RSS feed now only advertises internal posts under /writing/, excluding the external articles/talks. Also adds a discoverable RSS button on the top right of the breadcrumb header on the writing page. https://claude.ai/code/session_01Nur5a6DiXtHbeo4NpRXE2X
Astro 6 removed the legacy content config format. Moves the collection definitions to src/content.config.ts with glob() loaders, switches entry.slug to entry.id, and replaces entry.render() with render(entry) imported from astro:content. Default glob generateId keeps existing URLs stable (e.g. writing/vibe-coding/index.md -> id "vibe-coding"). https://claude.ai/code/session_01Nur5a6DiXtHbeo4NpRXE2X
Renders each post's markdown body via markdown-it and emits it in the content:encoded field so readers like Feedbin and NetNewsWire can show the article inline. Output is run through sanitize-html, which strips images (their source paths aren't served at stable URLs) and rewrites relative anchor hrefs to absolute URLs against the post's permalink. https://claude.ai/code/session_01Nur5a6DiXtHbeo4NpRXE2X
The Material Symbols font download delayed the icon appearing. An inline SVG renders instantly with no network request and still inherits color for hover states. https://claude.ai/code/session_01Nur5a6DiXtHbeo4NpRXE2X
Astro 6 requires Node >=22.12.0. The workflow was pinned to Node 20, which caused the build step to fail on this PR. https://claude.ai/code/session_01Nur5a6DiXtHbeo4NpRXE2X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exposes an RSS 2.0 feed at /rss.xml covering published posts from the
writing collection alongside the external articles/talks listed on the
writing page. Adds an autodiscovery in BaseLayout so feed readers
can find it from any page.
https://claude.ai/code/session_01Nur5a6DiXtHbeo4NpRXE2X