feed-0.3.9.2: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.

Portabilityportable
Stabilityprovisional
MaintainerSigbjorn Finne <sof@forkIO.com>
Safe HaskellNone

Text.Feed.Query

Description

 

Synopsis

Documentation

getItemPublishDate :: ParseTime t => ItemGetter (Maybe t)Source

'getItemPublishDate item' returns the publication date of the item, but first parsed per the supported RFC 822 and RFC 3339 formats.

If the date string cannot be parsed as such, Just Nothing is returned. The caller must then instead fall back to processing the date string from getItemPublishDateString.

The parsed date representation is one of the ParseTime instances; see Format.

getItemAuthor :: ItemGetter StringSource

'getItemAuthor f' returns the optional author of the item.