Parse RSS and have published timestamps

This commit is contained in:
2021-11-12 17:25:47 +02:00
parent e1b4155a25
commit 4adc75c33c
6 changed files with 193 additions and 48 deletions

View File

@ -13,8 +13,19 @@ import Control.Lens
myFeeds :: [ Category FeedId ]
myFeeds =
[ Category "News"
[ Category "Code"
[Leaf (FeedId (URL "https://github.com/feediron/feediron-recipes/commits/master.atom"))]
, Category "News"
[ Category "Yle"
[ Leaf (FeedId (URL "https://feeds.yle.fi/uutiset/v1/majorHeadlines/YLE_UUTISET.rss"))
, Leaf (FeedId (URL "https://feeds.yle.fi/uutiset/v1/recent.rss?publisherIds=YLE_UUTISET&concepts=18-147345"))
]
]
, Category "Programming"
[ Leaf (FeedId (URL "https://reddit.com/r/haskell.rss"))
, Leaf (FeedId (URL "https://discourse.dhall-lang.org/latest.rss"))
, Leaf (FeedId (URL "https://www.haskellforall.com/feeds/posts/default"))
]
]
myFilters :: Middleware