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

YoWindow widget Questions, Suggestions and Bugs
Post Reply
cbara

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

Post 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>
cbara

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

Post 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.
jmcmurry
Posts: 368
Joined: Tue Oct 13, 2009 11:09 am
Name: Jim
Location: Mauston, WI, USA
Contact:

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

Post 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
User avatar
Don
Posts: 687
Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:

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

Post 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 7054 times
not_an_error.jpg
not_an_error.jpg (140.12 KiB) Viewed 7054 times
cbara

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

Post 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.
User avatar
Don
Posts: 687
Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:

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

Post 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">
cbara

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

Post by cbara »

Many thanks Don, all has been corrected now and seems to be working OK, much appreciated.
Post Reply