 * Xoap module for phpWebSite 0.9.3-2
 * @version $Id: index.php,v 0.93-2c 2004/01/02 $

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Or go surf the web. There's a million copies out there.

///////////////////////////////////////////////////////////////////////////
// Important Notes:                                                      //
//                                                                       //
// edit conf/config.php with your weather.com xoap info                  //
//                                                                       //
// Visit http://www.weather.com/services/oap.html to obtain your keys.   //
///////////////////////////////////////////////////////////////////////////

You can access weather from around the world by searching for the location identifier
found in the URL's here: http://www.weather.com/common/drilldown/world.html 

For example I found out USLA0037 is the code for Belle Chasse, LA. 

This 8 digit identifier can be used in place of the ZIP Code to obtain the 
weather for that location. USLA0037 gets the same results as 70037. 


To use that new fangled metric system, edit conf/config.php:

// Use Metric or Standard "m" for Metric "s" for Standard
define("XOAP_UNITS", "s");

and you will now use the new fangled metric system :).

NOTE: 
You must delete the files in your wxCache folder to see any changes take effect.


////////////////////////////////////////////////////////////////////////////

HISTORY:
12-18-2003 - Initial 09x release
12-24-2003 - Added metric support, renamed missing error images
01-02-2004 - Fixed bug reading config data - Output is now XHTML 1.0 compliant