Changes in the location field for the widget
Posted: Wed Sep 19, 2012 9:03 pm
Hello,
When you first generate the widget code for your PWS web site, the location field looks like this:
value="location_id=gn:5520993&location_name=El%20Paso&time_format=12&unit_system=us&background=#FFFFFF©right_bar=false"
/>
When you want to substitute your own PWS data, you are asked to amend it as follows:
"location_id=gn:5128581¤t_weather_url=http://mysite.com/yowindow.xml"/>
</object>
The initial location_id value has many more variables in it than the amended one??? Further, when you want to add your own landscape, you are given yet another way to change that line, i.e.:
value="location_id=360630&landscape=http://myserver.com/landscapes/london/london.ywl"/>
It seems to me based on the examples, that you can have your own website data, or your own landscape image, but not both. I didn't see any examples shown to pick your own PWS data AND your own landscape?
Likewise, what about all the other data that was in the initial value before deleting it to add one or the other of these?
Thanks,
Lew
When you first generate the widget code for your PWS web site, the location field looks like this:
value="location_id=gn:5520993&location_name=El%20Paso&time_format=12&unit_system=us&background=#FFFFFF©right_bar=false"
/>
When you want to substitute your own PWS data, you are asked to amend it as follows:
"location_id=gn:5128581¤t_weather_url=http://mysite.com/yowindow.xml"/>
</object>
The initial location_id value has many more variables in it than the amended one??? Further, when you want to add your own landscape, you are given yet another way to change that line, i.e.:
value="location_id=360630&landscape=http://myserver.com/landscapes/london/london.ywl"/>
It seems to me based on the examples, that you can have your own website data, or your own landscape image, but not both. I didn't see any examples shown to pick your own PWS data AND your own landscape?
Likewise, what about all the other data that was in the initial value before deleting it to add one or the other of these?
Thanks,
Lew