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

data ContentModule :: * Source #

Content tag type.

Instances

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.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "ContentItem" PrefixI False) (S1 (MetaSel (Nothing Symbol) 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.0.0-6jOG4OUxXaJCjGHaRKBKAQ" 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) # 
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.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "AtomChannel" PrefixI False) (S1 (MetaSel (Nothing Symbol) 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.0.0-6jOG4OUxXaJCjGHaRKBKAQ" 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.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "DublinCoreChannel" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DcMetaData)))
type Rep (RssChannelExtension SyndicationModule) # 
type Rep (RssChannelExtension SyndicationModule) = D1 (MetaData "RssChannelExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "SyndicationChannel" PrefixI False) (S1 (MetaSel (Nothing Symbol) 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) # 
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.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "AtomItem" PrefixI False) (S1 (MetaSel (Nothing Symbol) 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.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "ContentItem" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rep (RssItemExtension DublinCoreModule) # 
type Rep (RssItemExtension DublinCoreModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.DublinCore" "rss-conduit-0.4.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "DublinCoreItem" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DcMetaData)))
type Rep (RssItemExtension SyndicationModule) # 
type Rep (RssItemExtension SyndicationModule) = D1 (MetaData "RssItemExtension" "Text.RSS.Extensions.Syndication" "rss-conduit-0.4.0.0-6jOG4OUxXaJCjGHaRKBKAQ" False) (C1 (MetaCons "SyndicationItem" PrefixI False) U1)

Parsers

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

Parse a <content:encoded> element.

Misc

namespacePrefix :: Text Source #

XML prefix is content.