yesod-newsfeed-1.7.0.0: Helper functions and data types for producing News feeds.

Safe HaskellNone
LanguageHaskell98

Yesod.Feed

Synopsis

Documentation

newsFeedText :: MonadHandler m => Feed Text -> m TypedContent Source #

Same as newsFeed but for 'Feed Text'. Useful for cases where you are generating a feed of external links.

data Feed url Source #

The overall feed

Constructors

Feed 

Fields

data FeedEntry url Source #

Each feed entry

Constructors

FeedEntry 

Fields

data EntryEnclosure url Source #

RSS and Atom allow for linked content to be enclosed in a feed entry. This represents the enclosed content.

Atom feeds ignore enclosedSize and enclosedMimeType.

Since: 1.6

Constructors

EntryEnclosure 

Fields

data EntryCategory Source #

RSS 2.0 and Atom allow category in a feed entry.

RSS feeds ignore categoryLabel

Since: 1.7

Constructors

EntryCategory 

Fields