Lightweight Bus Predictions Page

February 10th, 2015
tech, transit
Yesterday I complained:
These are all bookmarks to particular stops on mbtainfo.com. This is the best site I've used, though there are still things I don't like about it. The main thing I don't like is that the page takes multiple round trips to load something that could be just a simple lightweight page of html with inline css, and occasionally I have poor cell service when I'm making one of these requests.

I felt kind of silly writing that. Why have I been using something for years if it's relatively simple and doesn't work how I want it to? So I wrote my own: jefftk.com/nextbus/mbta/. It's very simple, just a thin wrapper around the nextbus API (pdf) to switch it from xml to ugly-but-mostly-mobile-friendly html.

(It's not actually restricted to the MBTA; see the full agency list.)

Referenced in: Styled Bus Predictions

Comment via: google plus, facebook

Recent posts on blogs I like:

Facts I Learned From A City On Mars

Space bastardry!

via Thing of Things April 14, 2025

Which Came First, the Chicken or the Egg?

When I thought about this question it was really hard to figure out because the way it's phrased it's essentially either a chicken just pops into existence, or an egg just pops into existence, without any parent animals involved. I thought about t…

via Lily Wise's Blog Posts April 13, 2025

Advice for time management as a manager

have accurate expectations of yourself • prioritize ruthlessly • unemploy your future self • a five-step “help, I’m overwhelmed” checklist • carve out focused time

via benkuhn.net April 1, 2025

more     (via openring)