------------------------------------------------------------------------
-- $parsing
-- Feeds can be parsed from different sources.

-- | Parse feed from file.
parseFile :: FilePath -> IO (Either ParseError Feed)
parseFile fp = parseLBS <$> LBS.readFile fp
parseFile :: FilePath -> IO (Either ParseError Feed)
parseFile fp = parseLBS <$> LBS.readFile fp
parseFile fp = parseLBS <$> LBS.readFile fp