You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
Other code:
private List ParseDilbertItemList(string text)
{
var xml = XDocument.Parse(text);
var items = xml.Descendants("item");
int size = items.Count();
var list = items.Select(x =>
new DilbertItem()
{
Title = x.Element("title").Value,
StripUrl = x.Element("enclosure").Attribute("url").Value
}).ToList();
return list;
}