Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
?
450 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

636 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