Personalise landscape in Blogger

YoWindow widget Questions, Suggestions and Bugs
Post Reply
grajay
Posts: 8
Joined: Tue Dec 11, 2012 8:56 am
Name: Graham Jackson

Personalise landscape in Blogger

Post by grajay »

Hello

I'm having a problem personalising the html for my widget in blogger.
The instructions on the FAQ pages say:
4. Modify your widget HTML code.
Set "landscape" variable to the URL of your landscape.ywl file on your server.

Example:

Code: Select all

<param name="flashvars"
value="location_id=360630&landscape=http://myserver.com/landscapes/london/london.ywl"/>
The html code is:

Code: Select all

<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:2637891&location_name=Shrewsbury&time_format=24&unit_system=uk&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>
But there is no
;landscape=http....
in that code. Have I misunderstood this instruction?

Thanks very much
grajay
Posts: 8
Joined: Tue Dec 11, 2012 8:56 am
Name: Graham Jackson

Re: Personalise landscape in Blogger

Post by grajay »

Having checked round other posts I have modified the widget html to:

Code: Select all

<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:2637891&location_name=Shrewsbury&landscape=http://middlemarches.site40.net/public_html/Bucknell/Bucknell.ywl&time_format=24&unit_system=uk&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>
But the widget just sits there doing nothing saying "please wait" - this is my page - http://bucknellwalkers.blogspot.co.uk/

I looked at Herman's post about not using using the crossdomain.xml file which I suspect may just be the problem as my host has a "public_html" folder with a warning not to post files anywhere else, but couldn't figure on how to make it work for me - having said that I uploaded the crossdomain.xml file to the root folder and to the public_html folder with no result.
grajay
Posts: 8
Joined: Tue Dec 11, 2012 8:56 am
Name: Graham Jackson

Re: Personalise landscape in Blogger

Post by grajay »

Swapped to another server and it now works OK. Phew
Post Reply