Skip to content

Add feedmark component: RSS/Atom/JSON Feed parser#17

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/parse-feed-rss-atom-json
Draft

Add feedmark component: RSS/Atom/JSON Feed parser#17
Copilot wants to merge 2 commits into
mainfrom
copilot/parse-feed-rss-atom-json

Conversation

Copilot AI commented May 1, 2026

Copy link
Copy Markdown
Contributor

New Wasm component that parses RSS, Atom and JSON Feed input (auto-detected) into a normalized feed record, or renders it as a Markdown digest. Pure parsing, no network.

WIT

Two exports on a feed / entry record pair:

export parse: func(input: string) -> result<feed, string>;
export to-markdown: func(input: string) -> result<string, string>;

entry carries title, link, summary, content, published (RFC 3339), author — all normalized across the three source formats.

Implementation

  • components/feedmark/ scaffolded after wordmark/tablemark (cdylib, wit-bindgen 0.36, workspace lints).
  • Parsing delegated to feed-rs 2.3, which wraps the candidate crates suggested in the issue and handles format auto-detection.
  • Markdown digest: H1 feed title, optional description, then per-entry H2 (linked when a URL is present), an italic date — by author line, and the summary (falling back to content).

Integration

  • justfile: added feedmark to build, publish, versions.
  • .github/workflows/publish.yml: added feedmark to the dispatch target choices, the job if: gate, and the description case.
  • README.md: new row in the components table.

Agent-Logs-Url: https://github.com/yoshuawuyts/components/sessions/4ab76061-f41e-40ba-bd78-cc7c1a388186

Co-authored-by: yoshuawuyts <2467194+yoshuawuyts@users.noreply.github.com>
Copilot AI changed the title [WIP] Add feed parser for RSS, Atom, and JSON formats Add feedmark component: RSS/Atom/JSON Feed parser May 1, 2026
Copilot AI requested a review from yoshuawuyts May 1, 2026 00:32
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.

[component] feedmark — Feed (RSS/Atom/JSON) parser

2 participants