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:

Contra Scott Alexander On Apologies

I really need a short word for "complicatedly in favor of"

via Thing of Things September 12, 2024

Don't Help Kids With Contra Dancing If They Don't Need Help

If you're a kid like me, most kids have probably never heard of contra dancing before. You're probably wondering: contra dance -- what's that? Contra dancing is in some ways similar to square dancing. It's a group dance with a caller and…

via Lily Wise's Blog Posts September 9, 2024

Two 19th-century missionary memoirs in China

Life for an American family in 1860s China The post Two 19th-century missionary memoirs in China appeared first on Otherwise.

via Otherwise August 24, 2024

more     (via openring)