quake-CANV.php (California/Nevada specific quakes)
quake-USA.php (United States and territories)
quake-WORLD.php (non-USA locations)
quake-WORLD-ML.php (non-USA locations with translation capability)
The USGS now has a GeoJSON feed for all earthquakes over the last 7 days that reports magnitude 1.0+ (USA/Territories) and 4.0+ (non-USA) and I've created a new quake-json.php script to work with the new feed. As a bonus, there's now an automatic Google Map (V3) for display by the script, and since it's a V3 map, you don't need to request a Google Map Key to have it work for you
The table of earthquakes is now sortable by magnitude, distance from station, and time with just a click on the column header (if JavaScript is enabled in the browser).
For standalone and tinkerers, I suggest using the script instructions and download the .zip package (includes graphics for the Google Map).
For AJAX/PHP template users, the Base-USA and Base-World templates have been updated so the update tool page with a query of 8-Sep-2012 will get you what you need.
For Base-World template users, you'll need to add some entries to your language-LL.txt translation files to achieve full translation from English for the new wxquake.php page. Note: the |of| entry below is used in the reports for quake location as in:
20 mi NNW of Saratoga, California
Code: Select all
langlookup|Update time|Update time|
langlookup|of|of|
langlookup|No earthquakes of magnitude|No earthquakes of magnitude|
langlookup|or greater within|or greater within|
langlookup|reported in last 7 days|reported in last 7 days|
langlookup|Cluster - click to expand details|Cluster - click to expand details|
langlookup|Enable JavaScript to view the Google Map.|Enable JavaScript to view the Google Map.|
langlookup|Earthquakes in the past 7 days of magnitude|Earthquakes in the past 7 days of magnitude|
langlookup|or greater within|or greater within|
langlookup|Epicenter Near|Epicenter Near|
langlookup|Magnitude|Magnitude|
langlookup|Distance to Epicenter|Distance to Epicenter|
langlookup|Local Time|Local Time|
langlookup|Link|Link|
langlookup|map|map|
langlookup|Note: Click on column heading marked with|Note: Click on column heading marked with|
langlookup|to sort column contents.|to sort column contents.|
langlookup|earthquakes found. Click on location or map links for more details from the <a href="http://earthquake.usgs.gov/earthquakes/map/">USGS</a>|earthquakes found. Click on location or map links for more details from the <a href="http://earthquake.usgs.gov/earthquakes/map/">USGS</a>|
langlookup|Depth|Depth|
langlookup|Distance to epicenter|Distance to epicenter|
langlookup|Map and data courtesy of|Map and data courtesy of|
langlookup|United States Geological Survey|United States Geological Survey|
Enjoy!
Best regards,
Ken
Sample of script output: