Page 1 of 3
Own picture in website widget
Posted: Sun Jul 18, 2010 3:12 pm
by Holli
It's nice to have a picture with the silhouette of my town on my desktop, but much more I'd like this picture on my website with local weather data.
How can get this working? I don't find a parameter for a landscape.
Re: Own picture in website widget
Posted: Sun Jul 18, 2010 3:23 pm
by ikarus1969
Maybe the link to the
Live-Sky-tutorial will help.
In this tutorial, right in the beginning there's the sentence
"And
here is the same picture, but with the living sky"
The link under "here" is:
Code: Select all
http://yowindow.com/online.html?location_id=gn:360630&ln=Cairo&landscape=http://landscape.yowindow.com/landscapes/pyramids/pyramids1.ywl
with the "landscape"-parameter to the ywl-file.
Maybe you can try this.
Re: Own picture in website widget
Posted: Sun Jul 18, 2010 8:27 pm
by Holli
Thanks, works really fine:
http://wetter.altenessen.info/animation.html
Now I need a much better picture...

Re: Own picture in website widget
Posted: Mon Jul 19, 2010 4:19 am
by ikarus1969
You're welcome!
Regarding the picture: why not taking one from the A40 which was closed yesterday as far as i have seen on WDR? (don't take that too serious

)
Edit: in case you didn't tried it already, you eventually get help from the "
Stadtbildstelle Essen" who maybe give you the right to use one of their photos for your homepage.
Re: Own picture in website widget
Posted: Mon Jul 19, 2010 8:45 am
by Holli
ikarus1969 wrote:Regarding the picture: why not taking one from the A40 which was closed yesterday as far as i have seen on WDR? (don't take that too serious

)
The A40 is "far" away from Altenessen. "Our" Autobahn is the A42
Edit: in case you didn't tried it already, you eventually get help from the "
Stadtbildstelle Essen" who maybe give you the right to use one of their photos for your homepage.
They have many nice pictures, but none of the kind I wanted for Yowindow: A panorama of the district. There are many panoramas of the impressing silhouette of Essen, but none that shows only Altenessen. My Photo was taken from the
Schurenbachhalde, the highest "hill" in Northern Essen.
Re: Own picture in website widget
Posted: Fri Aug 20, 2010 6:37 pm
by eg435
Hello,
Do you need to set some special server setting for it to serve the ywl file correctly? If I hotlink to
http://landscape.yowindow.com/landscape ... amids1.ywl or to Holli's ywl file, it loads it perfectly. When I tried my own files, I had no success, it says loading background and gives me just a sky. When I copied both of these ywl and image combinations to my server, they would not work either (made sure to adjust paths), I am on an Apache server, the source code is the same, so I am assuming its something on my end. I can use any ywl file posted elsewhere, but not on my own server.
Any ideas? Thanks!
Re: Own picture in website widget
Posted: Fri Aug 20, 2010 7:12 pm
by ikarus1969
Do you have a file "crossdomain.xml" in the root-directory of your webserver/home-page?
If not, you can read about this in the faq at the
section about connecting a PWS to YoWindow, Point 2.
The 2 ywl-files you have connected to are working because in the root-directory of these sites there exist an crossdomain.xml-file
Re: Own picture in website widget
Posted: Sat Aug 21, 2010 8:38 pm
by eg435
I uploaded that file, but it did not help. Also, I am not trying to connect to a PWS - I just want to use the image. Also, I looked at that XML file, is there any way to lock that down - it looks like I am letting the entire world cross connect to me. Everything works except "landscape=" part. Why would there be a cross domain issue from reading my own server, but not the others? Perhaps this needs to be explained differently because I am just not getting it.
Thanks
Re: Own picture in website widget
Posted: Fri Sep 10, 2010 6:31 pm
by keithfdean
I want to use my image with the living sky.
the HTML I am using for the default landscape is as follows :-
<div style="width:140px; height:97px;">
<object type="application/x-shockwave-flash" data="
http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="140" height="97">
<param name="movie" value="
http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:3177090&time_format=24&unit_system=metric&background=#FFFFFF&mini_momentBar=false©right_bar=false"
/>
<a href="
http://yowindow.com?client=widget&link=stub"
style="width:140px;height:97px;display: block;text-indent: -50000px;font-size: 0px;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background:#DDF url(
http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 140px; height: 15px; font-size: 12px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="
http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Weather screensavers">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a href="
http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
I don't know HTML - where exactly do I insert the address of my landscape file?
Help appreciated
Keith
Re: Own picture in website widget
Posted: Sun Sep 12, 2010 4:59 pm
by par
Hey, Keith!
Sorry for the late answer.
This way
<param name="flashvars"
value="location_id=gn:3177090&time_format=24&unit_system=metric&background=#FFFFFF&mini_momentBar=false©right_bar=false
&landscape=http://landscape.yowindow.com/landscape ... amids1.ywl"/>