Page 1 of 1

Help:showing no weather

Posted: Sat Jan 12, 2013 1:28 pm
by ukwoody
Hi and good morning. Thanks fro a great widget that worked until I mucked it up!

Trying to get my widget to read from my pws, but all I get is the background display and the words "no weather"
Website www.woodyspembs.org.uk

In the html I've put /liveweather in as the page (and without it)
My home dir is home/ukwoody

Html
<div style="width:250px; height:200px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="250" height="200">
<param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:2642534&location_name=Milford%20Haven&current_weather_url=http://woodyspembs.org.uk/liveweather/y ... _bar=false"
/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:250px;height:200px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>HTML weather</a>
</object>
</div>
<div style="width: 250px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; font-weight:bold; text-decoration:none;" title="HTML weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by&nbsp;<a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>

Can anyone see hwat I have done wrong please. Oh I have put crossdomain in the main root not woodyspembs.

Many thanks
woody

Re: Help:showing no weather

Posted: Sat Jan 12, 2013 3:56 pm
by Mallorca
Hi Woody, welcome to our forum.

You use Wordpress as CMS. Do you use also the special code? See the tutorial http://yowindow.com/widget_wordpress.php
Your .xml couldn't be find on your site, so I'm afraid it is the wrong path.

Werner

Re: Help:showing no weather

Posted: Sat Jan 12, 2013 4:31 pm
by ukwoody
Hi Werner, thanks for the reply. For the wordpress yes I did use the correct code. The widget worked fine of the nearest metar, it was only when I tried to change it for my pws I had problems. I've tried several locations for the. xml but I will retry.

Woody

Re: Help:showing no weather

Posted: Sat Jan 12, 2013 5:05 pm
by jmcmurry
Woody,

I also notice that after the url that you posted you have a semi-colon where you'll need & between that and the next parameter. Just a typo I think.

- Jim

Re: Help:showing no weather

Posted: Sat Jan 12, 2013 7:22 pm
by ukwoody
sorry guys, tried and tried

Have ammened html to this, but still no joy. any ideas?
value="location_id=gn:2642534&location_name=Milford%20Haven&current_weather_url=http://woodyspembs.org.uk/yowindow.xml& ... _bar=false"
/>
<a href="http://yowindow.com/weatherwidget.php"

I've put crosdomain just about ruddy everywhere

woody

Re: Help:showing no weather

Posted: Sat Jan 12, 2013 9:33 pm
by ukwoody
SOLVED> I needed to put the www. in front of my web address, I found a comment on another site, tried it and it worked.
Thank you all for your help

woody