Need Hosting for a Wordpress site? Get $90 off @ Dreamhost!

The positive, and detrimental, power of social media neatly summarized in one story: bit.ly/1oKPqr7

Weather Spider – WordPress Plugin

Download from WordPress.org

What does this plugin do?

Use this plugin in your WordPress site to place a weather forecast for any US location in a Page, Post, or within a sidebar.

Instructions


Installation

  • Download and unarchive the plugin folder.
  • Place the uncompressed weatherspider folder in your wp-content/plugins directory. You should end up with up wp-content/plugins/weatherspider/.
  • On the Plugin page in your WordPress Administration area, activate the WeatherSpider plugin.

WeatherBug.com API Key

In order to use this plugin, you must first obtain an API key from WeatherBug.com.

  1. Go to: http://developer.weatherbug.com/
  2. Register for an account
  3. Apply for an API key (be sure to get the REST key – not the GEO key)
  4. Enter your API key in the field above and press the “Save Settings” button

Caching Weather Data

By default, the weather feed information for each zip code will be cached for 15 minutes. This prevents the widget from making uneccesary calls to WeatherBug.com for weather. You can turn caching off in the settings panel (though it is not recommended). You can also clear the cache manually by clicking the “Clear Cache” button.


Displaying in Pages and Posts

To display a weather forecast in a page or a post, you can use the [weatherspider] shortcode. The shortcode has four options, listed below.

  • zip: The zip code of the location you want to show the forecasft for (default=90210).
  • size:The size of the forecast display. Options are:
    • sm: 3 Day forecast, 200px wide (default)
    • med: 4 Day forecast, 250px wide
    • lg: 5 Day forecast, 300px wide
  • showCurrent: Show the current temperature in the display. Options are: true, false (default=true)
  • showForecast: Show the forecast in the display. Options are: true, false (default=true)

Example:

[weatherspider zip=”02842″ size=”lg” showCurrent=”false” showForecast=”true”]

The Widget

If your theme is widget-enabled, you can add the WeatherSpider widget to any sidebar. Configuration is self-explanatory. Note that you can add multiple instances of the widget in your sidebar.

Download from WordPress.org

  • Digg Me
  • Bookmark me on Del.icio.us
  • Post to StumbleUpon
  • Tweet Me

4 Responses to “Weather Spider – WordPress Plugin”

  1. webbrewers says:

    The short code on a post / page doesn’t work disappointingly. The widget looks good.

  2. Marc Hoffman says:

    I’m not getting the app to show up on our home page (http://www.north-rosehill.org/wordpress/). I registered and got the REST key from weatherbug, and activated the plugin and inserted the REST key, which was copied/pasted. Any idea why nothing shows up? I’ve tried the short code both with and without ... tags. Makes no difference. Suggestions, anyone?

    Thanks!

    Marc Hoffman
    Kirkland, Washington

  3. Shawn says:

    Great plugin, by the way.

  4. Shawn says:

    You should note here and in the readme that the weatherbug API key required is the REST key, not the GEO key.

Leave a Reply

About Me

I'm a web solutions architect with over 15 years of experience working with all sorts of web technologies. I am currently freelancing and am available for hire. I have hands-on experience in all stages of the SDLC. If you or your business needs a new web site or web application please feel free to contact me.

I can help you with: Web Application/Web Site Design and Development, Wordpress Plugin Development, Search Engine Optimization, Search Engine Marketing, Multivariate Testing, Metrics Analysis, Campaign Optimization, Social Site Integration, E-mail Marketing and everything else that has to do with the Web.

I work/haved worked with the following technologies: HTML5, CSS, Javascript, Ajax, jQuery, MySQL, SQL Server, ASP.Net, MVC, c#, Entity Framework, Razor, WCF, OData, PHP, Wordpress, Flash, Google Analytics, Google Adwords, Subversion.

Recent Work

  • Attune Communications
  • Bosse Spa & Style
  • Felicello Law
  • Michael E. McCarthy Scholarship Fund
  • Leonard’s Upholstery
  • Telly’s Cafe
  • InformedU
  • The Survey Initiative
  • Amy Bowen Photography
  • Engel & Schultz

Comments

about this site

This site was built using Wordpress, Jquery and Blueprint, along with HTML, Javascript, CSS, and PHP.

Open source scripts from: Magpie RSS, jCarousel.

Feeds from: Yahoo Pipes, Flickr, Twitter, and De.licio.us.

This site is hosted @ Dreamhost.