这个简单的 html 页面记录了 7 天内世界范围内超过 M4.5 的地震。
数据来自 https://earthquake.usgs.gov/
您只需下载所有文件并将它们放在服务器上即可运行。这个项目是简单的 HTML 和 JacaScript 网页,所以你的服务器只需要 web 文件功能即可运行。
地震数据每分钟更新一次。 如果发生 M4.5+ 地震,它将会记录在首页的表格顶部。
“百度翻译”API用于将地名翻译成中文,所以如果你想使用此项目,记得把scripts.js文件中的百度翻译appid和key改成你自己的,否则很可能导致宕机。
演示:https://dukeyin.com/tools_old/earthquake/
This simple html page logs earthquakes exceeding M4.5 world wide within 7 days.
Datas from https://earthquake.usgs.gov/
You can simply download all files and put them on your server to run this page. This project is an HTML and JacaScript web page, so your server only needs web file capabilities.
The earthquake data updats every minute. If an M4.5+ earthquake occured, it will be logged at the top of the table in frontpage.
"Baidu Translate" api for translating place names to Chinese, so if you want to use these codes, remeber to change the baidu translate appid and key in scripts.js to your own, or there will most likely be a down time after exceeding the API limits.