mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-13 17:22:48 -05:00
Fix getting channel for RSS feeds
This commit is contained in:
@@ -30,7 +30,8 @@ namespace FeedCenter.FeedParsers
|
||||
return FeedReadResult.UnknownError;
|
||||
|
||||
// Get the channel node
|
||||
XmlNode channelNode = rootNode.SelectSingleNode("default:channel", namespaceManager);
|
||||
var channelNode = rootNode.SelectSingleNode("default:channel", namespaceManager) ??
|
||||
rootNode.SelectSingleNode("channel", namespaceManager);
|
||||
|
||||
if (channelNode == null)
|
||||
return FeedReadResult.InvalidXml;
|
||||
|
||||
Reference in New Issue
Block a user