- From: Dan Connolly <connolly@w3.org>
- Date: Fri, 04 Feb 2005 22:28:57 -0600
- To: Norman Walsh <ndw@nwalsh.com>
- Cc: www-archive@w3.org
I got hipAgent.py http://dev.w3.org/cvsweb/2001/palmagent/hipAgent.py $Id: hipAgent.py,v 1.15 2005/02/05 04:20:14 connolly Exp $ working again tonight, thanks to http://wwwsearch.sourceforge.net/ClientForm/ It goes like this... you get your itinerary in this format: $ cat bos-tp-aab.txt 2005-02-26 lv MCI 15:00 ar ORD 16:27 Saturday AMERICAN AIRLINES #1094 2005-02-26 lv ORD 17:29 ar BOS 20:46 Saturday AMERICAN AIRLINES #874 2005-03-04 lv BOS 09:41 ar ORD 11:30 Friday AMERICAN AIRLINES #1421 2005-03-04 lv ORD 12:52 ar MCI 14:18 Friday AMERICAN AIRLINES #890 (or change the parseFlight() routine) and then do: $ python hipAgent.py --number=2025551212 --passwd=xyzpdq --importItinerary <bos-tp-aab.txt and you get (1) a few hundred lines of diagnostic foo, and (2) a new event in your gizmo for each flight. The code is ugly; I worked on it in sorta monkey-see-monkey-do mode, trying different things, until it worked, at which point I committed it right quick. -- Dan Connolly, W3C http://www.w3.org/People/Connolly/ D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E
Received on Saturday, 5 February 2005 04:28:59 UTC