My landscape is not shown, only sky. Please help

YoWindow widget Questions, Suggestions and Bugs
Post Reply
jovep305

My landscape is not shown, only sky. Please help

Post by jovep305 »

Hi

First of all I must say THANK YOU to the developers for the wonderful weather widget.
I have places the normal weather widget on my website (still under development)>
http://94.100.104.118/~bitola/
and if works excellent
BUT
When I try with “MY LANDSCAPE” I get only sky.
Can anyone please help me, I have followed the instructions on : http://yowindow.com/widget_and_landscape.php

I have placed (crossdomain.xml.) in the root

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
	<allow-access-from domain="*" secure="true"/>
</cross-domain-policy>
The (bt.ywl) file in
http://94.100.104.118/~bitola/bt/bt.ywl

the code from bt>ywl is

Code: Select all

<landscape id="bt_13AD9C05A7E" type="picture" name="bt">
  <data src="yo_bt.png" horizonLevel="570"/>
</landscape>

And the code for the widget:

Code: Select all

<div style="width:300px; height:180px;">
    <object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="300" height="180">
    	<param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
    	<param name="allowfullscreen" value="true"/>
    	<param name="wmode" value="opaque"/>
    	<param name="bgcolor" value="#FFFFFF"/>
    	<param name="flashvars" 
    	value="location_id=gn:792578&landscape=http://94.100.104.118/~bitola/bt/bt.ywl&location_name=%D0%91%D0%B8%D1%82%D0%BE%D0%BB%D0%B0&time_format=24&unit_system=metric&lang=mk&background=#FFFFFF&copyright_bar=false"
    />
        <a href="http://yowindow.com/weatherwidget.php"
        style="width:300px;height:180px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
        >HTML weather</a>
    </object>
</div>
<div style="width: 300px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
	<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; font-weight:bold; text-decoration:none;" title="HTML weather">YoWindow.com</a></span>
	<span style="float:right; color:#888888;">Forecast by&nbsp;<a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>

My location is in Bitola, Republic of Macedonia


CAN ANYONE PLEASE HELP
User avatar
Mallorca
Posts: 1757
Joined: Sun Jul 11, 2010 8:59 am
Name: Werner Heidotting
Location: Son Servera, Mallorca, Spain
Contact:

Re: My landscape is not shown, only sky. Please help

Post by Mallorca »

Hello and welcome to our forum.

I checked your data and found some differences to my well working widget.
It seems that Yowindow widget can not find your pic.png ... so first make shure that your pic.png is uploaded and in the SAME file as the .ywl.
value="location_id=gn:792578&landscape=http://94.100.104.118/~bitola/bt/bt.ywl
I'm not shure that the path is allowed with this "~"

My working crossdomain.xml is without the first line you use

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
	<allow-access-from domain="*" secure="true"/>
</cross-domain-policy>
And my .ywl file looks also different from yours:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<landscape name="arta_san_salvador" type="picture" id="arta_san_salvador_130FF3497C7">
	<data horizonLevel="697" src="yo_arta_san_salvador.swf">
	</data>
</landscape>
Please check your codes.

Werner
jovep305

Re: My landscape is not shown, only sky. Please help

Post by jovep305 »

Hi
I have made the changes in ywl and crossdomain.xml but still no landscape.
concerning the ( ~ ) sign in http://94.100.104.118/~bitola/ I have tried the widget on other website, hosted on hostmonster, but still I get the same result
no landscape image.

The clouds that I get now from my widget - seem to me like the widget zooms into them.


I have tried many solutions from the forum but none of them works.

It is very good widget and I would very much like to have it on my website
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: My landscape is not shown, only sky. Please help

Post by hermanz »

Hi Jove :good:

You are using Joomla . What is the version.

http://94.100.104.118/~bitola/bt/yo_bt.png is a red picture. This no landscape picture.

Please place the crossdomain.xml in the root. http://94.100.104.118/crossdomain.xml

gr.
Herman :beer:
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
jovep305

Re: My landscape is not shown, only sky. Please help

Post by jovep305 »

Hi Herman

Thanks for your help.

I'm using joomla 2.5.7

Concerning the Red photo. The scene I now get from YoWindow seems to me like a zoomed one only in the sky. Since my landscape is blank in the sky, but it takes a while for the widget to fill, I thought maybe the landscape is loaded, but I can't see It because maybe I'm looking only in the sky. That's why I have loaded pure red photo as a landscape. But again I didn't see the red photo also. Now I have place d again my old photo the transparent .png landscape.

concerning the placement on (http://94.100.104.118/crossdomain.xml) I don't have access on (http://94.100.104.118/) so I can't place crossdomain.xml - there

But I have another website hosted on Hostmonster and I have placed crossdomain.xml in the root there (www.mystagedesign.com)

again I get the same result - no landscape photo
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Re: My landscape is not shown, only sky. Please help

Post by Wally© »

The code is wrong...
Landscape url has a double http://
Use this and everything is ok...(tested)

<div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="220" height="150">
<param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:792578&landscape=http://mystagedesign.com/bt/bt.ywl&location_name=

%D0%91%D0%B8%D1%82%D0%BE%D0%BB

%D0%B0&time_format=24&unit_system=metric&background=#FFFFFF&copyright_bar=false"
/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:220px;height:150px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url

(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>HTML weather</a>
</object>
</div>
<div style="width: 220px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900;

font-weight:bold; text-decoration:none;" title="HTML weather">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>

<div class="cleared"></div>
</div>
</div>
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
jovep305

Re: My landscape is not shown, only sky. Please help

Post by jovep305 »

Thank you very much Wally

The widget now works :D

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

Re: My landscape is not shown, only sky. Please help

Post by hermanz »

Hi Jove :good:


Nice landscape picture.
succes

Herman :beer:
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
jovep305

Re: My landscape is not shown, only sky. Please help

Post by jovep305 »

Hi Herman
Thank you very much for your help.
As Wally said the problem was with the code, but also with the crosdomain file.

Since I could not load the crosdomain file on my root folder on:
http://94.100.104.118/~bitola/

I have placed address on my widget to load from other server at which I had access.

Thanks again to all of you for your help

best regards
Jove
User avatar
Mallorca
Posts: 1757
Joined: Sun Jul 11, 2010 8:59 am
Name: Werner Heidotting
Location: Son Servera, Mallorca, Spain
Contact:

Re: My landscape is not shown, only sky. Please help

Post by Mallorca »

Hi Jove,
as I wrote in my first answer ... check your code and the path to the png 8)
Werner
Post Reply