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