mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-10 17:02:54 +01:00
Use AtomParser in FeedParser.
This commit is contained in:
parent
73ef8f085a
commit
e1f3da7b09
@ -39,11 +39,12 @@ public struct FeedParser {
|
||||
return nil // TODO: try RSSInJSONParser.parse(parserData)
|
||||
|
||||
case .rss:
|
||||
let rssFeed = RSSParser.parsedFeed(with: parserData)
|
||||
return RSSFeedTransformer.parsedFeed(with: rssFeed)
|
||||
let feed = RSSParser.parsedFeed(with: parserData)
|
||||
return RSSFeedTransformer.parsedFeed(with: feed)
|
||||
|
||||
case .atom:
|
||||
return nil // TODO: AtomParser.parse(parserData)
|
||||
let feed = AtomParser.parsedFeed(with: parserData)
|
||||
return RSSFeedTransformer.parsedFeed(with: feed)
|
||||
|
||||
case .unknown, .notAFeed:
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user