{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE RankNTypes #-}
module Text.RSS.Conduit.Parse.Simple
(
rssDocument
, rssCategory
, rssCloud
, rssEnclosure
, rssGuid
, rssImage
, rssItem
, rssSkipDays
, rssSkipHours
, rssSource
, rssTextInput
) where
import qualified Text.RSS.Conduit.Parse as P
import Text.RSS.Types
import Control.Exception.Safe as Exception
import Data.Conduit
import Data.Set
import Data.XML.Types
rssSkipHours :: MonadThrow m => ConduitM Event o m (Maybe (Set Hour))
= ConduitM Event o m (Maybe (Set Hour))
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe (Set Hour))
P.rssSkipHours
rssSkipDays :: MonadThrow m => ConduitM Event o m (Maybe (Set Day))
= ConduitM Event o m (Maybe (Set Day))
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe (Set Day))
P.rssSkipDays
rssTextInput :: MonadThrow m => ConduitM Event o m (Maybe RssTextInput)
= ConduitM Event o m (Maybe RssTextInput)
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe RssTextInput)
P.rssTextInput
rssImage :: MonadThrow m => ConduitM Event o m (Maybe RssImage)
= ConduitM Event o m (Maybe RssImage)
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe RssImage)
P.rssImage
rssCategory :: MonadThrow m => ConduitM Event o m (Maybe RssCategory)
= ConduitM Event o m (Maybe RssCategory)
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe RssCategory)
P.rssCategory
rssCloud :: MonadThrow m => ConduitM Event o m (Maybe RssCloud)
= ConduitM Event o m (Maybe RssCloud)
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe RssCloud)
P.rssCloud
rssGuid :: MonadThrow m => ConduitM Event o m (Maybe RssGuid)
= ConduitM Event o m (Maybe RssGuid)
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe RssGuid)
P.rssGuid
rssEnclosure :: MonadThrow m => ConduitM Event o m (Maybe RssEnclosure)
= ConduitM Event o m (Maybe RssEnclosure)
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe RssEnclosure)
P.rssEnclosure
rssSource :: MonadThrow m => ConduitM Event o m (Maybe RssSource)
= ConduitM Event o m (Maybe RssSource)
forall (m :: * -> *) o.
MonadThrow m =>
ConduitM Event o m (Maybe RssSource)
P.rssSource
rssItem :: MonadThrow m => ConduitM Event o m (Maybe RssItem')
= ConduitM Event o m (Maybe RssItem')
forall e (m :: * -> *) o.
(ParseRssExtension e, MonadThrow m) =>
ConduitM Event o m (Maybe (RssItem e))
P.rssItem
rssDocument :: MonadThrow m => ConduitM Event o m (Maybe RssDocument')
= ConduitM Event o m (Maybe RssDocument')
forall e (m :: * -> *) o.
(ParseRssExtension e, MonadThrow m) =>
ConduitM Event o m (Maybe (RssDocument e))
P.rssDocument