Esempio n. 1
0
 public AtomEntry(XmlNode node)
 {
     Title    = node.SelectSingleNode("title").InnerText;
     Link     = node.SelectSingleNode("link").Attributes["href"].Value;
     Summary  = node.SelectSingleNode("summary").InnerText;
     Modified = DateTime.Parse(node.SelectSingleNode("modified").InnerText);
     Issued   = DateTime.Parse(node.SelectSingleNode("issued").InnerText);
     Author   = new AtomEntryAuthor(node.SelectSingleNode("author/name").InnerText, node.SelectSingleNode("author/email").InnerText);
 }
Esempio n. 2
0
 public AtomEntry(XmlNode node)
 {
     Title = node.SelectSingleNode("title").InnerText;
     Link = node.SelectSingleNode("link").Attributes["href"].Value;
     Summary = node.SelectSingleNode("summary").InnerText;
     Modified = DateTime.Parse(node.SelectSingleNode("modified").InnerText);
     Issued = DateTime.Parse(node.SelectSingleNode("issued").InnerText);
     Author = new AtomEntryAuthor(node.SelectSingleNode("author/name").InnerText, node.SelectSingleNode("author/email").InnerText);
 }