Commit Graph
1 Commits
Author SHA1 Message Date
agessaman 1f82ab0e96 refactor(feeds): share the identical feed parsing between FeedManager and the viewer preview
The bot's poller and the web viewer's preview each carried the same API timestamp parser, API item field extraction, RSS published-date parse, and the allow_private_urls / max_response_bytes / max_parsed_items config reads. modules/feed_parse.py now holds those; the default size limits move there and feed_manager re-exports them.

Where the two sides differ they still do: the bot skips non-dict and id-less API items while the preview turns string items into dicts, and the preview unwraps items/data/results from a bare dict response. Those divergences are a separate decision.
2026-10-01 06:00:29 -07:00