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

Safe HaskellNone
LanguageHaskell2010

Text.RSS.Extensions.Content

Contents

Description

Content extension for RSS. Cf specification at http://web.resource.org/rss/1.0/modules/content/.

This implementation corresponds to the updated syntax from the specification.

Synopsis

Types

newtype ContentModule a Source #

Content tag type.

Constructors

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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 (RssChannelExtension a) => Generic (RssChannelExtension (ContentModule a)) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

Associated Types

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

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

Defined in Text.RSS.Extensions.Content

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

Defined in Text.RSS.Extensions.Content

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 (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))))
data RssItemExtension (ContentModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

data RssChannelExtension (ContentModule a) Source # 
Instance details

Defined in Text.RSS.Extensions.Content

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

Parser

contentEncoded :: MonadThrow m => ConduitT Event o m (Maybe Text) Source #

Parse a <content:encoded> element.

Renderer

renderContentEncoded :: Monad m => Text -> ConduitT () Event m () Source #

Render a <content:encoded> element.

Misc

namespacePrefix :: Text Source #

XML prefix is content.