Page 2 of 3

Re: yowindow.xml-connect to a PWS

Posted: Sat Feb 05, 2011 3:50 pm
by hermanz
Hi Tiki
sorry if you do not want to provide details about your website I can not help.
Only the code is not enough. maybe the xml is wrong.

succes
Herman :D

Re: yowindow.xml-connect to a PWS

Posted: Sat Feb 05, 2011 5:16 pm
by Mallorca
Hi Tiki,
I agree with Herman ... you assk for help and are not willing to give the needed information!

It is very easy to check your html-datas:
copy your html-code in a program like MS Frontpage, klick on preview and you will see this:
Unbenannt.JPG
Unbenannt.JPG (38.52 KiB) Viewed 9674 times
Of course the website can not view your own landscape with a XXXX-adress!
Werner

Re: yowindow.xml-connect to a PWS

Posted: Sat Feb 05, 2011 8:30 pm
by tiki
Hi
Thanks for your interest.
I'm not good in these web page things and I did not understand this to be necessary :oops:
Here is my web page
http://gamma.nic.fi/~jhrepo/saa/yowindow.html

Re: yowindow.xml-connect to a PWS

Posted: Sun Feb 06, 2011 12:08 am
by hermanz
Hi Tiki

I miss the bold text

<?xml version="1.0" encoding="UTF-8"?>
<response>
<current_weather>
<temperature>
<current value="10.2"/>
<feels_like value=" 7.5"/>
</temperature>
</current_weather>
</response>

gr.
Herman

Re: yowindow.xml-connect to a PWS

Posted: Sun Feb 06, 2011 12:13 pm
by tiki
hermanz wrote:Hi Tiki

I miss the bold text

<?xml version="1.0" encoding="UTF-8"?>
<response>
<current_weather>
<temperature>
<current value="10.2"/>
<feels_like value=" 7.5"/>
</temperature>
</current_weather>
</response>

gr.
Herman
Thanks. I updated yowindow.xml but still don't read my PWS.

Re: yowindow.xml-connect to a PWS

Posted: Sun Feb 06, 2011 12:35 pm
by hermanz
Hi Tiki

there is no crossdomain.xml in the root of the website

read this article : http://yowindow.com/widget_and_pws.html

gr.
Herman :D

Re: yowindow.xml-connect to a PWS

Posted: Sun Feb 06, 2011 5:23 pm
by tiki
Done some more testing and now I'm more confused. I had crossdomain.xml in public_html folder. I moved it to the root. No effect. Then I removed it. No effect again. Then I changed that "current_weather" address to the one other site what I know to work's. This time my page start showing those correct weather conditions in this yowindow.xml, so without crossdomain.xml anywhere. :? :?

Edit. Yowindow PC software won't work if crossdomain.xml is't placed to public_html folder. Now it is there.

Re: yowindow.xml-connect to a PWS

Posted: Sun Feb 06, 2011 6:21 pm
by ikarus1969
tiki wrote:Done some more testing and now I'm more confused. I had crossdomain.xml in public_html folder. I moved it to the root. No effect. Then I removed it. No effect again. Then I changed that "current_weather" address to the one other site what I know to work's. This time my page start showing those correct weather conditions in this yowindow.xml, so without crossdomain.xml anywhere. :? :?

Edit. Yowindow PC software won't work if crossdomain.xml is't placed to public_html folder. Now it is there.
Please read the link hermanz has pointed you to.
On this page you can see what content the file crossdomain.xml should have.
The crossdomain.xml i found on the site you has provided (http://gamma.nic.fi/~jhrepo/saa/yowindow.html) has only the last 3 lines in it:
YoWindow - insufficient crossdomain.xml.jpg
YoWindow - insufficient crossdomain.xml.jpg (67.33 KiB) Viewed 9636 times

Re: yowindow.xml-connect to a PWS

Posted: Sun Feb 06, 2011 6:26 pm
by hermanz

Re: yowindow.xml-connect to a PWS

Posted: Sun Feb 06, 2011 6:47 pm
by tiki
hermanz wrote:With root I means

http://gamma.nic.fi/crossdomain.xml
Yes I tested that. Widget neither PC Sofware did not work when it was there. When it is in public_html folder, PC software works. I think public_html folder is a root folder for web pages.