Text.RSS.Import

feed-0.3.11.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
Safe Haskell | Safe
Language | Haskell98

Text.RSS.Import

Description

Converting from XML to RSS

# Documentation

pNodes :: String -> [Element] -> [Element] #

pQNodes :: QName -> [Element] -> [Element] #

pNode :: String -> [Element] -> Maybe Element #

pQNode :: QName -> [Element] -> Maybe Element #

pLeaf :: String -> [Element] -> Maybe String #

pQLeaf :: QName -> [Element] -> Maybe String #

pAttr :: String -> Element -> Maybe String #

pMany :: String -> (Element -> Maybe a) -> [Element] -> [a] #

children :: Element -> [Element] #

qualName :: String -> QName #

dcName :: String -> QName #

elementToRSS :: Element -> Maybe RSS #

elementToChannel :: Element -> Maybe RSSChannel #

elementToImage :: Element -> Maybe RSSImage #

elementToCategory :: Element -> Maybe RSSCategory #

elementToCloud :: Element -> Maybe RSSCloud #

elementToItem :: Element -> Maybe RSSItem #

elementToSource :: Element -> Maybe RSSSource #

elementToEnclosure :: Element -> Maybe RSSEnclosure #

elementToGuid :: Element -> Maybe RSSGuid #

elementToTextInput :: Element -> Maybe RSSTextInput #

elementToSkipHours :: Element -> Maybe [Integer] #

elementToSkipDays :: Element -> Maybe [String] #

readInt :: String -> Maybe Integer #

readBool :: String -> Maybe Bool #