reading weather.com data feed
-
I have come across this artice: g Returned XML with C# and I want to know what's the best way from the listed ways to read weather.com weather xml data feed using C#?
-
I have come across this artice: g Returned XML with C# and I want to know what's the best way from the listed ways to read weather.com weather xml data feed using C#?
jrahma wrote:
I want to know what's the best way
According to the article that you're linking to; "The simplest way to view the returned data is to get the response stream and put it into a string." I'd say the simplest approach that works would be the best :)
I are Troll :suss:
-
I have come across this artice: g Returned XML with C# and I want to know what's the best way from the listed ways to read weather.com weather xml data feed using C#?
If the url returns a .xml or .atom you can try read using XmlReader or if you want a full html code, use WebClient.