feat(feed): add RSS and JSON Feed Cloudflare Worker#78
Open
feat(feed): add RSS and JSON Feed Cloudflare Worker#78
Conversation
Cloudflare Worker that serves article feeds from the query-index: - /rss.xml — RSS 2.0 feed with CDATA titles, enclosures, Atom self-link - /feed.json — JSON Feed 1.1 with tags, images, and author metadata Articles are filtered to /learn/ sub-pages, sorted by date/lastModified. Closes #13 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
@shsteimer is this already deployed to cloudadoption cloudflare account? |
Contributor
|
@amol-anand can we also generate a demo domain in cloudflare? fire.bbird.live or demo.bbird.live or something similar? we can start attaching feeds, rss, analytics etc. |
Contributor
Author
no. I tested it locally, but did not deploy it |
6 tasks
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.
Summary
workers/feed/) serving article feeds from the AEM query-index/rss.xml— RSS 2.0 feed (matches existing live feed structure)/feed.json— JSON Feed 1.1 with tags, images, and author metadata/learn/sub-pages (3+ path segments), sorted by dateSITE_URLandCONTENT_ORIGINconfigurable via wrangler env varsdev:feed,deploy:feed,tail:feed.wranglerto.gitignoreCloses #13
Test plan
npm run dev:feedand verify/rss.xmlreturns valid RSS 2.0/feed.jsonreturns valid JSON Feed 1.1/learn/fire)npm run deploy:feedand verify on production domain🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com