PlaidWeb / Pushl

Push notification adapter for feeds
MIT License
30 stars 0 forks source link

Fix breakage due to feedparser changes #46

Closed fluffy-critter closed 3 years ago

fluffy-critter commented 3 years ago

At some point, feedparser changed in such a way that the parsed result retains a file resource; this causes the object to be unpicklable, and as a result, the caching mechanism in Pushl completely broke (with an error which was rather weird to diagnose).

Since the feed object was only retaining the feedparser structure to make some lazy-loading operations more convenient, it seemed better to just rewrite Feed to compute all of its properties up-front. As a side-effect, mf2 feeds are now handled more thoroughly.