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

Yesod.Helpers.RssFeed

Synopsis

Documentation

rssFeed :: Monad mo => Feed (Route master) -> GGHandler sub master mo RepRssSource

Generate the feed

rssLinkSource

Arguments

:: Route m 
-> String

title

-> GWidget s m () 

Generates a link tag in the head of a widget.

newtype RepRss Source

Constructors

RepRss Content 

Instances

data Feed url Source

The overal feed

Constructors

Feed 

Fields

feedTitle :: String
 
feedLinkSelf :: url
 
feedLinkHome :: url
 
feedDescription :: Html

note: currently only used for Rss

feedLanguage :: String

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