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

Yesod.AtomFeed

Description

Generation of Atom newsfeeds.

Synopsis

Documentation

atomFeed :: Monad mo => Feed (Route master) -> GGHandler sub master mo RepAtomSource

atomLinkSource

Arguments

:: Route m 
-> String

title

-> GWidget s m () 

Generates a link tag in the head of a widget.

newtype RepAtom Source

Constructors

RepAtom Content 

Instances

data Feed url Source

The overal feed

Constructors

Feed 

Fields

feedTitle :: Text
 
feedLinkSelf :: url
 
feedLinkHome :: url
 
feedDescription :: Html

note: currently only used for Rss

feedLanguage :: Text

note: currently only used for Rss, possible values: http://www.rssboard.org/rss-language-codes

feedUpdated :: UTCTime
 
feedEntries :: [FeedEntry url]
 

data FeedEntry url Source

Each feed entry