rss-conduit-0.4.1.0: Streaming parser/renderer for the RSS standard.

Safe HaskellNone
LanguageHaskell2010

Text.RSS.Extensions.Syndication

Contents

Description

Syndication module for RSS. Cf specification at http://web.resource.org/rss/1.0/modules/syndication/.

Synopsis

Types

data SyndicationModule :: * Source #

Syndication tag type.

Instances

ParseRssExtension SyndicationModule Source # 
SingI * SyndicationModule Source # 
Eq (RssItemExtension SyndicationModule) Source # 
Eq (RssChannelExtension SyndicationModule) Source # 
Ord (RssItemExtension SyndicationModule) Source # 
Ord (RssChannelExtension SyndicationModule) Source # 
Show (RssItemExtension SyndicationModule) Source # 
Show (RssChannelExtension SyndicationModule) Source # 
Generic (RssItemExtension SyndicationModule) Source # 
Generic (RssChannelExtension SyndicationModule) Source # 
data RssItemExtension SyndicationModule Source # 
data RssChannelExtension SyndicationModule Source # 
data Sing * SyndicationModule Source # 
type Rep (RssItemExtension SyndicationModule) Source # 
type Rep (RssItemExtension SyndicationModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "SyndicationItem" PrefixI False) U1)
type Rep (RssChannelExtension SyndicationModule) Source # 
type Rep (RssChannelExtension SyndicationModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just Symbol "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo)))

data family RssChannelExtension extensionTag :: * Source #

<channel> extension type.

Instances

Eq (RssChannelExtension AtomModule) # 
Eq (RssChannelExtension ContentModule) # 
Eq (RssChannelExtension DublinCoreModule) # 
Eq (RssChannelExtension SyndicationModule) # 
Ord (RssChannelExtension ContentModule) # 
Ord (RssChannelExtension DublinCoreModule) # 
Ord (RssChannelExtension SyndicationModule) # 
Show (RssChannelExtension AtomModule) # 
Show (RssChannelExtension ContentModule) # 
Show (RssChannelExtension DublinCoreModule) # 
Show (RssChannelExtension SyndicationModule) # 
Generic (RssChannelExtension AtomModule) # 
Generic (RssChannelExtension ContentModule) # 
Generic (RssChannelExtension DublinCoreModule) # 
Generic (RssChannelExtension SyndicationModule) # 
data RssChannelExtension AtomModule Source # 
data RssChannelExtension ContentModule Source # 
data RssChannelExtension DublinCoreModule Source # 
data RssChannelExtension SyndicationModule Source # 
type Rep (RssChannelExtension AtomModule) # 
type Rep (RssChannelExtension AtomModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "AtomChannel" PrefixI True) (S1 (MetaSel (Just Symbol "channelAtomLink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AtomLink))))
type Rep (RssChannelExtension ContentModule) # 
type Rep (RssChannelExtension ContentModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "ContentChannel" PrefixI False) U1)
type Rep (RssChannelExtension DublinCoreModule) # 
type Rep (RssChannelExtension DublinCoreModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.DublinCore" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "DublinCoreChannel" PrefixI True) (S1 (MetaSel (Just Symbol "channelDcMetaData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DcMetaData)))
type Rep (RssChannelExtension SyndicationModule) # 
type Rep (RssChannelExtension SyndicationModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just Symbol "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo)))

data family RssItemExtension extensionTag :: * Source #

<item> extension type.

Instances

Eq (RssItemExtension AtomModule) # 
Eq (RssItemExtension ContentModule) # 
Eq (RssItemExtension DublinCoreModule) # 
Eq (RssItemExtension SyndicationModule) # 
Ord (RssItemExtension ContentModule) # 
Ord (RssItemExtension DublinCoreModule) # 
Ord (RssItemExtension SyndicationModule) # 
Show (RssItemExtension AtomModule) # 
Show (RssItemExtension ContentModule) # 
Show (RssItemExtension DublinCoreModule) # 
Show (RssItemExtension SyndicationModule) # 
Generic (RssItemExtension AtomModule) # 
Generic (RssItemExtension ContentModule) # 
Generic (RssItemExtension DublinCoreModule) # 
Generic (RssItemExtension SyndicationModule) # 
data RssItemExtension AtomModule Source # 
data RssItemExtension ContentModule Source # 
data RssItemExtension DublinCoreModule Source # 
data RssItemExtension SyndicationModule Source # 
type Rep (RssItemExtension AtomModule) # 
type Rep (RssItemExtension AtomModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "AtomItem" PrefixI True) (S1 (MetaSel (Just Symbol "itemAtomLink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AtomLink))))
type Rep (RssItemExtension ContentModule) # 
type Rep (RssItemExtension ContentModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "ContentItem" PrefixI True) (S1 (MetaSel (Just Symbol "itemContent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rep (RssItemExtension DublinCoreModule) # 
type Rep (RssItemExtension DublinCoreModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.DublinCore" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "DublinCoreItem" PrefixI True) (S1 (MetaSel (Just Symbol "itemDcMetaData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DcMetaData)))
type Rep (RssItemExtension SyndicationModule) # 
type Rep (RssItemExtension SyndicationModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "SyndicationItem" PrefixI False) U1)

data SyndicationInfo Source #

Syndication extension model.

Instances

Eq SyndicationInfo Source # 
Ord SyndicationInfo Source # 
Show SyndicationInfo Source # 
Generic SyndicationInfo Source # 
type Rep SyndicationInfo Source # 
type Rep SyndicationInfo = D1 (MetaData "SyndicationInfo" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.1.0-Ar4KHmamFtvHzX77HbQzIf" False) (C1 (MetaCons "SyndicationInfo" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "updatePeriod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe SyndicationPeriod))) ((:*:) (S1 (MetaSel (Just Symbol "updateFrequency") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "updateBase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe UTCTime))))))

data SyndicationPeriod Source #

Constructors

Hourly 
Daily 
Weekly 
Monthly 
Yearly 

Parsers

syndicationPeriod :: MonadThrow m => ConduitM Event o m (Maybe SyndicationPeriod) Source #

Parse a <sy:updatePeriod> element.

syndicationFrequency :: MonadThrow m => ConduitM Event o m (Maybe Int) Source #

Parse a <sy:updateFrequency> element.

syndicationBase :: MonadThrow m => ConduitM Event o m (Maybe UTCTime) Source #

Parse a <sy:updateBase> element.

Misc

namespacePrefix :: Text Source #

XML prefix is sy.