mySociety

Home

Embedding FixMyStreet Google map in a blog

Written by on June 16th, 2010 in FixMyStreet, Technical

On Twitter about 15 minutes ago, @greenerleith asked: “Has anyone worked out how to display the most recent #fixmystreet reports on a local map widget that can be embedded? #hyperlocal”

Like this? :)

View Larger Map

It’s very simple to do:

  1. Go to FixMyStreet, and locate any RSS feed of the latest reports you want (for the above map, I used Edinburgh Waverley’s postcode of EH1 1BB; you could have used reports to a particular council, or ward, using the Local alerts section). Copy the URL of the RSS feed.
  2. Go to Google Maps, paste the RSS feed URL into its search box, and click Search Maps.
  3. Click the “Link” link to the top right of the map, and copy the “Paste HTML to embed in website” code.
  4. Paste that code into your blog post, sidebar, or wherever (you can alter the code to change its size etc.).
  5. Done. :-)

The latest reports from FixMyStreet, superimposed on a Google Map, embedded in your blog. Hope that’s helpful.

RSS feeds

Categories

Recent Posts