Skip to content

Conversation

@jsantell
Copy link
Collaborator

@jsantell jsantell commented Oct 21, 2025

Summary by cubic

Switches the RSS recipe back to handler-based updates and extracts RSS/Atom parsing into a reusable utility with tests. This simplifies the recipe and makes parsing easier to validate.

  • Refactors
    • Moved parseRSSFeed and FeedItem to recipes/rss-utils.ts; added unit tests for DOMParser/XML and parseRSSFeed.
    • Updated recipes/rss.tsx to use handler with Cell; derives from fetchData and appends new items after de-duping by id.
    • Removed inlined parser logic (120+ lines) from the recipe.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@jsantell jsantell merged commit 7b2cdc2 into main Oct 21, 2025
9 checks passed
@jsantell jsantell deleted the update-rss-part-2 branch October 21, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants