Solved

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

Posted on 2011-02-18
1
430 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.Net MVC Login functions with my own Database and User Tables 2 28
SSIS On fail action 5 38
Reactjs with .NET 3 39
Amazon S3 Images with .Net 3 15
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

820 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