Author Topic: Ancient 2006 script rss-mesoscale-test.php finally needed updating...  (Read 319 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
With the recent change to https of www.spc.noaa.gov, a script from the dawn of my script writing needed updating to support the change.  Not a bad run for a script from August, 2006 (almost 12 years!).  It was developed using PHP 4.3 so uses the XML handling that was available at that time (so is a lot more complex than could be if totally rewritten using the simplexml_load_string() function that emerged in PHP 5).

Thanks to satcop for the alert that the script needed update, I've replaced the low-level accesses http accesses with curl fetch and post-process the returned XML from the SPC to have https links/images.

Download from the script page for V2.00
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything