Show HN: HN GeoIP Search: Find who and what on HN is near you(geoipsearch.jfriedly.dotcloud.com)
geoipsearch.jfriedly.dotcloud.com
Show HN: HN GeoIP Search: Find who and what on HN is near you
http://geoipsearch.jfriedly.dotcloud.com/
18 comments
This is wonderful.I just found 4 or 5 other HN'ers here in Tucson I would like to touch base with.
Still getting 404. Some browsers can share their GeoIP.
navigator.geolocation.getCurrentPosition(showMap);
http://dev.w3.org/geo/api/spec-source.html
navigator.geolocation.getCurrentPosition(showMap);
http://dev.w3.org/geo/api/spec-source.html
I didn't know about that but I think that would be a bit over my head. This is my first web app and it uses strictly IP's to get location.
If you can tell me where you're located though, I might be able to help you with the 404 you're getting. A lot of the bugs are very specific cases that will only show up for one or two cities in the country.
Pensacola, FL is close to Mobile, AL. So, my page is full of comments regarding cellular phones (e.g. T-Mobile) that have nothing to do with location.
I added an exception to fix this. You should see results from Pensacola now too :)
I was hoping to find more people in Canberra, Australia. The only thing that really came up was a meetup almost two years ago.
Accessed from my mobile, didn't register for obvious reasons - I hoped it might use location services!
For the UK do we put United Kingdom or England? E.g. "Slough, United Kingdom", or "Slough, England" ?
You should be able to use any of "Slough, UK", "Slough, United Kingdom,", or "Slough, England" and the system will identify your country as everything after the comma. It should then search for your query exactly and for what it identified as your city, performing API calls on both users and items, for a minimum of four queries.
Sorry about it not getting your correct location in the first place, the best GeoIP database available has only about 61% coverage in the UK.
I suppose the right thing would be for the system to identify England, Wales, Scotland and Northern Ireland as United Kingdom "States". Ideally that should apply to other places and islands like Corsica (France), Sicily (Italy), Mallorca (Spain), etc.
Is there a way to sort results by date? All submissions for Sunnyvale, CA are >1000 days old
Not yet, although I may be able to add that today. In the mean time, I added code to make it also search nearby suburbs and the greater San Francisco area. It should work for any of several other suburbs in SF too.
404.
Edit: Nvm, back up.
Edit: Nvm, back up.
really cool.