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

Portability | portable
Stability | provisional
Maintainer | Sigbjorn Finne <sof@forkIO.com>
Safe Haskell | Safe-Inferred

Text.Atom.Feed.Validate

Description

# Documentation

data VTree a Source

Constructors

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

Instances

Eq a => Eq (VTree a) |
Show a => Show (VTree a) |

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