Page 1 of 1

Landscape support?

Posted: Fri Jul 16, 2010 5:26 pm
by nico
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

Re: Landscape support?

Posted: Fri Jul 16, 2010 10:30 pm
by Mike
I vote for this feature too .... please :-)


Mike

Re: Landscape support?

Posted: Fri Jul 16, 2010 10:55 pm
by hermanz
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

Re: Landscape support?

Posted: Sat Jul 17, 2010 3:03 pm
by nico
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...

Re: Landscape support?

Posted: Sat Jul 17, 2010 5:33 pm
by tph06784
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.

Re: Landscape support?

Posted: Sat Jul 17, 2010 7:12 pm
by nico
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

Re: Landscape support?

Posted: Sat Jul 17, 2010 9:29 pm
by hermanz
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

Re: Landscape support?

Posted: Sat Jul 17, 2010 10:54 pm
by nico
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: