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] Source #

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

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

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

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

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

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

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

children :: Element -> [Element] Source #

qualName :: Text -> Name Source #

dcName :: Text -> Name Source #

elementToRSS :: Element -> Maybe RSS Source #

elementToChannel :: Element -> Maybe RSSChannel Source #

elementToImage :: Element -> Maybe RSSImage Source #

elementToCategory :: Element -> Maybe RSSCategory Source #

elementToCloud :: Element -> Maybe RSSCloud Source #

elementToItem :: Element -> Maybe RSSItem Source #

elementToSource :: Element -> Maybe RSSSource Source #

elementToEnclosure :: Element -> Maybe RSSEnclosure Source #

elementToGuid :: Element -> Maybe RSSGuid Source #

elementToTextInput :: Element -> Maybe RSSTextInput Source #

elementToSkipHours :: Element -> Maybe [Integer] Source #

elementToSkipDays :: Element -> Maybe [Text] Source #

readInt :: Text -> Maybe Integer Source #

readBool :: Text -> Maybe Bool Source #