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

Safe HaskellNone
LanguageHaskell98

Imm.Database.FeedTable

Contents

Description

Feed table definitions. This is a specialization of Imm.Database.

Synopsis

Types

newtype FeedID Source #

Unique key in feeds table

Constructors

FeedID URI 

data FeedTable Source #

Singleton type to represent feeds table

Constructors

FeedTable 

Primitives

markAsRead :: (MonadIO m, DatabaseF' :<: f, Functor f, MonadFree f m, MonadThrow m, LoggerF :<: f) => FeedID -> m () Source #

Set the last check time to now

markAsUnread :: (DatabaseF' :<: f, Functor f, MonadFree f m, MonadThrow m, LoggerF :<: f) => FeedID -> m () Source #

Unset feed's last update and remove all read hashes