For a home station do you think that storing it in a cookie is
enough?  or should I allow setting a home by choosing a  station and
then bookmarking it (eg that page becomes the homepage with all the
details about travel from that location)

Jesse

On Jul 23, 10:58 am, Ido Green <[EMAIL PROTECTED]> wrote:
> Nice!
> Good work... I think you might want to let the user set their 'home'
> station?
>
> On Jul 22, 5:12 pm, Jesse <[EMAIL PROTECTED]> wrote:
>
> > I've just finished my first iPhone specific web app: caltrain schedule
>
> > it's available athttp://caltrainapp.com
>
> > some details:
>
> >  - parsing the html tables fromhttp://caltrain.com/timetable.htmlwas
> > the hardest part because they aren't valid/well formed.  (usually they
> > have times between as 1:00, for both 1am and 1pm, as well as an
> > occasional 13:XX and other oddities.
>
> >  - all the pages are pre-built: resulting in 6MB of html, and 1465
> > files.
>
> >  - built in ruby, using erb
>
> >  - created links to google maps (which pop up in the maps app) -
> > moviesapp.com used a string &oi=movies - anyone know what this is?
>
> > ---
>
> > I hope to move from iUI to a more suitable UI (not that iUI isn't
> > good, but it isn't rich enough for the types of pages I need).  Plus
> > bookmarkability would be nice ;)
>
> > If anyone is interested I'll release the source under the GPL
>
> > Jesse
>
> > ps: There are hunks of (elisp?) code in comments of the timetable page
> > on caltrain.com -- good to know lispers use errors like foo as well :p
>
> >    (while (re-search-forward "</th><td" nil t)
> >      (backward-char 3)
> >      (save-restriction
> >        (narrow-to-region (point) (progn (end-of-line) (point)))
> >        (goto-char (point-min))
> >        (let ((s '(1 1 3 2 3 2 3 2 2 3 2 3 2 2 3 2 2 1 2 1 2 1 2 1 2 1
> > 2 1 2 1 2 2 3 2 3 2 3 2 2 3 2 3 2 2 1 1 1 1 )))
> >          (while s
> >             (re-search-forward "\\(<td[^<>\n]*>\\)\\([^\n<>]*</td>\
> > \)")
> >             (replace-match (format "\\1<!%s-%d%s->\\2" "-" (car s)
> > "-"))
> >             (setq s (cdr s)))
> >          (or (looking-at "</tr>") (error "Foo")))))


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to