Files
RSSuper/tasks/native-business-logic-migration/11-implement-linux-feed-parser.md
Michael Freno d346b527e6
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
migration start
2026-03-29 14:12:17 -04:00

1.1 KiB

11. Implement Linux RSS/Atom feed parser

meta: id: native-business-logic-migration-11 feature: native-business-logic-migration priority: P0 depends_on: [native-business-logic-migration-08] tags: [implementation, linux, parsing]

objective:

  • Implement RSS 2.0 and Atom 1.0 feed parser for Linux

deliverables:

  • feed-parser.vala
  • rss-parser.vala
  • atom-parser.vala
  • feed-type.vala (enum)
  • parse-result.vala
  • XML parsing utilities

tests:

  • Unit: Test RSS 2.0 parsing with sample feeds
  • Unit: Test Atom 1.0 parsing with sample feeds
  • Unit: Test iTunes namespace handling
  • Unit: Test error cases (malformed XML)
  • Integration: Test with real-world feeds

acceptance_criteria:

  • RSS 2.0 feeds parse correctly
  • Atom 1.0 feeds parse correctly
  • iTunes namespace handled
  • Enclosures extracted properly
  • Error handling for malformed feeds
  • Performance: <100ms for typical feed

validation:

  • Run meson test -C build
  • Test with known problematic feeds

notes:

  • Use libxml2 through Vala bindings
  • Handle namespaces properly
  • Support both inline and separate content