imm-1.3.0.0: Execute arbitrary actions for each unread element of RSS/Atom feeds

Safe HaskellNone
LanguageHaskell98

Imm.Core

Contents

Synopsis

Types

data FeedRef Source #

Feed reference: either its URI, or its UID from database

Instances

Actions

subscribe :: (MonadLog m, MonadDatabase FeedTable m, MonadCatch m) => URI -> Set Text -> m () Source #

Register the given feed URI in database

showFeed :: (MonadLog m, MonadThrow m, MonadDatabase FeedTable m) => [FeedID] -> m () Source #

Print database status for given feed(s)

check :: (MonadAsync m, MonadCatch m, MonadLog m, MonadDatabase FeedTable m, MonadHttpClient m, MonadXmlParser m) => [FeedID] -> m () Source #

Check for unread elements without processing them

importOPML :: (MonadLog m, MonadDatabase FeedTable m, MonadCatch m) => ConduitT () ByteString m () -> m () Source #

subscribe to all feeds described by the OPML document provided in input