Your Universal Remote Control Center
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from


Original thread:
Post 9 made on Tuesday July 14, 2020 at 16:35
Long Time Member
December 2008
function ParseXML(xmldata)
var xmldata = xmldata.replace(/^<\?xml\s+version\s*=\s*(['"])[^\1]+\1[^?]*\?>/, "")
var weatherData = new XML(xmldata);

// Set Activity label to 'standby'.
CF.activity().label = "standby mode...";

// Obtain the name of city based on city code data.
var locationText = "" + [email protected]; // Force it to be a string.

if I left out the . prior to the @ I did not get the information from the xml file I was expecting.

When I used the _PS_DEBUG I would see an error if I left out the period.

This is not my code, It is from Scott's weather module, I am just making the changes to use the openweather feed.

thank you for your help, it seems to be working now.

Hosting Services by ipHouse