Transit Boards for All

Late last month we introduced the Transit Board, a real-time arrival web tool for tracking TriMet buses and trains.

One TMA has already implemented it, we’re in discussion with another TMA, an architecture office has put on their intranet.

One of the pieces of feedback we got is “let us define our own”. So we’ve done just that. It’s not quite as flexible, you can’t change colors and fonts, and you can’t pick individual lines, only sets of lines at a given stop, but you can setup your own Transit Board just be changing the url. Here’s how it works:
Late last month we introduced the Transit Board, a real-time arrival web tool for tracking TriMet buses and trains.

One TMA has already implemented it, we’re in discussion with another TMA, an architecture office has put on their intranet.

One of the pieces of feedback we got is “let us define our own”. So we’ve done just that. It’s not quite as flexible, you can’t change colors and fonts, and you can’t pick individual lines, only sets of lines at a given stop, but you can setup your own Transit Board just be changing the url. Here’s how it works:

http://tsrf.us/cgi-bin/tboard.pl?stop=8334&stop=8383

This particular board is designed for a hypothetical kiosk in the middle of Pioneer Courthouse Square, so it uses the MAX stops on either side of the square. You could add in as many stop= sets into the URL as you want, separating them with ampersands.

You can get stop ids by looking on bus stops, or by using TriMet’s Transit Tracker and noting the URL of the tracking page, looking for the locationID parameter.

We’ll eventually have a tool that will let you click your way through setup of these, but not quite yet – hey, we’re only volunteers.

The URL above works great as standalone page, but you can also put it inside another web page with an IFRAME tag, like so:

<iframe src=”http://tsrf.us/cgi-bin/tboard.pl?stop=8334&stop=8383″ frameborder=0 width=600 height=950>Frame could not be displayed</iframe>

[TIP: Play with the height= attribute of the IFRAME to balance extra white space against scroll bars depending on how many rows show up.]

Which would yield this…

And remember, if you want custom colors, font, bus lines, etc.; let us know, we can customize a Transit Board for you. We also now have a custom version that will work in a pop-up window!

4 Responses to Transit Boards for All