Пример #1
0
 public Feed(string url)
 {
     this.TheList = new RssList <Episode>();
     this.Url     = url;
     this.Name    = RSSDataBaseHandling.GetName(Url);
     SetTimer();
 }
Пример #2
0
        public static bool CheckRssLink(string url)
        {
            string title = RSSDataBaseHandling.GetName(url);

            if (title != null)
            {
                return(true);
            }
            else
            {
                throw new RssReaderException("Kan inte hitta någon data." + "\n" + "Kontrollera den angivna länken.");
            }
        }
Пример #3
0
 public string ForceName()
 {
     Name = RSSDataBaseHandling.GetName(Url);
     return(Name);
 }