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

Safe HaskellNone
LanguageHaskell98

Yesod.AtomFeed

Description

Generation of Atom newsfeeds.

Synopsis

Documentation

atomFeedText :: MonadHandler m => Feed Text -> m RepAtom Source #

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

atomLink Source #

Arguments

:: MonadWidget m 
=> Route (HandlerSite m) 
-> Text

title

-> m () 

Generates a link tag in the head of a widget.

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