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 Tue, 2 Aug 2005, Mark Rages wrote:
So (while the baby sleeps) I'm trying to connect the Tribune's online
garage sale listings with google maps. A work in progress here:
http://mlug.missouri.edu/~markrages/cgi-bin/garagemap.cgi
Brilliant!
So far so good, but I need a way to get the sale day and time from the
listing. The problem is, the listing style varies quite a bit. My
program must be clever.
There are probably modules for handling dates. My simple approach is
often to pipe a date into "date -d" and let it figure it out and reformat
it however I like. With the kind of stuff you have, there will be no
guarantees, but it looks like you will have to start with day names (Sat,
Sun, etc.) because those are fairly consistent. It will be a lot of work
to write out all rules and the exceptions.
Mike
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members