function extractTempSunriseSunset(rss){
var yweather = new Namespace('http://xml.weather.yahoo.com/ns/rss/1.0');
var temp =rss.channel.item.yweather::condition.@temp.toXMLString();
var sunrise = rss.channel.yweather::astronomy.@sunrise.toXMLString();
var sunset = rss.channel.yweather::astronomy.@sunset.toXMLString();
var j = { "temp" : temp , "sunrise": sunrise , "sunset" : sunset};
return j;
}
i stuck on the bind('::') with javascript which i have been trying for 3 days.
Solved! Go to Solution.
Though I see that in the UI, I am able to save and deploy the proxy. On calling the API, I am able to get the correct response.
The error you are seeing the lint error which you can ignore if the proxy saves successfully.
ss.png here what am doing based on the vidoes on yahoo weather api and if someone understands context.session generated by this exercise plz help.
Though I see that in the UI, I am able to save and deploy the proxy. On calling the API, I am able to get the correct response.
The error you are seeing the lint error which you can ignore if the proxy saves successfully.
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |