Can't customize blogspot widget background

YoWindow widget Questions, Suggestions and Bugs
Sunfish

Can't customize blogspot widget background

Post by Sunfish »

I'm trying to get a custom background in a yowindow wiget on my blog at Blogspot. http://sunfishtravels.blogspot.com

In my own domain I have put the crossdomain.xml file in /

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cros ... policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="true"/>
</cross-domain-policy>

In the same domain I have the .ywl and .swf files for the background, Kinderdijk. sunfishdesigns.com/yowindow/Kinderdijk/Kinderdijk.(whatever)

Here is the code from the widget:

<div style="width:180px; height:100px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="180" height="100">
<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:2759794&location_name=Amsterdam&
landscape=http://sunfishdesigns.com/yowindow/Kind ... erdijk.ywl&
time_format=12&us=us&background=#FFFFFF&
mini_momentBar=true&copyright_bar=false"/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:180px;height:100px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Free Weather Widget</a>
</object>
</div>

Here is the .ywl file:

<?xml version="1.0" encoding="utf-8"?>
<landscape name="Kinderdijk" type="picture" id="DSF-Kindk">
<data src="Kinderdijk.swf" horizonLevel="750">
<about>The original photo by dreamsearcher</about>
</data>
</landscape>

BUT, it doesn't work. All I get is the sky, not my graphic. :( Anyone see an error here? Thnx.
User avatar
Don
Posts: 687
Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:

Re: Can't customize blogspot widget background

Post by Don »

Hello Sunfish,

Kinderdijk.ywl and Kinderdijk.swf must be in the same domain (server) as crossdomain.xml.

Example:
<param name="flashvars" value="location_id=gn:2759794&location_name=Amsterdam&landscape=http://sunfishtravels.blogspot.com/yowi ... erdijk.ywl&time_format=12&us=us&background=#FFFFFF&mini_momentBar=true&copyright_bar=false"/>

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

Re: Can't customize blogspot widget background

Post by hermanz »

Hi Sunfish :good:

The swf and the ywl are at http://home.comcast.net/~safeharborbay/ ... erdijk.swf

You have also place the crossdomain.xml at this server -> http://home.comcast.net/crossdomain.xml.

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

Re: Can't customize blogspot widget background

Post by Sunfish »

The swf and the ywl are at http://home.comcast.net/~safeharborbay/ ... erdijk.swf

You have also place the crossdomain.xml at this server -> http://home.comcast.net/crossdomain.xml.
The crossdomain.xml is at http://home.comcast.net/~safeharborbay/crossdomain.xml. If it needs to be at http://home.comcast.net/crossdomain.xml then I need to find another server. They won't let me put it at home.comcast.net/

thnx

BTW I'll be in your country in Sept. biking from Amsterdam to Brugges.
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Can't customize blogspot widget background

Post by hermanz »

Hi Geoff :good:


Indeed you have to place crossdomain.xml in the root.
Why Kinderdijk ??
If you send me the files , i will hosted the landscape for you


The weather will be better the next week
Last week we have a lot of rainGood luck with biking in the Netherlands.

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

Re: Can't customize blogspot widget background

Post by Sunfish »

The Kinderdijk graphic was posted somewhere here. It has a windmill. Such a cliche!

Geoff
Attachments
Kinderdijk.zip
includes .swf and .ywl
(202.08 KiB) Downloaded 314 times
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Can't customize blogspot widget background

Post by hermanz »

Hi Geoff :good:

You can use http://hermanz.nl/yowindow/landscape/ki ... erdijk.ywl

Good luck and have a nice time in the Netherlands


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

Re: Can't customize blogspot widget background

Post by Sunfish »

Thanks Hermanz. That did the trick. But I must find another host because I'm going to want to create about a dozen of these in the next few months.

Looking forward to the bike trip. I know it's no big deal in your country, but here in the US trying to pry people from their cars is like stealing food from babies!

Geoff
Sunfish

Re: Can't customize blogspot widget background

Post by Sunfish »

Hermanz,

I've found a host. But I have another question. If you look at http://sunfishtravels.bolgspot.com you'll see my weather widget. How can I resize the windmill graphic so that it better fits the column? It's 180x100 pixels. I've tried changing the aspect ratio of the original .png, converting it to .swf, but that doesn't change anything.

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

Re: Can't customize blogspot widget background

Post by Mallorca »

Hi Geoff,

your right URL is http://sunfishtravels.blogspot.com/ and not http://sunfishtravels.bolgspot.com 8)

If you change the ratio of the uploaded foto nothing will change of course on the front end. You can change the dimensions only in the code:
</div><div class='widget HTML' id='HTML1'>
<h2 class='title'>Time & Temperature</h2>
<div class='widget-content'>
<div style="width:180px; height:100px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="180" height="100">
<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:2759794&location_name=Amsterdam&landscape=http://70.86.107.151/geoff/windmill/win ... _bar=false"/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:180px;height:100px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Free Weather Widget</a>
</object>
</div>
<div style="width: 180px; height: 9px; font-size: 7px; 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 Widget">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a href="http://www.weather.gov" style="color: #2fa900; text-decoration:none;">NWS</a></span>
</div>
Werner
Post Reply