Hacker News new | ask | show | jobs
by realalexhomer 3922 days ago
Really great idea! This is one of the first things I've ever seen on here that I think I will actually bookmark and use.

I'm just curious if you would mind divulging a little bit about how you managed to make this work? Are you just scraping the New Yorker site and sticking them onto the map, or is there something else going on?

2 comments

Thanks! I like to build things that would be useful to me and it delights me to hear that other people find them useful to.

Yup, just scraping. Then hitting Google Geocoding API for lat/lng and the Yelp API for reviews and open/closed status.

I'd be interested to find out details of how you did this. It is a really neat idea and I wished you had it for my city!
Appears data from NewYorker is scraped (unless they have an open API?) and put into "restos" variable in JavaScript. [0] Then it's plotted on Google Map using their API. [1]

0 - view-source:http://newforkermap.com/

1 - http://newforkermap.com/static/js/markers.js