MLUG: [MLUG] Garage sales and regexps
[MLUG] Garage sales and regexps
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 8/3/05, Jonathan King <EMAIL:PROTECTED> wrote:
> On 8/3/05, Mark Rages <EMAIL:PROTECTED> wrote:
> >
> > Note that it's "live" now, and only one sale is listed.
>
> Yeah; I saw that.  So you just used the Google maps API for this?
> That's pretty cool.
>

Right. I had the code to parse the garage sales already.  But I had
written that before Google released an official API, and I never could
get my hacks to work. (I'm terrible at Javascript).

To make this work, I made a geocoder class which can use the (free)
geocoder.us service or use Google Maps' geocoding facility, or both.

All the code is on the mlug server in /home/markrages/lib/marpython/.
Feel free to have a look or adopt something.  Also I wrote a generic
caching facility so I don't have to do geocoder lookups for each page
load.

Regards,
Mark
EMAIL:PROTECTED
--
You think that it is a secret, but it never has been one.
  - fortune cookie

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members