Some favorite site feeds aggregated locally: iPhone Development RSS   Adobe Labs RSS   Macrumors RSS

Tuesday, August 28, 2007

Netvibes Weather Module

Tuesday, August 28, 2007   

Since the migration, I have received a few contacts about the missing weather badge some were using in Netvibes. My apologies... I killed it by accident. Instead of using ASP.Net for the proxy, I am now using PHP... which is fun but pretty new to me so this didn't go up as quickly as I would have liked.

If you click on the magnifying glass, you can enter your own zipcode or city name, and when you use it, that setting is stored on your machine. However know that it won't sync across other machines... the data is not being stored in a database on my server. So you'll have to set the location for each machine you use... but generally you might only use a few and setting the location is pretty painless.


If you'd like to add my weather badge thing to your Netvibes page, you can do the following from your Netvibes page:

  • Click top left "add content"

  • External widgets > HTML

  • Paste the code below into the window, name the widget, and add it to your page



<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="300" height="175" id="2004Weather" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.ericd.net/swf/2004Weather.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="http://www.ericd.net/swf/2004Weather.swf" quality="high" bgcolor="#000000" width="300" height="175" name="2004Weather" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
A cool thing about this now is when I upgrade the icons (they need a lot of work), you'll get them since you're pulling the SWF from my host. Oh, and there is a ton of data I am not displaying that I could. I might work some more in. Enjoy.
 
 Return to the main page
Comments:

There are currently 2 Comments:

Blogger p26963 said...
“Thanks for putting in the work and getting it back up and running again. It looks pretty slick and works like a charm now.”
 
Anonymous Anonymous said...
January 12, 2008 4:10 AM
“Is there any flashvar that we can use to preset the content of the widget (say, set the city to New York, or set the measurement in Celcius, etc)?”
 
 Leave a comment