Landscape support?

Personnal Weather Station (PWS) support
Post Reply
User avatar
nico
Posts: 44
Joined: Sat Jan 02, 2010 11:40 pm
Location: Maurik, Netherlands
Contact:

Landscape support?

Post by nico » Fri Jul 16, 2010 5:26 pm

Now that this is working fabulously on the desktop :D can we get the same for the widget soonish?
That would really enhance the experience of visiting the PWS-sites, each there own local piture!

rgds
nico
best regards
Nico
http://www.wsMaurik.nl/

Mike

Re: Landscape support?

Post by Mike » Fri Jul 16, 2010 10:30 pm

I vote for this feature too .... please :-)


Mike

User avatar
hermanz
Posts: 1889
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands
Contact:

Re: Landscape support?

Post by hermanz » Fri Jul 16, 2010 10:55 pm

What are you asking for.
Do you want to show Yowindow on your website with your own picture.

Look at my site http://www.hermanz.nl

make in the root of your website the directory img
place here your picture.
place the file ywl in the root

The code :
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="600" height="480">
<param name="allowfullscreen" value="true" />
<param name="wmode" value="opaque" />
<param name="bgcolor" value="#FFFFFF" />
<param name="flashvars" value="location_id=gn:2750325&current_weather_url=http://www.hermanz.nl/YOWINDOW.XML&land ... _bar=false" />
<param name="src" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" />
</object>


succes
Herman
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )

User avatar
nico
Posts: 44
Joined: Sat Jan 02, 2010 11:40 pm
Location: Maurik, Netherlands
Contact:

Re: Landscape support?

Post by nico » Sat Jul 17, 2010 3:03 pm

Weird Herman, if I add the 'landscape' entry to the flashvars it doesn't work on my testsystem.

flashvars="value=location_id=gn:27459128&location_name=Maurik&<BREAK FOR READING>
landscape=http://127.0.0.1/pyramids.ywl&unit_syst ... nd=#FFFFFF"


And neither on my live-website at http://www.wsMaurik.nl
I'm not even using the PWS-data yet, maybe because I'm running it within wordpress but still
thanks anyway, hope somebody get this to work...
best regards
Nico
http://www.wsMaurik.nl/

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

Re: Landscape support?

Post by tph06784 » Sat Jul 17, 2010 5:33 pm

The ywl file would have to be on your webserver and would have to point to the png that should be on the webserver.
I have mine located at landscape=http://www.shermanctweather.com/happyacres1a.ywl
The 127.0.0.1 I think is a local address.

User avatar
nico
Posts: 44
Joined: Sat Jan 02, 2010 11:40 pm
Location: Maurik, Netherlands
Contact:

Re: Landscape support?

Post by nico » Sat Jul 17, 2010 7:12 pm

Well. I've been trying different options but I haven't got a clue.

The root of my website has the pyramids ywl-file and the img directory.
I've also created a single hml-file in the root-directory which 'shoud' show the pyramids picture in yowindow, named yow.html.

Perhaps somebody can check what is wrong?
url: http://www.weerstationmaurik.nl/
html: http://www.weerstationmaurik.nl/yow.html
ywl: http://www.weerstationmaurik.nl/pyramids.ywl
img: http://www.weerstationmaurik.nl/img/pyramids.png

thanks,
nico
best regards
Nico
http://www.wsMaurik.nl/

User avatar
hermanz
Posts: 1889
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands
Contact:

Re: Landscape support?

Post by hermanz » Sat Jul 17, 2010 9:29 pm

Nico

127.0.0.1 is a localhost adress. You cannot use this
the file pyramids.ywl is wrong


<landscape name="Live Sky example" type="picture" id="com.yowindow.pyramids">
<data src="http://www.weerstationmaurik.nl/img/pyramids.png" horizonLevel="382">
<about>The original <a href="http://www.flickr.com/photos/yourdon/31 ... ">photo</a> by Ed Yourdon</about>
</data>
</landscape>

this should be

<landscape name="Live Sky example" type="picture" id="com.yowindow.pyramids">
<data src="img/pyramids.png" horizonLevel="382">
<about>The original <a href="http://www.flickr.com/photos/yourdon/31 ... ">photo</a> by Ed Yourdon</about>
</data>
</landscape>


succes
Herman
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )

User avatar
nico
Posts: 44
Joined: Sat Jan 02, 2010 11:40 pm
Location: Maurik, Netherlands
Contact:

Re: Landscape support?

Post by nico » Sat Jul 17, 2010 10:54 pm

ALL,

It was working in all instances (you can use different filepaths for ywl/png), but I forgot to add the crossdomain.xml file to the root directory of my server.... AAAAAAAAAAAAh :shock: .
The blinding obvious thing to check first :oops:
best regards
Nico
http://www.wsMaurik.nl/

Post Reply