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

Safe HaskellSafe-Infered

Yesod.RssFeed

Synopsis

Documentation

rssFeed :: Feed (Route master) -> GHandler sub master RepRssSource

Generate the feed

rssLinkSource

Arguments

:: Route m 
-> Text

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 overall feed

Constructors

Feed 

Fields

feedTitle :: Text
 
feedLinkSelf :: url
 
feedLinkHome :: url
 
feedAuthor :: Text
 
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