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

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

Text.RSS.Syntax

Contents

Description

The basic syntax for putting together feeds.

For instance, to create a feed with a single item item: (nullRSS "rss title" "link") {rssChannel=(nullChannel "channel title" "link") {rssItems=[(nullItem "item title")]}}

Synopsis

Core Types

data RSS Source

Constructors

RSS 

Instances

type DateString = StringSource

RFC 822 conforming.

Default Constructors:

nullRSSSource

Arguments

:: String

channel title

-> URLString

channel link

-> RSS 

nullChannelSource

Arguments

:: String

rssTitle

-> URLString

rssLink

-> RSSChannel 

nullItemSource

Arguments

:: String

title

-> RSSItem 

nullSourceSource

Arguments

:: URLString

source URL

-> String

title

-> RSSSource 

nullEnclosureSource

Arguments

:: URLString

enclosure URL

-> Maybe Integer

enclosure length

-> String

enclosure type

-> RSSEnclosure 

newCategorySource

Arguments

:: String

category Value

-> RSSCategory 

nullGuidSource

Arguments

:: String

guid value

-> RSSGuid 

nullPermaGuidSource

Arguments

:: String

guid value

-> RSSGuid 

nullImageSource

Arguments

:: URLString

imageURL

-> String

imageTitle

-> URLString

imageLink

-> RSSImage 

nullTextInputSource

Arguments

:: String

inputTitle

-> String

inputName

-> URLString

inputLink

-> RSSTextInput