This repository contains a collection of data relating to Public Houses located in Edinburgh, Scotland.
As well as the data there is a simple tool which will read this data and build a series of HTML pages to describe it.
There are several sites out there which contain lists of pubs, and reviews of them. However I'm more interested in tracking what they look like - not least because most pub reviews tend to be:
- This pub was awful, avoid.
- This pub was great.
It is a sad fact that pubs change hands pretty regularly, they change owner, change name, and change theme. I'd love to see an archive of all the names a pub has had, and images of what they all looked like.
The idea of a map-presentation of pubs is just a useful sidetrack, which is designed to encourage people to contribute their "local".
The initial goal is to collect data on pubs:
- The names of pubs.
- The location - lat/long.
- What the place looks like, initially the external side only.
- But in the future I'd be happy to expand coverage to include internal photographs.
- Contact details are nice, as are website links.
You can help by submitting details of pubs which are missing.
To submit a new pub you need to do two things:
- Submit a new file to go beneath the
data/
subdirectory.- The existing entries should be sufficient to describe what is required, but if you need help get in touch.
- Submit a photograph, or two, of the outside of the pub.
- The images should be 450px high.
- The image should be named following the short-name attribute of the data file.
- Again the existing images beneath
images/
should make this obvious, but if you need help get in touch.
- The live version of the generated site:
- The meta-data for the live site, in different formats:
- Finding lat/long based upon a street adddress:
- The gallery-script for images:
- The javascript library for viewing the map provided by OpenStreetMap: