Beispiel #1
0
        /// <summary>
        /// Tests the link. Raises an exception if link is not parseable.
        /// </summary>
        private string testLink()
        {
            //Set Atom URL text
            setLinkText();

            //Try parsing the text
            var parser = new FeedParser(lnkFeedUrl.Text);

            return(parser.FeedTitle);
        }
Beispiel #2
0
        /// <summary>
        /// Gets the ATOM Feed.
        /// </summary>
        internal void GetFeed()
        {
            try
            {
                _parser = new FeedParser(feedsUrl);
            }
            catch (Exception ex)
            {
                var dialog = new ErrorDialog(Strings.ErrorReadingIssuesListTitle, String.Format(Strings.ErrorReadingIssuesListMessage, Environment.NewLine + ex.Message), ex, ErrorDialog.ButtonState.CloseContinue);
                dialog.ShowDialog(AppWindow);

                FeedFailedToLoad = true;
            }
        }
Beispiel #3
0
        /// <summary>
        /// Gets the ATOM Feed.
        /// </summary>
        internal void GetFeed()
        {
            try
            {
                _parser = new FeedParser(feedsUrl);
            }
            catch (Exception ex)
            {
                var dialog = new ErrorDialog(Strings.ErrorReadingIssuesListTitle, String.Format(Strings.ErrorReadingIssuesListMessage, Environment.NewLine + ex.Message), ex, ErrorDialog.ButtonState.CloseContinue);
                dialog.ShowDialog(AppWindow);

                FeedFailedToLoad = true;
            }
        }