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

data ContentModule :: * Source #

Content tag type.

Instances

RenderRssExtension ContentModule Source # 
ParseRssExtension ContentModule Source # 
SingI * ContentModule Source # 

Methods

sing :: Sing ContentModule a #

Eq (RssItemExtension ContentModule) Source # 
Eq (RssChannelExtension ContentModule) Source # 
Ord (RssItemExtension ContentModule) Source # 
Ord (RssChannelExtension ContentModule) Source # 
Show (RssItemExtension ContentModule) Source # 
Show (RssChannelExtension ContentModule) Source # 
Generic (RssItemExtension ContentModule) Source # 
Generic (RssChannelExtension ContentModule) Source # 
data RssItemExtension ContentModule Source # 
data RssChannelExtension ContentModule Source # 
data Sing * ContentModule Source # 
type Rep (RssItemExtension ContentModule) Source # 
type Rep (RssItemExtension ContentModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.4.2.0-6KcLySDtcg31gkACJk6VS8" False) (C1 (MetaCons "ContentItem" PrefixI True) (S1 (MetaSel (Just Symbol "itemContent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rep (RssChannelExtension ContentModule) Source # 
type Rep (RssChannelExtension ContentModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Content" "rss-conduit-0.4.2.0-6KcLySDtcg31gkACJk6VS8" False) (C1 (MetaCons "ContentChannel" PrefixI False) U1)

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) # 
Read (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.2.0-6KcLySDtcg31gkACJk6VS8" 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.2.0-6KcLySDtcg31gkACJk6VS8" 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.2.0-6KcLySDtcg31gkACJk6VS8" 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.2.0-6KcLySDtcg31gkACJk6VS8" 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) # 
Read (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.2.0-6KcLySDtcg31gkACJk6VS8" 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.2.0-6KcLySDtcg31gkACJk6VS8" 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.2.0-6KcLySDtcg31gkACJk6VS8" 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.2.0-6KcLySDtcg31gkACJk6VS8" False) (C1 (MetaCons "SyndicationItem" PrefixI False) U1)

Parser

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

Parse a <content:encoded> element.

Renderer

renderContentEncoded :: Monad m => Text -> Source m Event Source #

Render a <content:encoded> element.

Misc

namespacePrefix :: Text Source #

XML prefix is content.