Safe Haskell | None |
---|---|
Language | Haskell2010 |
Syndication module for RSS. Cf specification at http://web.resource.org/rss/1.0/modules/syndication/.
- data SyndicationModule :: *
- data family RssChannelExtension extensionTag :: *
- data family RssItemExtension extensionTag :: *
- data SyndicationInfo = SyndicationInfo {}
- mkSyndicationInfo :: SyndicationInfo
- data SyndicationPeriod
- asSyndicationPeriod :: MonadThrow m => Text -> m SyndicationPeriod
- syndicationPeriod :: MonadThrow m => ConduitM Event o m (Maybe SyndicationPeriod)
- syndicationFrequency :: MonadThrow m => ConduitM Event o m (Maybe Int)
- syndicationBase :: MonadThrow m => ConduitM Event o m (Maybe UTCTime)
- namespacePrefix :: Text
- namespaceURI :: URIRef Absolute
Types
data SyndicationModule :: * Source #
Syndication tag type.
data family RssChannelExtension extensionTag :: * Source #
<channel>
extension type.
data family RssItemExtension extensionTag :: * Source #
<item>
extension type.
mkSyndicationInfo :: SyndicationInfo Source #
Construct an empty SyndicationInfo
.
data SyndicationPeriod Source #
asSyndicationPeriod :: MonadThrow m => Text -> m SyndicationPeriod Source #
Parsers
syndicationPeriod :: MonadThrow m => ConduitM Event o m (Maybe SyndicationPeriod) Source #
Parse a <sy:updatePeriod>
element.
syndicationFrequency :: MonadThrow m => ConduitM Event o m (Maybe Int) Source #
Parse a <sy:updateFrequency>
element.
syndicationBase :: MonadThrow m => ConduitM Event o m (Maybe UTCTime) Source #
Parse a <sy:updateBase>
element.
Misc
namespacePrefix :: Text Source #
XML prefix is sy
.
namespaceURI :: URIRef Absolute Source #
XML namespace is http://purl.org/rss/1.0/modules/syndication/.