• Welcome to TodayPlus Boards v2.

PHP script for Yahoo Detailed Forecast Text

Started by ZapMe1, February 03, 2005, 02:27:19 PM

Previous topic - Next topic


Thanks once again to:
eemond:  For making "Another" Great PHP Script for all of us to use...
jhollin1138:  For again Hosting this script on his forum...
Uk_Skinner:  (aka EXE_Master)  For all of his time, effort and help he gives to all of us on this forum...

We all know that TP can import the weather forecast..  The information it provides is basic, including :
* High/Low Temp  *  Sky Text  *  Precip %  *

Well, I thought it would be a nice addition to TP if we could get more detailed information for the forecast, and eemond made this happen !!!

This script also uses the Yahoo site to download an RSS feed for a more detailed weather forecast..  See the example below:
QuoteToday: A mixture of rain and snow showers. Temps nearly steady in the mid to upper 30s. Winds NE at 5 to 10 mph. Chance of precip 30%.

Tonight: Rain showers this evening changing to snow showers overnight. Low 29F. Winds NNE at 5 to 10 mph. Chance of precip 50%.

Tomorrow: Cloudy. Snow showers scattered about the area ending in the morning. High 39F. Winds NNE at 5 to 10 mph. Chance of snow 30%.

Tomorrow night: Partly cloudy. Low 23F. Winds N at 5 to 10 mph.

Saturday: Abundant sunshine. Highs in the low 40s and lows in the low 20s.

Sunday: Mainly sunny. Highs in the low 40s and lows in the low 20s.

Monday: More clouds than sun. Highs in the low 40s and lows in the mid 20s.

This detail can be displayed as a standard RSS Feed (see screenshot below), or its descriptions linked to forecast images on the weather page to call the weather detail for the choosen day !!

*  Use this link : http://todayplus.jhollin1138.com/rss/forecast_rss.php?Zipcode=11776  
*  Replace the number in Red with the Zipcode for each city you want to display..
*  Copy this link / links to the RSS section of the TP config file..
*  Setup codes in the skin file to display as you wish !!
*  Thats It !!!

As far as I know, this can only be used for US Zipcodes at this time !!  Maybe soon, we can find a way to expand this !!!!
If anyone needs any additional help, just ask !!!   :D

Enjoy !!!!!!

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"