Solved

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

Posted on 2011-02-18
1
414 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
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 400 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove greater than sign 3 44
Receiving a string from a WebService Push 21 37
Angular - break the dataset in chunks? 7 39
Javascript and Jquery not firing 9 40
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now