?
Solved

What is the proper tag to download an RSS Feed for the XmlReader in .NET C#?

Posted on 2011-02-18
1
Medium Priority
?
442 Views
Last Modified: 2012-05-11
Hello,

I have the following code and I am getting the following error:

"The URI Prefix is not supported"

So, what tag do I use to download an RSS Feed and later Parse it??

Thanks!!!!!!!!
XmlReader reader = XmlReader.Create("feed://feeds.feedburner.com/TriplePundit");
System.ServiceModel.Syndication.SyndicationFeed RSSAtomfeed = System.ServiceModel.Syndication.SyndicationFeed.Load(reader);

Open in new window

0
Comment
Question by:stracqan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 1600 total points
ID: 34927793
"feed:" isn't a valid protocol. Feedburner serves its feeds sing http, so you need to change your first line to:
XmlReader reader = XmlReader.Create("http://feeds.feedburner.com/TriplePundit")

Open in new window

0

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question