imm-1.9.0.0: Execute arbitrary callbacks for each element of RSS/Atom feeds

Safe HaskellNone
LanguageHaskell2010

Imm.Callback

Synopsis

Documentation

data Callback Source #

External program run for each feed element.

A Message is passed to this program through stdin, serialized in JSON.

Constructors

Callback 
Instances
Eq Callback Source # 
Instance details

Defined in Imm.Callback

Ord Callback Source # 
Instance details

Defined in Imm.Callback

Read Callback Source # 
Instance details

Defined in Imm.Callback

Show Callback Source # 
Instance details

Defined in Imm.Callback

Generic Callback Source # 
Instance details

Defined in Imm.Callback

Associated Types

type Rep Callback :: Type -> Type #

Methods

from :: Callback -> Rep Callback x #

to :: Rep Callback x -> Callback #

FromDhall Callback Source # 
Instance details

Defined in Imm.Callback

Pretty Callback Source # 
Instance details

Defined in Imm.Callback

Methods

pretty :: Callback -> Doc ann #

prettyList :: [Callback] -> Doc ann #

type Rep Callback Source # 
Instance details

Defined in Imm.Callback

type Rep Callback = D1 (MetaData "Callback" "Imm.Callback" "imm-1.9.0.0-L4OvFhB9TDf8pWR6V9zgfv" False) (C1 (MetaCons "Callback" PrefixI True) (S1 (MetaSel (Just "_executable") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath) :*: S1 (MetaSel (Just "_arguments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text])))

data Message Source #

All information passed to external programs about a new feed item, are stored in this structure.

Constructors

Message Feed FeedElement 
Instances
Eq Message Source # 
Instance details

Defined in Imm.Callback

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Ord Message Source # 
Instance details

Defined in Imm.Callback

Show Message Source # 
Instance details

Defined in Imm.Callback

Generic Message Source # 
Instance details

Defined in Imm.Callback

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

MessagePack Message Source # 
Instance details

Defined in Imm.Callback

type Rep Message Source # 
Instance details

Defined in Imm.Callback