|
Post by kenmtrue on Feb 5, 2006 18:03:08 GMT -5
|
|
|
Post by Chris/Colonie, NY on Feb 21, 2006 10:06:20 GMT -5
Just curious how you got the NWS forecast and WxUnderground forecasts to display on your site. Wanted that on my site for some time...but haven't figured it out....I think it has to do with the whole php thing. Thank, Chris www.colonieweatheronline.com
|
|
|
Post by kenmtrue on Mar 2, 2006 20:13:01 GMT -5
The Wunderground and NWS forecasts are 'scraped' by a perl program I wrote. It runs every hour (Win XP timed task) and creates several files: A JavaScript version of the two forecasts (for use with my old webpage on Comcast that didn't have SSI or PHP to use to include HTML), and with my website redesign, there's now two more 'include' files for use with the PHP version: a forecast summary with both Wunderground and NWS and a 'full forecast' that includes the NWS icons and text forecast. I tried using the carterlake PHP script with the SF/Monterey NWS website.. it just chokes on the 'file' statement, so the perl script continues to chug along. If you'd like, you can have the perl script from hereKen
|
|