Since some years I´m using Pronto remotes. Now I´ve got a TSU7400 and starting to configure it. As there seems to be no working weather script I started to adapt ScottGrimes version to my Pronto. As I do not want to pay for weather.com I was looking for an alternative which google.com offers. I already get XML back to my Pronto but reading the different segments is not working. Maybe someone could have a look into that.
// Trim the XML tag off if it was included. if (xmlData.indexOf("<?xml")) xmlData = xmlData.substring(xmlData.indexOf("?>")+2);
// DEFINE VARIABLES
var weatherData = new XML(xmlData); //CF.widget("_PS_DEBUG_").label = weatherData; -> here I can see above posted XML data
// Obtain the name of city based on city code data var locationText = "" + weatherData.forecast_information.city; // Force it to be a string CF.widget("_PS_DEBUG_").label = weatherData.forecast_information.city;
-> getting no values displayed also tried CF.widget("_PS_DEBUG_").label = weatherData.weather.forecast_information.city; CF.widget("_PS_DEBUG_").label = weatherData.weather.forecast_information.city;