feed-1.3.2.1: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.

Copyright | (c) Galois Inc. 2008 (c) Sigbjorn Finne 2009-
License | BSD3
Maintainer | Sigbjorn Finne <sof@forkIO.com>
Stability | provisional
Portability | portable
Safe Haskell | None
Language | Haskell2010

Text.Atom.Feed.Validate

Description

# Documentation

data VTree a Source #

Constructors

VNode [a] [VTree a] |
VLeaf [a] |

#### Instances

Instances details

Show a => Show (VTree a) Source # |
Instance details Defined in Text.Atom.Feed.Validate Methods showsPrec :: Int -> VTree a -> ShowS Source # show :: VTree a -> String Source # showList :: [VTree a] -> ShowS Source #
Eq a => Eq (VTree a) Source # |
Instance details Defined in Text.Atom.Feed.Validate Methods (==) :: VTree a -> VTree a -> Bool Source # (/=) :: VTree a -> VTree a -> Bool Source #

type ValidatorResult = VTree (Bool, String) Source #

advice :: String -> ValidatorResult Source #

demand :: String -> ValidatorResult Source #

valid :: ValidatorResult Source #

mkTree :: [(Bool, String)] -> [ValidatorResult] -> ValidatorResult Source #

flattenT :: VTree a -> [a] Source #

validateEntry :: Element -> ValidatorResult Source #

checkEntryAuthor :: Element -> ValidatorResult Source #

checkCats :: Element -> ValidatorResult Source #

checkContents :: Element -> ValidatorResult Source #

checkContributor :: Element -> ValidatorResult Source #

checkContentLink :: Element -> ValidatorResult Source #

checkLinks :: Element -> ValidatorResult Source #

checkId :: Element -> ValidatorResult Source #

checkPublished :: Element -> ValidatorResult Source #

checkRights :: Element -> ValidatorResult Source #

checkSource :: Element -> ValidatorResult Source #

checkSummary :: Element -> ValidatorResult Source #

checkTitle :: Element -> ValidatorResult Source #

checkUpdated :: Element -> ValidatorResult Source #

checkCat :: Element -> ValidatorResult Source #

checkContent :: Element -> ValidatorResult Source #

checkTerm :: Element -> ValidatorResult Source #

checkAuthor :: Element -> ValidatorResult Source #

checkPerson :: Element -> ValidatorResult Source #

checkName :: Element -> ValidatorResult Source #

checkEmail :: Element -> ValidatorResult Source #

checkUri :: Element -> ValidatorResult Source #