Own picture in website widget

Feature discussion
Holli

Own picture in website widget

Post 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.
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Own picture in website widget

Post 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.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Holli

Re: Own picture in website widget

Post by Holli »

Thanks, works really fine: http://wetter.altenessen.info/animation.html :)

Now I need a much better picture... :(
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Own picture in website widget

Post 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.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Holli

Re: Own picture in website widget

Post 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.
eg435

Re: Own picture in website widget

Post 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!
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Own picture in website widget

Post 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
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
eg435

Re: Own picture in website widget

Post 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
keithfdean
Posts: 13
Joined: Wed Sep 08, 2010 1:18 pm
Name: Keith Dean

Re: Own picture in website widget

Post 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&copyright_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
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Own picture in website widget

Post 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&copyright_bar=false&landscape=http://landscape.yowindow.com/landscape ... amids1.ywl"/>
Get YoWindow weather app for your phone or tablet.

Image Image Image
Post Reply