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

Portability
Stabilityprovisional
MaintainerSigbjorn Finne <sof@galois.com>
Safe HaskellNone

Text.Atom.Feed

Contents

Description

 

Synopsis

Core types

type URI = String

type NCName = String

type Date = String

data Category

Constructors

Category 

Fields

catTerm :: String

the tag/term of the category.

catScheme :: Maybe URI

optional URL for identifying the categorization scheme.

catLabel :: Maybe String

human-readable label of the category

catOther :: [Element]

unknown elements, for extensibility.

Instances

data Generator

Constructors

Generator 

data Person

Instances

Smart Constructors

newCategory

Arguments

:: String

catTerm

-> Category 

nullFeed

Arguments

:: String

feedId

-> TextContent

feedTitle

-> Date

feedUpdated

-> Feed 

nullEntry

Arguments

:: String

entryId

-> TextContent

entryTitle

-> Date

entryUpdated

-> Entry 

nullGenerator

Arguments

:: String

genText

-> Generator 

nullLink

Arguments

:: URI

linkHref

-> Link