private static FeedImageInfo CreateImageInfoFromXmlNode(XmlNode root) { FeedImageInfo result = new FeedImageInfo(); result.link = root.SelectSingleNode("link").InnerText; result.title = root.SelectSingleNode("title").InnerText; result.url = root.SelectSingleNode("url").InnerText; result.image = ImageLoadHandler.GetImage(result.url); if (result.image == null) { result.image = ImageLoadHandler.GetImage(result.link); } return(result); }