static bool isLocalRssFeed = true; //the flow for isLocalRssFeed = false is not yet supported public static void ReadNewsByCategory(string cat) { RssParser rssParser = new RssParser(); string feedFileName = GetRssFeedFileNameByCategory(cat); if (isLocalRssFeed) { rssParser.initializeLocal(feedFileName); } else { rssParser.initialize("https://www.bing.com/news/?format=RSS"); } ReadOutLoud(GetNewsSummary(rssParser)); }