hi
In my application I want to extract the latest date shown in web page. I am using System.Xml.Linq.XDocument class to extract content. But I am not able to extract pubdate of feed. Here is my code but its giving exception.
System.Xml.Linq.XDocument feeddata =
System.Xml.Linq.XDocument.Load(
"http://feeds2.feedburner.com/plasticsnews/plasticsinformation/plastopedia");
var maxPubDates = (from feeds in feeddata.Descendants("Feeds")select feeds );
DateTime maxDate = maxPubDates.Max(feed => (DateTime) feed.Element("pubDate"));