cloudy

Author Topic: Major Problem with advforecast2.php script: NWS Site Redesign???  (Read 5505 times)

0 Members and 2 Guests are viewing this topic.

Offline 1080iAddict

  • Posts: 45
Re: Major Problem with advforecast2.php script: NWS Site Redesign???
« Reply #30 on: June 29, 2007, 08:13:29 PM »
Ken,

One more question.... I implemented all your changes and it works fine.  But when the pointable forecast gets fixed at NWS, will the script revert back to the non-zone pointable icons, etc.... or do I need to reverse all the changes I made as detailed in this thread?  I am assuming it will happen automatically but I want to be sure.

     

Offline saratogaWX

  • Posts: 4,672
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Major Problem with advforecast2.php script: NWS Site Redesign???
« Reply #31 on: June 29, 2007, 08:23:45 PM »
It should happen automatically... no need to reverse code.

The script tries to fetch the point-printable forecast each time the cache refreshes.  If it finds the point-printable one not usable (due to a redirect or having the words 'defaulting to' appear), then it fetches the Zone forecast and uses it.

When the point forecast reappears in usable form, the script will just use that (until the next time NWS fiddles with the page)

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline hydrowx

  • Bill
  • Posts: 1,423
  • Northeast Illinois USA
    • Goose Lake Weather
Re: Major Problem with advforecast2.php script: NWS Site Redesign???
« Reply #32 on: June 29, 2007, 09:49:01 PM »
Just fyi...I did not implement the fix and the forecast is working once again.
Bill

Offline edhall

  • Posts: 471
  • Fulton, MO
    • Ed's Weather
Re: Major Problem with advforecast2.php script: NWS Site Redesign???
« Reply #33 on: June 29, 2007, 10:30:23 PM »
Thanks Ken

Ed :D

Offline aifan27

  • Tim
  • Posts: 2,857
  • Pennsylvania
    • Newtown Weather
Re: Major Problem with advforecast2.php script: NWS Site Redesign???
« Reply #34 on: June 30, 2007, 01:34:34 AM »
As Bill said, the "normal" forecast script is now working again.

--Tim