C# Class NewsKit.AtomParser

Inheritance: IFeedParser
显示文件 Open project: wfarr/newskit Class Usage Examples

Public Methods

Method Description
AtomParser ( string uri, string xml ) : System
GetRfc822DateTime ( XmlNode node, string tag ) : System.DateTime
GetXmlNodeText ( XmlNode node, string tag ) : string
GetXmlNodeUrl ( XmlNode node, string tag ) : string
ProcessXmlNodeLinks ( XmlNodeList node, Item item ) : void

Private Methods

Method Description
ParseItem ( XmlNode node ) : Item

Method Details

AtomParser() public method

public AtomParser ( string uri, string xml ) : System
uri string
xml string
return System

GetRfc822DateTime() public method

public GetRfc822DateTime ( XmlNode node, string tag ) : System.DateTime
node System.Xml.XmlNode
tag string
return System.DateTime

GetXmlNodeText() public method

public GetXmlNodeText ( XmlNode node, string tag ) : string
node System.Xml.XmlNode
tag string
return string

GetXmlNodeUrl() public method

public GetXmlNodeUrl ( XmlNode node, string tag ) : string
node System.Xml.XmlNode
tag string
return string

ProcessXmlNodeLinks() public method

public ProcessXmlNodeLinks ( XmlNodeList node, Item item ) : void
node System.Xml.XmlNodeList
item Item
return void