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

Copyright(c) Galois Inc. 2008
(c) Sigbjorn Finne 2009-
LicenseBSD3
MaintainerSigbjorn Finne <sof@forkIO.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Text.Feed.Types

Description

 
Synopsis

Documentation

data Feed Source #

The abstract type of feed documents. The internal representation is as whatever feed variant type the document was either imported or has now been translated to.

Constructors

AtomFeed Feed 
RSSFeed RSS 
RSS1Feed Feed 
XMLFeed Element 
Instances
Show Feed Source # 
Instance details

Defined in Text.Feed.Types

Methods

showsPrec :: Int -> Feed -> ShowS

show :: Feed -> String

showList :: [Feed] -> ShowS

data Item Source #

The abstract type of feed items. Like the Feed type, the representation of a value is as one of the different RSS item/entry variants.

Constructors

AtomItem Entry 
RSSItem RSSItem 
RSS1Item Item 
XMLItem Element 
Instances
Show Item Source # 
Instance details

Defined in Text.Feed.Types

Methods

showsPrec :: Int -> Item -> ShowS

show :: Item -> String

showList :: [Item] -> ShowS

data FeedKind Source #

The kinds of feed documents supported.

Constructors

AtomKind 
RSSKind (Maybe Text) 
RDFKind (Maybe Text) 
Instances
Eq FeedKind Source # 
Instance details

Defined in Text.Feed.Types

Methods

(==) :: FeedKind -> FeedKind -> Bool

(/=) :: FeedKind -> FeedKind -> Bool

Show FeedKind Source # 
Instance details

Defined in Text.Feed.Types

Methods

showsPrec :: Int -> FeedKind -> ShowS

show :: FeedKind -> String

showList :: [FeedKind] -> ShowS