Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: MLUG Members <EMAIL:PROTECTED>
- Subject: [MLUG] Garage sales and regexps
- From: Mark Rages <EMAIL:PROTECTED>
- Date: Wed, 3 Aug 2005 12:11:02 -0500
- Delivery-date: Wed, 03 Aug 2005 12:11:13 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JYij0npomWSWGiReAKFjJo6OLAt+u2ef8+MuINi4LjfnND1Mmqtj1nCE86dhOM5Ovx364LlrRkttGu2+0BRrz1j0cVxBZnn6Jctm1lOF7jqYavJsEGYe2Yf79F2D0JX4IUDxiXPmWvjM1FDPr/0NJ1ayOHMy9LgTHynm/BmI0iY=
- Envelope-to: EMAIL:PROTECTED
- In-reply-to: <EMAIL:PROTECTED>
- References: <EMAIL:PROTECTED> <EMAIL:PROTECTED> <EMAIL:PROTECTED> <EMAIL:PROTECTED> <EMAIL:PROTECTED>
- Reply-to: Mark Rages <EMAIL:PROTECTED>, MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
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