This is the code that runs the @uk_quake twitter account.
It's a Laravel app (PHP) that:
- Checks the UK Geological Survey RSS feed
- Compares with the latest date saved
- If there's fresh items, tweets an alert with a link to the UKGS page, and to a map
The feed is checked every 5 minutes.
UK Geological Survey RSS feed: http://quakes.bgs.ac.uk/feeds/MhSeismology.xml
More sources are available from The BGS online data feed page.
Code by @meigwilym.