Esempio n. 1
0
 public override void BootstrapAndLoadFeedlist(feeds feedlist)
 {
     if (Offline)
     {
         //TODO
     }
     else
     {
         //matchup feeds from Feedly cloud with
         var cloudFeeds = this.LoadFeedlistFromFeedlyCloud();
     }
 }
Esempio n. 2
0
        public override void LoadFeedlist()
        {
            feeds myFeeds = null;

            if (File.Exists(this.location.Location))
            {
                //load Bandit subscriptions.xml document into memory
                XmlReader     reader     = XmlReader.Create(this.location.Location);
                XmlSerializer serializer = XmlHelper.SerializerCache.GetSerializer(typeof(feeds));
                myFeeds = (feeds)serializer.Deserialize(reader);
                reader.Close();
            }
            else
            {
                myFeeds = new feeds();
            }

            //load feed list from Feedly Cloud and use settings from subscriptions.xml
            this.BootstrapAndLoadFeedlist(myFeeds);
            //FeedlyCloudUpdater.StartBackgroundThread();
        }