Description
PLEASE READ THIS: Hello everyone! As many of you know, I dislike (and by dislike, I mean "hate with the fire of a thousand suns") baseball. The games are sloooow and boring, and I harbor resentment from years ago when my favorite TV shows would be pre-empted for baseball games. The TV thing isn't an issue anymore, but I'm still bitter. It probably doesn't help that the baseball team of my city is the "Natinals".
I didn't even want to make this widget; in addition to writing the code and making the graphics, there's the ongoing burden of maintaining this thing when the MLB inevitably changes their site or when Yahoo! Widgets changes their API. So here's the bad news (well, bad for y'all, not so bad for me): if this widget breaks because MLB.com (where I scrape the data) changes their website layouts, there's a good chance I will stop maintaining this widget. Donations will make it more likely that I will maintain this widget.
- Arizona Diamondbacks
- Atlanta Braves
- Baltimore Orioles
- Boston Red Sox
- Chicago Cubs
- Chicago White Sox
- Cincinnati Reds
- Cleveland Indians
- Colorado Rockies
- Detroit Tigers
- Florida Marlins
- Houston Astros
- Kansas City Royals
- Los Angeles Angels
- Los Angeles Dodgers
- Milwaukee Brewers
- Minnesota Twins
- New York Mets
- New York Yankees
- Oakland Athletics
- Philadelphia Phillies
- Pittsburgh Pirates
- St. Louis Cardinals
- San Diego Padres
- San Francisco Giants
- Seattle Mariners
- Tampa Bay Rays
- Texas Rangers
- Toronto Blue Jays
- Washington Nationals
- Day of week
- Date
- Opponent
- Time the game will be broadcast or the outcome of the game
- Network TV channel on which the game will be broadcast
- Probable pitcher or winning pitcher if the game is completed
- Probable opposing pitcher or losing pitcher if the game is completed
- Home and away teams, including score if the game is in progress or completed
- Time the game will be broadcast
- "Home" network TV channel on which the game will be broadcast
- "Away" network TV channel on which the game will be broadcast
- "Home" radio station on which the game will be broadcast
- "Away" radio station on which the game will be broadcast
- Probable home pitcher or winning pitcher if the game is completed
- Probable away pitcher or losing pitcher if the game is completed
- W
- L
- PCT
- GB
- HOME
- ROAD
- RS
- RA
- DIFF
- STRK
- L10
- POFF
When the widget loads, the week / day / year displayed will be set so that the current date is displayed.
The dock will display the record for the current season, even if you're viewing data for a past year.
In "Upcoming Schedule" view, the daily schedule is shown and the next and previous buttons will cycle through the days. In "Team Schedule" view, the weekly schedule is displayed, and the next and previous buttons will cycle through the weeks available. In "Standings" view, the weekly schedule is displayed, and the next and previous buttons will cycle through the years available.
These previous/next buttons are hidden until the mouse rolls over the widget, so if you're wondering where they are, move your mouse over the schedule and look in the lower left (or right, depending on your logo location) of the widget.
Schedule will update as times and scores become available. By default, data is refreshed when the widget is loaded, when you select "Refresh" from the context menu, and when you save your Preferences. You may also, via the Preferences, set the data to refresh when the schedule is maximized.
From the context menu, which is accessed via right-clicking (Windows) or CTRL-clicking (Mac) on the widget, the display can be toggled between the schedule/results and the standings; "View schedule/results" will be a context menu option when you are viewing the conference standings, and "View standings" will be a context menu option when you are viewing the schedule.
Data is scraped from ESPN.com and MLB.com.
Columns displayed and background opacity are configurable.
Logo position and size are configurable. The logo can be placed at any of the corners, allowing you to align the widget against any edge of the screen.
Double-click the logo to minimize or expand the schedule. You may also click on the minus and plus images to minimize or expand the schedule.
Hovering over the logo will display the "Last Updated" time in a tool tip.
As of late July 2008 (version 1.1), game times automatically adjust to your local time zone. You no longer need to choose a time zone via the Preferences.
From the Preferences window, you can tell the widget to check for a newer version on startup. You can also check for updates by selecting "Check for newer version" from the context menu.
Notes
- September 2009: Thanks to Joseph Daham, graphics are now included for allt eams. Initially, I had only included graphics for the Baltimore Orioles and the San Francisco Giants since I am only familiar with the logos (never mind the official team colors) for these MLB teams, and I had better things to do than to research the logos and official colors and create graphics for all teams.
- Since it scrapes data from a live web page, this widget will break if that web page changes its format. I'm, uh, not really a sports fan. With the exception of my Georgia Tech and Redskins widgets, I don't run any of my sports widgets. If something is broken, please contact me and I will attempt to fix it.
Thanks
- To Joseph Daham for creating the Default Skin graphics for most of the teams
- To the fine people behind www.ajaxload.info, which I used to generate the new (well, new in August 2007) "loading" graphic that is optionally displayed when data is being retrieved
- To Someone Who Shall Remain Nameless for beta-testing
- To Chris Creamer and his totally fabulous sportslogos.net site. And thanks to everyone who uploaded a logo to his site.




