Author Topic: Ken, I think your Quake php Script broke recently  (Read 4217 times)

0 Members and 1 Guest are viewing this topic.

Offline anchorageweather

  • Forecaster
  • *****
  • Posts: 445
    • http://eetee.us/station/station.php
Ken, I think your Quake php Script broke recently
« on: November 18, 2006, 08:48:12 AM »
Ken, I think the scraped page used by your earthquake script might have changed;  the "epicenter near" column has disappeared from your page at:

http://saratoga-weather.org/quake-USA-test.php

It's a great script that I use all the time.  Just thought the info would be helpful.

-E
South of the Tracks, Anchorage, KY

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9282
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Ken, I think your Quake php Script broke recently
« Reply #1 on: November 18, 2006, 10:47:44 AM »
Yes... it looks like a small change has been made to the HTML on the USGS page.  I'll issue updates to the scipts later today.

Thanks for spotting it!

Best regards,
Ken
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

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9282
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Ken, I think your Quake php Script broke recently
« Reply #2 on: November 18, 2006, 05:44:06 PM »
A small HTML change in the USGS website caused one of the regexes to not split off the location correctly in the quake-USA-test.php script.  The quake-WORLD-test.php script was not effected, so no update is necessary.

New copies of the quake-USA-test.php script (Version 1.03) are available at

http://saratoga-weather.org/scripts-quake.php

Thanks to anchorageweather in Anchorage, KY for spotting the issue.

Best regards,
Ken
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

Offline anchorageweather

  • Forecaster
  • *****
  • Posts: 445
    • http://eetee.us/station/station.php
Re: Ken, I think your Quake php Script broke recently
« Reply #3 on: November 19, 2006, 09:44:10 AM »
Got it..thanks for the update!

-E
South of the Tracks, Anchorage, KY

 

anything