Page 2 of 3

Re: YoWindow

Posted: Thu 22 Dec 2011 2:03 pm
by mickopla
mcrossley wrote:The XML is still badly formed because of the "&deg;C" not being escaped. Shouldn't you just be using "C"? (webtag = <#tempunitnodeg>)
Changed the webtag to <#tempunitnodeg> which fixes the xml but still i have US imperial units on Yowindow.

Re: YoWindow

Posted: Thu 22 Dec 2011 2:11 pm
by gemini06720
mickopla wrote:
mcrossley wrote:The XML is still badly formed because of the "&deg;C" not being escaped. Shouldn't you just be using "C"? (webtag = <#tempunitnodeg>)
Changed the webtag to <#tempunitnodeg> which fixes the xml but still i have US imperial units on Yowindow.
As of 06:10 PST (or 14:10 your time) the temperature unit was still not showing inside the 'yowindow.xml' produced by your Cumulus ... thus the temperature in the YoWindow window showing in imperial measurements.

Code: Select all

<temperature unit="">
:(

Re: YoWindow

Posted: Thu 22 Dec 2011 2:22 pm
by par
Mick, I have investigated the HTML of the page where you have added the widget.
Unfortunately it is broken.
You need to adjust it in order the widget to display the weather in Metric units.
Here's how.

Change this:
<param name="flashvars" value="location_id=gn:2960992&current_weather_url=http://www.waterfordcityweather.com/yowindow.xml">&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false" />

To this:
<param name="flashvars" value="location_id=gn:2960992&current_weather_url=http://www.waterfordcityweather.com/yowindow.xml&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false"/>

Be careful, every character is important!

Re: YoWindow

Posted: Thu 22 Dec 2011 2:23 pm
by mickopla
gemini06720 wrote:
mickopla wrote:
mcrossley wrote:The XML is still badly formed because of the "&deg;C" not being escaped. Shouldn't you just be using "C"? (webtag = <#tempunitnodeg>)
Changed the webtag to <#tempunitnodeg> which fixes the xml but still i have US imperial units on Yowindow.
As of 06:10 PST (or 14:10 your time) the temperature unit was still not showing inside the 'yowindow.xml' produced by your Cumulus ... thus the temperature in the YoWindow window showing in imperial measurements.

Code: Select all

<temperature unit="">
:(

How do i get the temp unit to show? Do i need to add a value to the <#tempunitnodeg> tag?

Re: YoWindow

Posted: Thu 22 Dec 2011 2:31 pm
by mickopla
par wrote:Mick, I have investigated the HTML of the page where you have added the widget.
Unfortunately it is broken.
You need to adjust it in order the widget to display the weather in Metric units.
Here's how.

Change this:
<param name="flashvars" value="location_id=gn:2960992&current_weather_url=http://www.waterfordcityweather.com/yowindow.xml">&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false" />

To this:
<param name="flashvars" value="location_id=gn:2960992&current_weather_url=http://www.waterfordcityweather.com/yowindow.xml&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false"/>

Be careful, every character is important!
That fixed it. Thanks Par for your help and also a great yowindow widget ;)

Re: YoWindow

Posted: Thu 22 Dec 2011 2:33 pm
by mcrossley
Either hard code it, or upgrade Cumulus to a more recent version latest is b1024 - I'm not sure the old beta version you are running (b1009) supports that web tag.

Re: YoWindow

Posted: Thu 22 Dec 2011 3:12 pm
by par
You are welcome, Mick.

For all...
Since my post about YoWindow we have upgraded YoWindow widget to version 3.
It is much faster and have some candy features.

If you have not seen YoWindow weather widget yet, check it out. It is absolutely free.

Re: YoWindow

Posted: Fri 23 Dec 2011 3:02 am
by MickinMoulden
par wrote:You are welcome, Mick.

For all...
Since my post about YoWindow we have upgraded YoWindow widget to version 3.
It is much faster and have some candy features.

If you have not seen YoWindow weather widget yet, check it out. It is absolutely free.
I've checked it out. I'm impressed. I would like to have the widget have "floatLeftClear" applied to it in my website. Before I start playing with the code, I'm going to have lunch. mmmm. Would you have any suggestions on doing this?

Re: YoWindow

Posted: Fri 23 Dec 2011 4:29 pm
by mickopla
par wrote:You are welcome, Mick.

For all...
Since my post about YoWindow we have upgraded YoWindow widget to version 3.
It is much faster and have some candy features.

If you have not seen YoWindow weather widget yet, check it out. It is absolutely free.
Hi Par
I noticed in the yowindow.xml file there is more data available than is shown on screen, eg rain today ext. I was wondering is there anyway to show this on screen, Tia

Mick

Re: YoWindow

Posted: Wed 28 Dec 2011 7:53 am
by par
Hey, friends!
Sorry for the delay...

MickinMoulden, please drop me an email to support@repkasoft.com and I will help you to setup YoWindow weather widget on your web page.

Mick, yes, you can display many PWS parameters inside YoWindow widget screen.
You just need to pass more flashvars parameters to the widget, to display rain rate, UV or snow level.
You will find a complete list of widget parameters and instruction how to set them at this page.
http://yowindow.com/widget_parameters.php

This is how YoWindow widget can look after you have adjusted the PWS parameters.
38cb07181a.png

Re: YoWindow

Posted: Thu 29 Dec 2011 4:05 am
by mickopla
par wrote:Hey, friends!
Sorry for the delay...

MickinMoulden, please drop me an email to support@repkasoft.com and I will help you to setup YoWindow weather widget on your web page.

Mick, yes, you can display many PWS parameters inside YoWindow widget screen.
You just need to pass more flashvars parameters to the widget, to display rain rate, UV or snow level.
You will find a complete list of widget parameters and instruction how to set them at this page.
http://yowindow.com/widget_parameters.php

This is how YoWindow widget can look after you have adjusted the PWS parameters.
38cb07181a.png
Thanks par for the reply. I managed to add Dew Point and rain total to my screen but can't seem to get Sunrise, Sunset and day length to work. Can you look at the code for me and tell me what i'm doing wrong. Cheers
Mike
www.waterfordcityweather.com/wxyowindow.php

Re: YoWindow

Posted: Thu 29 Dec 2011 2:05 pm
by beteljuice
The end of your parameters string is incorrect and may affect the way data is parsed.

currently:

Code: Select all

i_dayLength=1& pass"astronomy"/>
Should be:

Code: Select all

i_dayLength=1&i_astronomy=1"/>

Re: YoWindow

Posted: Fri 30 Dec 2011 5:20 am
by mickopla
beteljuice wrote:The end of your parameters string is incorrect and may affect the way data is parsed.

currently:

Code: Select all

i_dayLength=1& pass"astronomy"/>
Should be:

Code: Select all

i_dayLength=1&i_astronomy=1"/>
Thanks beteljuice that fixed the issue :clap:

Re: YoWindow

Posted: Fri 30 Dec 2011 7:42 am
by JennyLeez
I can get the rain and depoint but not the sunrise or sun set.
Beteljuice would you be so kind as to check mine please:

value="location_id=gn:2206808&current_weather_url=http://wairoa.net/yowindow.xml&location ... i_sunset=1">

http://wairoa.net/weather/animate.htm

Re: YoWindow

Posted: Fri 30 Dec 2011 12:05 pm
by beteljuice
It looks like they are a 'sub-division' of astronomy.

add

Code: Select all

&i_astronomy=1
and it will work :roll:


EDIT - For information ONLY, the following suggestion DOES NOT WORK !!!
BTW. your xml file seems to not parse properly (in a browser)
It suggests

Code: Select all

        <temperature unit="&deg;C">
           <current value="18.8"/>
           <feels_like value="18.8"/>
        </temperature>
Should be

Code: Select all

        <temperature>
           <unit value="&deg;C">
           <current value="18.8"/>
           <feels_like value="18.8"/>
        </temperature>
It seems to work, but that may be because in the parameters you have stated the units are metric.