Safe Haskell | None |
---|---|
Language | Haskell98 |
Helpers to manipulate feeds
- data FeedRef
- data Feed
- = Rss (RssDocument '[ContentModule, DublinCoreModule])
- | Atom AtomFeed
- data FeedElement
- getFeedTitle :: Feed -> Text
- getElements :: Feed -> [FeedElement]
- getDate :: FeedElement -> Maybe UTCTime
- getTitle :: FeedElement -> Text
- getContent :: FeedElement -> Text
- getHashes :: FeedElement -> [Int]
- prettyElement :: FeedElement -> Doc
Types
Feed reference: either its URI, or its UID from database
data FeedElement Source #
Generic getters
getFeedTitle :: Feed -> Text Source #
getElements :: Feed -> [FeedElement] Source #
getTitle :: FeedElement -> Text Source #
getContent :: FeedElement -> Text Source #
getHashes :: FeedElement -> [Int] Source #
Misc
prettyElement :: FeedElement -> Doc Source #