Define format extension points #9

Closed
opened 2026-10-16 10:12:24 +00:00 by mmacia · 0 comments
Owner

Objective

Define the extensible format contract and deterministic built-in registry.

Scope

Add the FeedReader.Format behaviour, ordered registry, RSS/Atom/RDF registration points, and a test-only external format supplied through per-call options. Keep handler selection inside format modules rather than hard-coded parser dispatch.

Acceptance Criteria

  • The behaviour exposes detection, handler, parser state, feed normalization, and item normalization callbacks.
  • Built-in order is deterministic.
  • Consumers can provide an explicit format without changing core dispatch.
  • No application configuration or module-load-order discovery is used.
  • Contract tests cover the external format boundary.
## Objective Define the extensible format contract and deterministic built-in registry. ## Scope Add the `FeedReader.Format` behaviour, ordered registry, RSS/Atom/RDF registration points, and a test-only external format supplied through per-call options. Keep handler selection inside format modules rather than hard-coded parser dispatch. ## Acceptance Criteria - The behaviour exposes detection, handler, parser state, feed normalization, and item normalization callbacks. - Built-in order is deterministic. - Consumers can provide an explicit format without changing core dispatch. - No application configuration or module-load-order discovery is used. - Contract tests cover the external format boundary.
mmacia self-assigned this 2026-10-16 10:12:24 +00:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmacia/feed_reader#9