PHP Classes

MyWeather: Get city weather forecast from

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-06-28 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 633 All time: 4,698 This week: 1,194Up
Version License PHP version Categories  
myweather 1.0GNU General Publi...4.0Web services, Weather
Description Author  

This class can be used to get the whether forecast for a given city of the world.

It accesses the site and performs a search for a world location.

The class retrieves an RSS feed associated to the searched location with the weather forecast for the following days.

The class parses the retrieved RSS feed and returns an associative array with weather report parameters like the location name, temperature, humidity and air pressure.

Picture of Amir Jafari
Name: Amir Jafari <contact>
Classes: 1 package by
Country: Iran Iran
Age: 25
All time rank: 273244 in Iran Iran
Week rank: 1643 Up43 in Iran Iran Up

/* Readme file for MyWeather Class */

Please create a "tmp" folder with "777" access permission in base directory of class.

/* Thanks! */
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example file
Plain text file MyWeather.Class.php Class class source file.
Accessible without login Plain text file readme.txt Doc. readme file

 Version Control Unique User Downloads Download Rankings  
 0%Total:633All time:4,698
 This week:0This week:1,194Up