Page 2 of 4

Re: PWS: Weather Display Template

Posted: Fri Jan 15, 2010 9:07 pm
by Stillweather
That was easy! It must have been the way I saved the crossdomain.xml file. Once I did as you said it worked right away!

Thanks.

Re: PWS: Weather Display Template

Posted: Fri Jan 15, 2010 9:47 pm
by par
Perfect! :)

Re: PWS: Weather Display Template

Posted: Sat Jan 16, 2010 2:22 am
by tph06784
Changing the way I saved the file made the difference. Working great now.

Re: PWS: Weather Display Template

Posted: Sat Jan 16, 2010 4:41 am
by weathergirl
Thanks for the clarification, par. The yowindow is now displaying my pws data :)

Re: PWS: Weather Display Template

Posted: Sat Jan 16, 2010 10:12 am
by par
Woohoooo! :)

Re: PWS: Weather Display Template

Posted: Sat Jan 16, 2010 2:12 pm
by Jose1701
Works great for me, too.

Something I asked in weather display forum: (will do it here, too)
By the way I'm a bit confused. Now WD makes the xml file which is in use by yowindow. How it is possible to change some settings. e.g. I wanted to let yowindows get the current weatherdescription but let WD do the rest.
Regards

Jose

Re: PWS: Weather Display Template

Posted: Sat Jan 16, 2010 6:33 pm
by par
If you remove <sky> tag from the template/script, YoWindow will take the data from METAR.

If you want YoWindow to display description from METAR, but take all other data from your station, there is a problem.
1. YoWindow does not support this trick now.
2. Picture inside YoWindow is built from Weather Station data, and the description is supposed to describe that picture.
Displaying description for other data (METAR) is quite strange.
Why do you need this?

Re: PWS: Weather Display Template

Posted: Sun Jan 17, 2010 11:55 am
by gemini06720
Jose1701 wrote:By the way I'm a bit confused. Now WD makes the xml file which is in use by yowindow. How it is possible to change some settings. e.g. I wanted to let yowindows get the current weatherdescription but let WD do the rest.
Jose, I do not think you can do that when using the XML file produced by Weather Display - the template format for the XML is built into WD (the only options are to produce the XML file and to upload the XML file).

The only way to do that would be for Brian Hamilton to produce an external template (with the YoWindow tags in it). When WD runs, it would import that external template to produce the XML file.

Re: PWS: Weather Display Template

Posted: Sun Jan 17, 2010 12:10 pm
by jmcmurry
Jose,

You can implement the template that is in the first post of this thread, then you can experiment with whichever tags you wish. No need to ask Brian to change anything.

- Jim

Re: PWS: Weather Display Template

Posted: Mon Jan 18, 2010 11:31 pm
by Jose1701
Thanks a lot.

I now understand. I will see if the code that Brian made were good for my personal use. I think it will be fine.

I will see.

Regards

Jose