Author: aspnoob18 | Posted on: 6/25/2008 8:19:42 AM | Views : 290

I have followed Scott Guthrie's Linq to XML to read from an RSS feed and send the results to a DataList.  The code is below:

Dim rssFeed As XDocument = XDocument.Load("http://rss.cnn.com/rss/cnn_latest.rss")
Dim feeds As IEnumerable

feeds = (From item In rssFeed.Descendants("item") _
                     Select New With { _
                            .Title = item.Element("title").Value, _
                        ...

Go to the complete details ...