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

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

Text.RSS.Syntax

Contents

Description

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

Constructors

RSS 

Instances

type DateString = String

RFC 822 conforming.

data RSSGuid

Instances

Default Constructors:

nullRSS

Arguments

:: String

channel title

-> URLString

channel link

-> RSS 

nullChannel

Arguments

:: String

rssTitle

-> URLString

rssLink

-> RSSChannel 

nullItem

Arguments

:: String

title

-> RSSItem 

nullSource

Arguments

:: URLString

source URL

-> String

title

-> RSSSource 

nullEnclosure

Arguments

:: URLString

enclosure URL

-> Integer

enclosure length

-> String

enclosure type

-> RSSEnclosure 

newCategory

Arguments

:: String

category Value

-> RSSCategory 

nullGuid

Arguments

:: String

guid value

-> RSSGuid 

nullPermaGuid

Arguments

:: String

guid value

-> RSSGuid 

nullImage

Arguments

:: URLString

imageURL

-> String

imageTitle

-> URLString

imageLink

-> RSSImage 

nullTextInput

Arguments

:: String

inputTitle

-> String

inputName

-> URLString

inputLink

-> RSSTextInput