rss-conduit-0.6.0.1: Streaming parser/renderer for the RSS standard.
Safe HaskellNone
LanguageHaskell2010

Text.RSS.Conduit.Parse

Description

Streaming parsers for the RSS 2.0 standard.

Synopsis

Top-level

rssDocument :: forall e (m :: Type -> Type) o. (ParseRssExtension e, MonadThrow m) => ConduitM Event o m (Maybe (RssDocument e)) Source #

Parse an <rss> element.

RSS extensions are automatically parsed based on the inferred result type.

Elements

rssCategory :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe RssCategory) Source #

Parse a <category> element.

rssCloud :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe RssCloud) Source #

Parse a <cloud> element.

rssEnclosure :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe RssEnclosure) Source #

Parse an <enclosure> element.

rssGuid :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe RssGuid) Source #

Parse a <guid> element.

rssImage :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe RssImage) Source #

Parse an <image> element.

rssItem :: forall e (m :: Type -> Type) o. (ParseRssExtension e, MonadThrow m) => ConduitM Event o m (Maybe (RssItem e)) Source #

Parse an <item> element.

RSS extensions are automatically parsed based on the inferred result type.

rssSkipDays :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe (Set Day)) Source #

Parse a <skipDays> element.

rssSkipHours :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe (Set Hour)) Source #

Parse a <skipHours> element.

rssSource :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe RssSource) Source #

Parse a <source> element.

rssTextInput :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe RssTextInput) Source #

Parse a <textInput> element.