Earthquake Monitor free WordPress plugin
Description
Earthquake Monitor free WordPress plugin
Earthquake Monitor is a customizable widget that shows an overview of earthquakes around the world from the U.S. Geological Surveys data. You can show this in a widget (or multiple widgets) or use the shortcode [eqmonitor]. All requests can be cached so it won’t slow down your site.
Arbitrary section
The display format field is now a customizable field. You determine how the widget displays the links within the ‘limits’ of this widget.
You are allowed to use HTML tags in the display format field.
If you make the Location linkable it will link to the USGS website providing detailed information about the quake.
The date format is compatible with the date() function of PHP. See date for more information.
According to the USGV website the feeds for the past hour,day and 7 days are updated every 5 minutes. The 30 day feeds are updated every 15 minutes.
Don’t configure the cache timer too low. It will retrieve a fresh feed from an external website when the site loads. This can impact your loading times. I recommend 3600 seconds (1 hour)
Some examples to show you how the template variables work
Aprox. {hrtime} ago an earthquake with the {mag} struck {locreg} (Time {time}) . The exact latitude = {lat} and the longitude = {long}. The quake was measured at {depth_m} km depth.
would be parsed into
Aprox. 2 hours ago an earthquake with the M 0.4 struck Northern California (Time Thu 21:33:17 (UTC)) . The exact latitude = 38.8402 and the longitude = -122.8250. The quake was measured at 2.10 km depth.
All earthquakes used by the widget are placed in this HTML frame
- Earthquake text 1
- Earthquake text 2
- Earthquake text 1
- Earthquake text 2