I' trying to read the feed for the Washington Departmene of Fish and Wildlife, and keep etting this error:
The element with name 'RDF' and namespace 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' is not an allowed feed format.
Here's the code from RssController:
public virtual ActionResult Index() { string feedUrl = @"http://wdfw.wa.gov/news/newsrss.php"; using (XmlReader reader = XmlReader.Create(feedUrl)) { **SyndicationFeed rss = SyndicationFeed.Load(reader);** return View(rss); } }
I've done seveal RSS applications but nave never ran into this issue. Anyone got any concrete ways of being able to parse this in ASP.NET MVC 2? (the lines with asterics are where the exception happens.