c# - Linq to RSS feed? -
What I'm trying to do is to get an RSS feel URL and, able to write a question using LINQ Maybe I sort out the subject line of the feed or sort the author's feed line or even the 'WHERE' segment which will allow me to filter by keyword for example.
I know that I can read RSS feeds, parse each element, put them in some object object collection and close LINQ, but I was thinking that Microsoft did this A simple way is provided. Net Framework
You should see the class.
var reader = XmlReader.Create ("http://url.to/sss/"); Var Feed = Syndication Feed. Load (reader); Find items by // Jesper Feed. item. Where (i = & gt; i.Authors.Any (p = & gt; p.Name == "Jesper")); // According to date published by order var var = feed.Items.OrderBy (i = & gt; i.PublishDate);
Comments
Post a Comment