Quantcast
Channel: Use Syndicationfeed to load XML with encoded links - Stack Overflow
Browsing index pages (2 articles)

Use Syndicationfeed to load XML with encoded links

I'm reading an RSS using the following code:var reader = XmlReader.Create(url);SyndicationFeed.Load(reader);The RSS looks like this, and SyndicationFeed.Load will throw an exception when the link tag...

View Article


Answer by Charles Mager for Use Syndicationfeed to load XML with encoded links

The issue seems to be the creation of a Uri - you can reproduce with just this code:var uri = new Uri("http://bl%C3%A5jus.se");A possible solution is to pre-process the XML to decode the link urls...

View Article

Browsing index pages (2 articles)


Latest Images