rss-conduit-0.5.0.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

newtype SyndicationModule a Source #

Syndication tag type.

Constructors

SyndicationModule a 
Instances
Eq (RssItemExtension a) => Eq (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssChannelExtension a) => Eq (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssItemExtension a) => Ord (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssChannelExtension a) => Ord (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read (RssItemExtension a) => Read (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read (RssChannelExtension a) => Read (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssItemExtension a) => Show (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssChannelExtension a) => Show (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Generic (RssItemExtension a) => Generic (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

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

Generic (RssChannelExtension a) => Generic (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

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

RenderRssExtension a => RenderRssExtension (SyndicationModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

ParseRssExtension a => ParseRssExtension (SyndicationModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssItemExtension (SyndicationModule a)) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "SyndicationItem" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RssItemExtension a))))
type Rep (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssChannelExtension (SyndicationModule a)) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo) :*: S1 (MetaSel (Just "channelSyndicationOther") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RssChannelExtension a))))
data RssItemExtension (SyndicationModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssChannelExtension (SyndicationModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data family RssChannelExtension extensionTag :: * Source #

<channel> extension type.

Instances
Eq (RssChannelExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Eq (RssChannelExtension a) => Eq (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssChannelExtension a) => Eq (RssChannelExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Eq (RssChannelExtension a) => Eq (RssChannelExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Eq (RssChannelExtension a) => Eq (RssChannelExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Ord (RssChannelExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Ord (RssChannelExtension a) => Ord (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssChannelExtension a) => Ord (RssChannelExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Ord (RssChannelExtension a) => Ord (RssChannelExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Ord (RssChannelExtension a) => Ord (RssChannelExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Read (RssChannelExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Read (RssChannelExtension a) => Read (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read (RssChannelExtension a) => Read (RssChannelExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Read (RssChannelExtension a) => Read (RssChannelExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssChannelExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Show (RssChannelExtension a) => Show (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssChannelExtension a) => Show (RssChannelExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Show (RssChannelExtension a) => Show (RssChannelExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssChannelExtension a) => Show (RssChannelExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Generic (RssChannelExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Associated Types

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

Generic (RssChannelExtension a) => Generic (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

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

Generic (RssChannelExtension a) => Generic (RssChannelExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Associated Types

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

Generic (RssChannelExtension a) => Generic (RssChannelExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Associated Types

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

Generic (RssChannelExtension a) => Generic (RssChannelExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Associated Types

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

data RssChannelExtension NoExtensions Source # 
Instance details

Defined in Text.RSS.Types

type Rep (RssChannelExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

type Rep (RssChannelExtension NoExtensions) = D1 (MetaData "RssChannelExtension" "Text.RSS.Types" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "NoChannelExtensions" PrefixI False) (U1 :: Type -> Type))
type Rep (RssChannelExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssChannelExtension (SyndicationModule a)) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "SyndicationChannel" PrefixI True) (S1 (MetaSel (Just "channelSyndicationInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SyndicationInfo) :*: S1 (MetaSel (Just "channelSyndicationOther") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RssChannelExtension a))))
type Rep (RssChannelExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

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

Defined in Text.RSS.Extensions.Content

type Rep (RssChannelExtension (ContentModule a)) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "ContentChannel" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RssChannelExtension a))))
type Rep (RssChannelExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

type Rep (RssChannelExtension (AtomModule a)) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "AtomChannel" PrefixI True) (S1 (MetaSel (Just "channelAtomLink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AtomLink)) :*: S1 (MetaSel (Just "channelAtomOther") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RssChannelExtension a))))
data RssChannelExtension (SyndicationModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssChannelExtension (DublinCoreModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

data RssChannelExtension (ContentModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

data RssChannelExtension (AtomModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

data family RssItemExtension extensionTag :: * Source #

<item> extension type.

Instances
Eq (RssItemExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Eq (RssItemExtension a) => Eq (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Eq (RssItemExtension a) => Eq (RssItemExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Eq (RssItemExtension a) => Eq (RssItemExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Eq (RssItemExtension a) => Eq (RssItemExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Ord (RssItemExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Ord (RssItemExtension a) => Ord (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Ord (RssItemExtension a) => Ord (RssItemExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Ord (RssItemExtension a) => Ord (RssItemExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Ord (RssItemExtension a) => Ord (RssItemExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Read (RssItemExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Read (RssItemExtension a) => Read (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Read (RssItemExtension a) => Read (RssItemExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Read (RssItemExtension a) => Read (RssItemExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssItemExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Show (RssItemExtension a) => Show (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Show (RssItemExtension a) => Show (RssItemExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Show (RssItemExtension a) => Show (RssItemExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Show (RssItemExtension a) => Show (RssItemExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Generic (RssItemExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

Associated Types

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

Generic (RssItemExtension a) => Generic (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

Associated Types

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

Generic (RssItemExtension a) => Generic (RssItemExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

Associated Types

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

Generic (RssItemExtension a) => Generic (RssItemExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Associated Types

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

Generic (RssItemExtension a) => Generic (RssItemExtension (AtomModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

Associated Types

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

data RssItemExtension NoExtensions Source # 
Instance details

Defined in Text.RSS.Types

type Rep (RssItemExtension NoExtensions) Source # 
Instance details

Defined in Text.RSS.Types

type Rep (RssItemExtension NoExtensions) = D1 (MetaData "RssItemExtension" "Text.RSS.Types" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "NoItemExtensions" PrefixI False) (U1 :: Type -> Type))
type Rep (RssItemExtension (SyndicationModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

type Rep (RssItemExtension (SyndicationModule a)) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "SyndicationItem" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RssItemExtension a))))
type Rep (RssItemExtension (DublinCoreModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Atom

type Rep (RssItemExtension (AtomModule a)) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Atom" "rss-conduit-0.5.0.0-L8IgzoRckvACU0dks7NGs6" False) (C1 (MetaCons "AtomItem" PrefixI True) (S1 (MetaSel (Just "itemAtomLink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AtomLink)) :*: S1 (MetaSel (Just "itemAtomOther") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RssItemExtension a))))
data RssItemExtension (SyndicationModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Syndication

data RssItemExtension (DublinCoreModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.DublinCore

data RssItemExtension (ContentModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

data RssItemExtension (AtomModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Atom

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.5.0.0-L8IgzoRckvACU0dks7NGs6" 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.5.0.0-L8IgzoRckvACU0dks7NGs6" 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.