Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ContentModule :: *
- data family RssChannelExtension extensionTag :: *
- data family RssItemExtension extensionTag :: *
- contentEncoded :: MonadThrow m => ConduitT Event o m (Maybe Text)
- renderContentEncoded :: Monad m => Text -> ConduitT () Event m ()
- namespacePrefix :: Text
- namespaceURI :: URIRef Absolute
Types
data ContentModule :: * Source #
Content tag type.
Instances
data family RssChannelExtension extensionTag :: * Source #
<channel>
extension type.
Instances
data family RssItemExtension extensionTag :: * Source #
<item>
extension type.
Instances
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
.
namespaceURI :: URIRef Absolute Source #
XML namespace is http://purl.org/rss/1.0/modules/content/