Weather Display Template

User avatar
Stillweather
Posts: 4
Joined: Thu Jan 14, 2010 9:54 pm
Location: Branford, Connecticut USA

Re: PWS: Weather Display Template

Post by Stillweather » Fri Jan 15, 2010 9:07 pm

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.
Image

User avatar
par
Posts: 8148
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: PWS: Weather Display Template

Post by par » Fri Jan 15, 2010 9:47 pm

Perfect! :)
Get YoWindow weather app for your phone or tablet.

Image Image Image

tph06784
Posts: 94
Joined: Sun Oct 25, 2009 3:52 pm

Re: PWS: Weather Display Template

Post by tph06784 » Sat Jan 16, 2010 2:22 am

Changing the way I saved the file made the difference. Working great now.

weathergirl
Posts: 18
Joined: Thu Oct 15, 2009 3:01 am
Name: Ann-Marie
Location: Beamsville, Ontario, Canada
Contact:

Re: PWS: Weather Display Template

Post by weathergirl » Sat Jan 16, 2010 4:41 am

Thanks for the clarification, par. The yowindow is now displaying my pws data :)

User avatar
par
Posts: 8148
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: PWS: Weather Display Template

Post by par » Sat Jan 16, 2010 10:12 am

Woohoooo! :)
Get YoWindow weather app for your phone or tablet.

Image Image Image

Jose1701

Re: PWS: Weather Display Template

Post by Jose1701 » Sat Jan 16, 2010 2:12 pm

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

User avatar
par
Posts: 8148
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: PWS: Weather Display Template

Post by par » Sat Jan 16, 2010 6:33 pm

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?
Get YoWindow weather app for your phone or tablet.

Image Image Image

gemini06720

Re: PWS: Weather Display Template

Post by gemini06720 » Sun Jan 17, 2010 11:55 am

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.

jmcmurry
Posts: 368
Joined: Tue Oct 13, 2009 11:09 am
Name: Jim
Location: Mauston, WI, USA
Contact:

Re: PWS: Weather Display Template

Post by jmcmurry » Sun Jan 17, 2010 12:10 pm

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

Jose1701

Re: PWS: Weather Display Template

Post by Jose1701 » Mon Jan 18, 2010 11:31 pm

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

Post Reply