Thursday, May 23, 2013
Email
Make My Homepage
RSS
  • City Portal
  • Google
  • Yahoo
Register

Login



S5 Weather Module Print E-mail
Written by Administrator   
Monday, 15 September 2008 12:36
The S5 Weather Module pulls XML data from Yahoo.com and displays the weather for the current day and the upcoming 2 days along with images depicting the type weather. You can enter a zip code in the administration side and also switch between celsius and fahrenheit.

Features:
  • Enter ZIP code via admin side
  • Choose celsius or fahrenheit
  • Pulls weather data from Yahoo weather


For those of you living outside the US, please complete the following steps :
  • 1. Drill down to your location on Yahoo Maps http://weather.yahoo.com/
  • 2. Look at the address bar (If you live in Melbourne, Australia it looks like this: http://ther.yahoo.com/Melbourne-Australia/ASXX0075/forecast.html?unit=c)
  • 3. Copy the region/area code found in the above URL (ASXX0075)
  • 4. Next open up the weather.class.php file (../modules/mod_s5_weather) and search for the the word: 'location' (there are two instances) and replace with the code that you have just copied from Yahoo, save and close.
  • 5. In the Admin area of the weather module simply paste the Yahoo region code into the zip code box (in this scenario: ASXX0075)


S5 Weather module screenshot as featured on the homepage:

Weather Module
Last Updated on Thursday, 12 February 2009 18:05
 
  • Accord, NY, US

    Now
    26.png
    Cloudy
    76°F, Windchill: 76°F
    Wind: 8 mph W
    Humidity: 54%
    Visibility: 0 mi
    pressure:
    Sunrise: 5:29 am
    Sunset: 8:14 pm
    Wed
    47n.png
    Scattered Thunderstorms
    Hi: 80°F, Low: 67°F
    Thu
    4.png
    Thunderstorms
    Hi: 71°F, Low: 61°F
Home Features NEW! S5 Weather Module
Copyright © 2013. City Portal. Designed by Shape5.com