rss-conduit-0.4.3.1: 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

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) :: Type -> Type #

Generic (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

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

SingI SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssItemExtension SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssChannelExtension 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.1-3MBEiBX3Hml4G7VVM9nAdo" False) (C1 (MetaCons "SyndicationItem" PrefixI False) (U1 :: Type -> Type))
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.1-3MBEiBX3Hml4G7VVM9nAdo" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo)))
data Sing SyndicationModule Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data family RssChannelExtension extensionTag :: * Source #

<channel> extension type.

Instances
Eq (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssChannelExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Eq (RssChannelExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Eq (RssChannelExtension AtomModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Ord (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssChannelExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Ord (RssChannelExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Read (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssChannelExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Show (RssChannelExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssChannelExtension AtomModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Generic (RssChannelExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

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

Generic (RssChannelExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Associated Types

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

Generic (RssChannelExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Associated Types

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

Generic (RssChannelExtension AtomModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Associated Types

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

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) 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.1-3MBEiBX3Hml4G7VVM9nAdo" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo)))
type Rep (RssChannelExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

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

Defined in Text.RSS.Extensions.Content

type Rep (RssChannelExtension ContentModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.4.3.1-3MBEiBX3Hml4G7VVM9nAdo" False) (C1 (MetaCons "ContentChannel" PrefixI False) (U1 :: Type -> Type))
type Rep (RssChannelExtension AtomModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

type Rep (RssChannelExtension AtomModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.4.3.1-3MBEiBX3Hml4G7VVM9nAdo" 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) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssItemExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Eq (RssItemExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Eq (RssItemExtension AtomModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Ord (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssItemExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Ord (RssItemExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Read (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssItemExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Show (RssItemExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssItemExtension AtomModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Generic (RssItemExtension SyndicationModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

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

Generic (RssItemExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Associated Types

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

Generic (RssItemExtension ContentModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Associated Types

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

Generic (RssItemExtension AtomModule) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Associated Types

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

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) 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.1-3MBEiBX3Hml4G7VVM9nAdo" False) (C1 (MetaCons "SyndicationItem" PrefixI False) (U1 :: Type -> Type))
type Rep (RssItemExtension DublinCoreModule) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Atom

type Rep (RssItemExtension AtomModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.4.3.1-3MBEiBX3Hml4G7VVM9nAdo" 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 -> Type #

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.1-3MBEiBX3Hml4G7VVM9nAdo" 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 -> Type #

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.1-3MBEiBX3Hml4G7VVM9nAdo" False) ((C1 (MetaCons "Hourly" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Daily" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Weekly" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Monthly" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Yearly" PrefixI False) (U1 :: Type -> Type))))

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.