For some time now i have been using the Yahoo Weather Api to get current day temperature and forecasts for statistics in a .Net application in C#. Apparently Yahoo updated their api and the application fails to get the data.
I am using an xml document like this to get the data
XmlDocument doc = new XmlDocument();
doc.Load("http://xml.yahooapis.com/forecastrss?w=" + WOEID + "&u=c");
XmlNamespaceManager ns = new XmlNamespaceManager(doc.NameTable);
ns.AddNamespace("yweather", "http://xml.weather.yahoo.com/ns/rss/1.0");
XmlNode nod = doc.SelectSingleNode("/rss/channel/link", ns);
link = nod.InnerText;
....more nodes selected....
and like this i get the xml nodes and values to store them in the database.
What changes do I have to make so that the application will work with the new the api?