public static GetFeed ( string Url ) : |
||
Url | string | The url to retrieve the RSS feed from, this can /// be in the format of http:// and also file://.. (ftp?) |
Результат |
private bool UpdateItemCollection() { bool ret = false; foreach (string u in mUrlList) { RSSFeed f = RSSReader.GetFeed(u); if (string.IsNullOrEmpty(f.ErrorMessage)) { mItemCollection.RemoveAll(delegate(RSSItem o) { return(o.Feed.URL == u); }); foreach (RSSItem i in f.Items) { mItemCollection.Add(i); ret = true; } } } return(ret); }