Text.RSS.Import

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
Safe Haskell | None
Language | Haskell2010

Text.RSS.Import

Description

Converting from XML to RSS

# Documentation

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

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

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

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

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

pQLeaf :: Name -> [Element] -> Maybe Text #

pAttr :: Text -> Element -> Maybe Text #

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

children :: Element -> [Element] #

qualName :: Text -> Name #

dcName :: Text -> Name #

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 [Text] #

readInt :: Text -> Maybe Integer #

readBool :: Text -> Maybe Bool #