rss-conduit-0.4.3.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
RenderRssExtension SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

ParseRssExtension SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

SingI SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Generic (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

type Rep (RssItemExtension SyndicationModule) :: * -> * #

Generic (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

type Rep (RssChannelExtension SyndicationModule) :: * -> * #

data RssItemExtension SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssChannelExtension SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data Sing SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssItemExtension SyndicationModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "SyndicationItem" PrefixI False) (U1 :: * -> *))
type Rep (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssChannelExtension SyndicationModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo)))

data family RssChannelExtension extensionTag :: * Source #

<channel> extension type.

Instances
Eq (RssChannelExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssChannelExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Eq (RssChannelExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Eq (RssChannelExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

Ord (RssChannelExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssChannelExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Ord (RssChannelExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Read (RssChannelExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssChannelExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssChannelExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Show (RssChannelExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssChannelExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

Generic (RssChannelExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

type Rep (RssChannelExtension SyndicationModule) :: * -> * #

Generic (RssChannelExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Associated Types

type Rep (RssChannelExtension DublinCoreModule) :: * -> * #

Generic (RssChannelExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Associated Types

type Rep (RssChannelExtension ContentModule) :: * -> * #

Generic (RssChannelExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

Associated Types

type Rep (RssChannelExtension AtomModule) :: * -> * #

data RssChannelExtension SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssChannelExtension DublinCoreModule Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

data RssChannelExtension ContentModule Source # 
Instance details

Defined in Text.RSS.Extensions.Content

data RssChannelExtension AtomModule Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

type Rep (RssChannelExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssChannelExtension SyndicationModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo)))
type Rep (RssChannelExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

type Rep (RssChannelExtension DublinCoreModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.DublinCore" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "DublinCoreChannel" PrefixI True) (S1 (MetaSel (Just "channelDcMetaData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DcMetaData)))
type Rep (RssChannelExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

type Rep (RssChannelExtension ContentModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "ContentChannel" PrefixI False) (U1 :: * -> *))
type Rep (RssChannelExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

type Rep (RssChannelExtension AtomModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "AtomChannel" PrefixI True) (S1 (MetaSel (Just "channelAtomLink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AtomLink))))

data family RssItemExtension extensionTag :: * Source #

<item> extension type.

Instances
Eq (RssItemExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssItemExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Eq (RssItemExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Eq (RssItemExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

Ord (RssItemExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssItemExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Ord (RssItemExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Read (RssItemExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssItemExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssItemExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Show (RssItemExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssItemExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

Generic (RssItemExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

type Rep (RssItemExtension SyndicationModule) :: * -> * #

Generic (RssItemExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Associated Types

type Rep (RssItemExtension DublinCoreModule) :: * -> * #

Generic (RssItemExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

Associated Types

type Rep (RssItemExtension ContentModule) :: * -> * #

Generic (RssItemExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

Associated Types

type Rep (RssItemExtension AtomModule) :: * -> * #

data RssItemExtension SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssItemExtension DublinCoreModule Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

data RssItemExtension ContentModule Source # 
Instance details

Defined in Text.RSS.Extensions.Content

data RssItemExtension AtomModule Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

type Rep (RssItemExtension SyndicationModule) # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssItemExtension SyndicationModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "SyndicationItem" PrefixI False) (U1 :: * -> *))
type Rep (RssItemExtension DublinCoreModule) # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

type Rep (RssItemExtension DublinCoreModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.DublinCore" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "DublinCoreItem" PrefixI True) (S1 (MetaSel (Just "itemDcMetaData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DcMetaData)))
type Rep (RssItemExtension ContentModule) # 
Instance details

Defined in Text.RSS.Extensions.Content

type Rep (RssItemExtension ContentModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "ContentItem" PrefixI True) (S1 (MetaSel (Just "itemContent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rep (RssItemExtension AtomModule) # 
Instance details

Defined in Text.RSS.Extensions.Atom

type Rep (RssItemExtension AtomModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "AtomItem" PrefixI True) (S1 (MetaSel (Just "itemAtomLink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AtomLink))))

data SyndicationInfo Source #

Syndication extension model.

Instances
Eq SyndicationInfo Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord SyndicationInfo Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read SyndicationInfo Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show SyndicationInfo Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Generic SyndicationInfo Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

type Rep SyndicationInfo :: * -> * #

type Rep SyndicationInfo Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep SyndicationInfo = D1 (MetaData "SyndicationInfo" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) (C1 (MetaCons "SyndicationInfo" PrefixI True) (S1 (MetaSel (Just "updatePeriod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe SyndicationPeriod)) :*: (S1 (MetaSel (Just "updateFrequency") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "updateBase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe UTCTime)))))

data SyndicationPeriod Source #

Constructors

Hourly 
Daily 
Weekly 
Monthly 
Yearly 
Instances
Bounded SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Enum SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Generic SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

type Rep SyndicationPeriod :: * -> * #

type Rep SyndicationPeriod Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep SyndicationPeriod = D1 (MetaData "SyndicationPeriod" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.3.0-62VwvduZHGqAHbRvMsKF2Q" False) ((C1 (MetaCons "Hourly" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Daily" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Weekly" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Monthly" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Yearly" PrefixI False) (U1 :: * -> *))))

Parsers

syndicationInfo :: MonadThrow m => ConduitT Event o m SyndicationInfo Source #

Parse all Syndication elements.

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

Parse a <sy:updatePeriod> element.

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

Parse a <sy:updateFrequency> element.

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

Parse a <sy:updateBase> element.

Renderers

renderSyndicationInfo :: Monad m => SyndicationInfo -> ConduitT () Event m () Source #

Render all Syndication elements.

renderSyndicationPeriod :: Monad m => SyndicationPeriod -> ConduitT () Event m () Source #

Render a <sy:updatePeriod> element.

renderSyndicationFrequency :: Monad m => Int -> ConduitT () Event m () Source #

Render a <sy:updateFrequency> element.

renderSyndicationBase :: Monad m => UTCTime -> ConduitT () Event m () Source #

Render a <sy:updateBase> element.

Misc

namespacePrefix :: Text Source #

XML prefix is sy.