Text.Atom.Feed.Validate

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 #

Constructors

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

#### Instances

Instances details

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

type ValidatorResult = VTree (Bool, String) #

advice :: String -> ValidatorResult #

demand :: String -> ValidatorResult #

valid :: ValidatorResult #

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

flattenT :: VTree a -> [a] #

validateEntry :: Element -> ValidatorResult #

checkEntryAuthor :: Element -> ValidatorResult #

checkCats :: Element -> ValidatorResult #

checkContents :: Element -> ValidatorResult #

checkContributor :: Element -> ValidatorResult #

checkContentLink :: Element -> ValidatorResult #

checkLinks :: Element -> ValidatorResult #

checkId :: Element -> ValidatorResult #

checkPublished :: Element -> ValidatorResult #

checkRights :: Element -> ValidatorResult #

checkSource :: Element -> ValidatorResult #

checkSummary :: Element -> ValidatorResult #

checkTitle :: Element -> ValidatorResult #

checkUpdated :: Element -> ValidatorResult #

checkCat :: Element -> ValidatorResult #

checkContent :: Element -> ValidatorResult #

checkTerm :: Element -> ValidatorResult #

checkAuthor :: Element -> ValidatorResult #

checkPerson :: Element -> ValidatorResult #

checkName :: Element -> ValidatorResult #

checkEmail :: Element -> ValidatorResult #

checkUri :: Element -> ValidatorResult #