imm-2.1.2.0: Execute arbitrary actions for each item from RSS/Atom feeds
Safe HaskellSafe-Inferred
LanguageHaskell2010

Imm.Feed

Description

Feed data structures.

Synopsis

Types

data FeedLocation Source #

Feed location identifies a feed. It is either: - the feed URI - a webpage URI that refers to the feed through an alternate link, in which case an optional feed title can be provided to disambiguate multiple such links

Constructors

FeedLocation URI Text 

Instances

Instances details
FromJSON FeedLocation Source # 
Instance details

Defined in Imm.Feed

ToJSON FeedLocation Source # 
Instance details

Defined in Imm.Feed

Generic FeedLocation Source # 
Instance details

Defined in Imm.Feed

Associated Types

type Rep FeedLocation :: Type -> Type #

Show FeedLocation Source # 
Instance details

Defined in Imm.Feed

Eq FeedLocation Source # 
Instance details

Defined in Imm.Feed

Ord FeedLocation Source # 
Instance details

Defined in Imm.Feed

Pretty FeedLocation Source # 
Instance details

Defined in Imm.Feed

Methods

pretty :: FeedLocation -> Doc ann #

prettyList :: [FeedLocation] -> Doc ann #

type Rep FeedLocation Source # 
Instance details

Defined in Imm.Feed

type Rep FeedLocation = D1 ('MetaData "FeedLocation" "Imm.Feed" "imm-2.1.2.0-D2NMr4mlUE8FsGQYPYqh5Y" 'False) (C1 ('MetaCons "FeedLocation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

type UID = Int Source #

Database identifier for a feed

data FeedQuery Source #

A query describes a set of feeds through some criteria.

Constructors

QueryByUID UID 
QueryAll 

Instances

Instances details
Read FeedQuery Source # 
Instance details

Defined in Imm.Feed

Show FeedQuery Source # 
Instance details

Defined in Imm.Feed

Eq FeedQuery Source # 
Instance details

Defined in Imm.Feed

Ord FeedQuery Source # 
Instance details

Defined in Imm.Feed

Pretty FeedQuery Source # 
Instance details

Defined in Imm.Feed

Methods

pretty :: FeedQuery -> Doc ann #

prettyList :: [FeedQuery] -> Doc ann #

newtype FeedDefinition Source #

Constructors

FeedDefinition 

Fields

Instances

Instances details
FromJSON FeedDefinition Source # 
Instance details

Defined in Imm.Feed

ToJSON FeedDefinition Source # 
Instance details

Defined in Imm.Feed

Generic FeedDefinition Source # 
Instance details

Defined in Imm.Feed

Associated Types

type Rep FeedDefinition :: Type -> Type #

Read FeedDefinition Source # 
Instance details

Defined in Imm.Feed

Show FeedDefinition Source # 
Instance details

Defined in Imm.Feed

Eq FeedDefinition Source # 
Instance details

Defined in Imm.Feed

Ord FeedDefinition Source # 
Instance details

Defined in Imm.Feed

Pretty FeedDefinition Source # 
Instance details

Defined in Imm.Feed

Methods

pretty :: FeedDefinition -> Doc ann #

prettyList :: [FeedDefinition] -> Doc ann #

Pretty (PrettyName FeedDefinition) Source # 
Instance details

Defined in Imm.Feed

type Rep FeedDefinition Source # 
Instance details

Defined in Imm.Feed

type Rep FeedDefinition = D1 ('MetaData "FeedDefinition" "Imm.Feed" "imm-2.1.2.0-D2NMr4mlUE8FsGQYPYqh5Y" 'True) (C1 ('MetaCons "FeedDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "_feedTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data FeedItem Source #

Instances

Instances details
FromJSON FeedItem Source # 
Instance details

Defined in Imm.Feed

ToJSON FeedItem Source # 
Instance details

Defined in Imm.Feed

Generic FeedItem Source # 
Instance details

Defined in Imm.Feed

Associated Types

type Rep FeedItem :: Type -> Type #

Methods

from :: FeedItem -> Rep FeedItem x #

to :: Rep FeedItem x -> FeedItem #

Show FeedItem Source # 
Instance details

Defined in Imm.Feed

Eq FeedItem Source # 
Instance details

Defined in Imm.Feed

Ord FeedItem Source # 
Instance details

Defined in Imm.Feed

Pretty FeedItem Source # 
Instance details

Defined in Imm.Feed

Methods

pretty :: FeedItem -> Doc ann #

prettyList :: [FeedItem] -> Doc ann #

Pretty (PrettyName FeedItem) Source # 
Instance details

Defined in Imm.Feed

type Rep FeedItem Source # 
Instance details

Defined in Imm.Feed

data Author Source #

Constructors

Author 

Instances

Instances details
FromJSON Author Source # 
Instance details

Defined in Imm.Feed

ToJSON Author Source # 
Instance details

Defined in Imm.Feed

Generic Author Source # 
Instance details

Defined in Imm.Feed

Associated Types

type Rep Author :: Type -> Type #

Methods

from :: Author -> Rep Author x #

to :: Rep Author x -> Author #

Show Author Source # 
Instance details

Defined in Imm.Feed

Eq Author Source # 
Instance details

Defined in Imm.Feed

Methods

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

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

Ord Author Source # 
Instance details

Defined in Imm.Feed

Pretty Author Source # 
Instance details

Defined in Imm.Feed

Methods

pretty :: Author -> Doc ann #

prettyList :: [Author] -> Doc ann #

type Rep Author Source # 
Instance details

Defined in Imm.Feed

type Rep Author = D1 ('MetaData "Author" "Imm.Feed" "imm-2.1.2.0-D2NMr4mlUE8FsGQYPYqh5Y" 'False) (C1 ('MetaCons "Author" 'PrefixI 'True) (S1 ('MetaSel ('Just "_authorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_authorEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_authorURI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AnyURI)))))

Parsers

Utilities