Page 1 of 2

Blog Widget

Posted: Sun Sep 04, 2011 2:18 pm
by digitalchaos
I am using the blog widget. I used the widget generator at http://yowindow.com/weatherwidget.php. When i copy and paste the code it shows New York City. How can i have it show Pikeville? As it shows on the generator page is correct.
The code below is Pikeville but will not show pikeville on my site. You can see it here.
http://www.weather.webege.com/?page_id=2


<div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="220" height="150">
<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:7140811&location_name=Pikeville%20Airfield&time_format=12&us=us&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%;"
>Free Weather Widget</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; text-decoration:none;" title="Free 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>

Re: Blog Widget

Posted: Sun Sep 04, 2011 2:33 pm
by Wally©
Strange...

The code works perfect on my webspace...

http://users.telenet.be/wdragone/Pikefield.html

Re: Blog Widget

Posted: Sun Sep 04, 2011 2:39 pm
by digitalchaos
Could it be that i have the code in blockquote? I am not sure what is going on i just copy and paste the code. I did re size a bit. I don't think that would affect anything. Btw thanx for the quick response.

Re: Blog Widget

Posted: Sun Sep 04, 2011 2:53 pm
by Wally©
Beats me...

I just copied/pasted the code you just posted in notepad...

Saved it as pikefield.html

Re: Blog Widget

Posted: Sun Sep 04, 2011 3:12 pm
by ikarus1969
Hi Wanda,

when i have a look at the sourcecode of your blog (Firefox, view sourcecode) i can see that within the generated code from YoWindow there are 2 "<br />"s - see the following screenshot. Could you try to delete them from your blog and tell us if that helped you out?
Wanda_blog_sourcecode_YoWindow.jpg
Wanda_blog_sourcecode_YoWindow.jpg (89.79 KiB) Viewed 8377 times

Re: Blog Widget

Posted: Sun Sep 04, 2011 3:46 pm
by digitalchaos
I have generated code with out <br /. Also i made an html page here http://www.weather.webege.com/Pikefield.html. The code works fine when i view this page, but when i use it in my blog it still shows new york. Below are 3 different views.
Wordpress must be adding the <br /> it's self or the firfox source code viewer. Dont know....
Any help is appreciated. Thank you.

The first is what i see in wordpress editor..
The second is what i see in firefox html page..
The third is what i see in firefox source code view of wordpress blog..

Here is code saved in wordpress editor..

<blockquote><div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="220" height="150">
<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:7140811&location_name=Pikeville%20Airfield&time_format=12&us=us&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%;"
>Free Weather Widget</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; text-decoration:none;" title="Free 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></blockquote>

This is the code in Fox Fire.. here http://www.weather.webege.com/Pikefield.html

<div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="220" height="150">
<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:7140811&location_name=Pikeville%20Airfield&time_format=12&us=us&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%;"
>Free Weather Widget</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; text-decoration:none;" title="Free 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>


This is the code in firefox wordpress source code..

<div class="post" id="page_post">
<h2>Todays Forcast</h2>
<blockquote><p>Hi there! I&#8217;m a weather enthusiast. If you would like please share your thoughts here with this community.)</p></blockquote>
<blockquote><div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="220" height="150"><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"<br />
value="location_id=gn:7140811&location_name=Pikeville%20Airfield&time_format=12&us=us&background=#FFFFFF&copyright_bar=false"/><a href="http://yowindow.com/weatherwidget.php"<br />

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%;"<br />
>Free Weather Widget</a><br />
</object></p>
</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; text-decoration:none;" title="Free Weather Widget">YoWindow.com</a></span><br />
<span style="float:right; color:#888888;"><a href="http://www.weather.gov" style="color: #2fa900; text-decoration:none;">NWS</a></span>
</div>

</blockquote>

Re: Blog Widget

Posted: Sun Sep 04, 2011 5:46 pm
by FvE
Hi Michael,

Forgive me for interfering, since I have no experience on this whatsoever.
Could you try again following this: http://yowindow.com/widget_blogger.php

Hope this helps.
Thanks.

Fred

Re: Blog Widget

Posted: Sun Sep 04, 2011 10:11 pm
by digitalchaos
Does not work in word press. Thanx for the help. I will keep working on it let ya know how it goes.

Re: Blog Widget

Posted: Sun Sep 04, 2011 10:13 pm
by FvE
Ahhhh, too bad,

Thanks for replying and goodluck :good:

Fred

Re: Blog Widget

Posted: Mon Sep 05, 2011 12:29 am
by countryroads
Hi Michael,

Please look at http://yowindow.com/forum/viewtopic.php?t=1244&p=4692 . You can also look at the website of portaleazzurro .

In August of 2010, Franco wanted to add YoWindow Widget to WordPress and had to get special code from WordPress. Franco has displayed that special code in the above topic.

I hope this helps you out.

Marty