Live Sky tutorial feedback

Feature discussion
alex

Re: Live Sky tutorial feedback

Post by alex »

Right. I'm gradually figuring this out. Looks like I have to set up a PWS, and then generate a yowindow.xml file. All seems very tricky. All I want is to overlay my picture on a small (240x150) widget!

Is there a simple way I can do this, please?
jmcmurry
Posts: 368
Joined: Tue Oct 13, 2009 11:09 am
Name: Jim
Location: Mauston, WI, USA
Contact:

Re: Live Sky tutorial feedback

Post by jmcmurry »

I believe you can just leave the PWS parameter out and proceed with the rest. Your image and .ywl file must be available on your server for this to work.

- Jim
alex

Re: Live Sky tutorial feedback

Post by alex »

Thanks for replying.

Actually, that's what I did at first. Both the png and ywl are on the remote server, so I really don't know why it's not working.

Alex
alex

Re: Live Sky tutorial feedback

Post by alex »

SUCCESS!!!
newpost.jpg
newpost.jpg (121.61 KiB) Viewed 19684 times


Thanks to all who submitted responses. See the widget in action at http://vrsovicedailyphoto.blogspot.com, and, if you like it, befriend my faecbook page.

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

Re: Live Sky tutorial feedback

Post by nico »

Tutorial is great for converting images to transparant, for getting things to work we require below or you will only see the sky, clouds and sun/moon and no picture;

It only mentions the crossdomain.xml in the PWS section, but it also applies to the Landscaping....
Refer to below highlighted point 2 in the PWS section;

2. Make sure a special crossdomain.xml file is available on the server where YoWindow XML file or script is kept.
WARNING: YoWindow will NOT be able to access YoWindow XML file or script if crossdomain.xml is missing.
<more text to follow>
best regards
Nico
http://www.wsMaurik.nl/
datalux
Posts: 4
Joined: Thu Sep 02, 2010 3:44 pm
Name: datalux

Re: Live Sky tutorial feedback

Post by datalux »

Hi guys...please take a look at

http://meteosantamaria.altervista.org/w ... ow-002.php

using Internet Explorer AND Firefox. I do not know because it happens ... I followed tutorial step by step...crossdomain.xml is ok, the transparency is OK (tested with test.html by nico),link with my pws is ok, yo_sma.png (image file) is in IMG folder, sma.ywl is in the rott of server....but something is wrong!!!

The code of sma.ywl is

<?xml version="1.0" encoding="UTF-8"?>
<landscape name="sma" type="picture" id="sma">
<data horizonLevel="189" src="img/yo_sma.png">
<about>
</about>
</data>
</landscape>
I tried ./img/yo_sma.png; /img/yo_sma.png; img/yo_sma.png; I put image file (yo_sma.png) in the root of server...(so the cose of .ywl was yo_sma.png)...I've done a thousand tests...but only firefox works, IE doesn't.........WHYYYYY?????
Who will solve the strangeness will win a million of........ :D

Bye for now
Lucio
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Live Sky tutorial feedback

Post by par »

Dear Lucio, I have made a couple of experiments, now I am almost sure where the problem is.
In crossdomain.xml
This file must be put in the root directory of the web server.

This is where you have it now
http://meteosantamaria.altervista.org/crossdomain.xml

And this is where Microsoft Internet Explorer expects it to be
http://altervista.org/crossdomain.xml

And my guess is that you are not able to do this on altervista.org

So I would suggest you to change the hosting.
You may ask Herman to host the landscape for you.
:-(
Get YoWindow weather app for your phone or tablet.

Image Image Image
datalux
Posts: 4
Joined: Thu Sep 02, 2010 3:44 pm
Name: datalux

Re: Live Sky tutorial feedback

Post by datalux »

par wrote:Dear Lucio, I have made a couple of experiments, now I am almost sure where the problem is.
In crossdomain.xml
This file must be put in the root directory of the web server.

This is where you have it now
http://meteosantamaria.altervista.org/crossdomain.xml

And this is where Microsoft Internet Explorer expects it to be
http://altervista.org/crossdomain.xml

And my guess is that you are not able to do this on altervista.org

So I would suggest you to change the hosting.
You may ask Herman to host the landscape for you.
:-(
Many Thank Par...
No, I cannot access to altervista.org...:(
Do you know any other server that works with yowindow??? In Italy or in another coutry...
Meanwhile, I sent an email to Herman....I hope he can host 2 or 3 my landscape images...
Thanx agai Par
Lucio
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Live Sky tutorial feedback

Post by par »

Sorry, I don't know.

Please ask your question on this QA site
http://serverfault.com

And share the answer with us :)
Get YoWindow weather app for your phone or tablet.

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

Re: Live Sky tutorial feedback

Post by hermanz »

Hi Lucio ;)

You can use

http://131.211.131.10/yowindow/landscape/sma/sma.ywl

The results you can see at http://131.211.131.10/yowindow/landscape/sma/

The weather is from the netherlands. It is fine holliday weather with a beautiful landscape.

gr
Herman :D
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Post Reply