Page 1 of 1

Widget wont show Weather in Metric Units / 24h Time ?

Posted: Sun Mar 13, 2011 8:28 am
by cbara
Hi, Can anyone please help with this problem ? The HTML source is pasted below; Although the 'location ID' is correct for the Personal Weather Station, the Widget seems to be showing the default weather for Johannesburg, South Africa. Very many thanks and kind regards. (www.baragwanath.co.za/weather)

<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="220" height="150">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars" value="location_id=gn:993800&current_weather_url=http://www.baragwanath.co.za/public_htm ... park,South Africa&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false"/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:220px;height:150px;display: block;text-indent: -50000px;font-size: 0px;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Free Weather Widget</a>
</object>

Re: Widget wont show Weather in Metric Units / 24h Time ? Th

Posted: Thu Mar 17, 2011 9:36 pm
by cbara
Hi thanks for the response on how to fix the Widget HTML and changes to crossdomain.xml. The sugestions fixed the problem of the wather not been shown in metric and the time in the 24hr format, but the Widgest is stil showing the default weather for Johannesburg, and not for the PWS, Any more suggestions please ? Many thanks and kind regards.

Re: Widget wont show Weather in Metric Units / 24h Time ?

Posted: Fri Mar 18, 2011 11:03 am
by jmcmurry
I think someone mentioned earlier the extra quote that might be causing the problem.

value="location_id=gn:993800&current_weather_url=http://www.baragwanath.co.za/public_html/yowindow.xml"&location_name=Randpark,South Africa&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false"/>

- Jim

Re: Widget wont show Weather in Metric Units / 24h Time ?

Posted: Fri Mar 18, 2011 12:29 pm
by Don
Hello cbara,

Compare the two url's in theses screen captures and I think you will find the problem.

Don
an_error.jpg
an_error.jpg (74.15 KiB) Viewed 7061 times
not_an_error.jpg
not_an_error.jpg (140.12 KiB) Viewed 7061 times

Re: Widget wont show Weather in Metric Units / 24h Time ?

Posted: Sat Mar 19, 2011 7:13 pm
by cbara
Hi, many thanks for the help ! Found that neither the yowindow or crossdomain files could be 'seen' with a browser as per Dons examples, and now both have been corrected and are 'visible'. I must be missing something critical - the Widget still wont show the correct weather, any further suggestions please ? Many thanks in advance.

Re: Widget wont show Weather in Metric Units / 24h Time ?

Posted: Sun Mar 20, 2011 12:37 am
by Don
cbara wrote:Hi, many thanks for the help ! Found that neither the yowindow or crossdomain files could be 'seen' with a browser as per Dons examples, and now both have been corrected and are 'visible'. I must be missing something critical - the Widget still wont show the correct weather, any further suggestions please ? Many thanks in advance.
Look carefully at the address bar in the examples in my first post and you will see that yowindow.xml is in the root directory, not in public_html. Remove public_html from this section of the flashvars parameter current_weather_url=http://www.baragwanath.co.za/public_html/yowindow.xml so that looks like the code below, then hopefully YoWindow will be able to find it.

Don

Code: Select all

<param name="flashvars" value="location_id=gn:993800&current_weather_url=http://www.baragwanath.co.za/yowindow.xml&location_name=Randpark,South Africa&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false">

Re: Widget wont show Weather in Metric Units / 24h Time ?

Posted: Sun Mar 20, 2011 11:00 am
by cbara
Many thanks Don, all has been corrected now and seems to be working OK, much appreciated.