Page 1 of 2

Can't customize blogspot widget background

Posted: Sat Jul 30, 2011 4:10 pm
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.

Re: Can't customize blogspot widget background

Posted: Sat Jul 30, 2011 11:37 pm
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

Re: Can't customize blogspot widget background

Posted: Sun Jul 31, 2011 9:22 am
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:

Re: Can't customize blogspot widget background

Posted: Sun Jul 31, 2011 12:30 pm
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.

Re: Can't customize blogspot widget background

Posted: Sun Jul 31, 2011 7:01 pm
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:

Re: Can't customize blogspot widget background

Posted: Sun Jul 31, 2011 10:06 pm
by Sunfish
The Kinderdijk graphic was posted somewhere here. It has a windmill. Such a cliche!

Geoff

Re: Can't customize blogspot widget background

Posted: Mon Aug 01, 2011 5:51 am
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:

Re: Can't customize blogspot widget background

Posted: Tue Aug 02, 2011 1:16 pm
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

Re: Can't customize blogspot widget background

Posted: Wed Aug 03, 2011 10:21 pm
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

Re: Can't customize blogspot widget background

Posted: Thu Aug 04, 2011 1:10 am
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