PlaidWeb / Pushl

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

Support mf2 h-entry as a feed source #39

Closed fluffy-critter closed 4 years ago

fluffy-critter commented 4 years ago

Fixes #24

Since there's so much variability in IndieWeb usage of h-feed et al it was easier to simply see if feedparser failed to consume the Atom/RSS feed, and if so, parse it through mf2py, adding all h-entry items with a url property to the entry list.

While I was making mf2 entries' urls relative, I went ahead and resolved relative URLs from RSS/Atom feeds as well, which potentially fixes Pushl for feeds which improperly provide relative rather than absolute <link>s.