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?) |
return |
public static RSSFeed GetFeed(string Url)
{
RSSReader rssReader = new RSSReader();
return rssReader.Retrieve(Url);
}
RSSReader::GetFeed ( string Url, bool RdfFormat ) : |
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); }