New & Improved NHL Schedule Importer for Outlook


*EDIT* Looks like the nhl.com scheduling page has changed thus breaking my importer. I'm working on a new version but no idea when it will be done. I've taken the link down.


Ok, I redid the whole application (since I lost the source code) and added some new features as well. The previous application utilized XML which required you to actually get the NHL schedule in XML format somehow (I used Excel). Needless to say, it was a long and complicated process.


This new version utilizes good old fashioned screen-scraping to get the job done. Here are some key features that I've added:


1. Location field will tell if the stations the game is on for national and local (both away and home team) markets


2. The body for each appointment when you open it up in Outlook contains links to each teams website as well as links to subscribe to that team's RSS feed (see screenshot below)


3. ** Here's the cool feature ** After you ran the application and import your team's schedule, you can run the application at a later date and it will not create duplicate entries. In fact, if you run it a second time, it will add the game's final score and a link to show the recap of that game (again, see screenshot).


4. You know have the ability to add an outlook reminder or not for each game


5. UI is prettier. When you select a team from the drop down list, it will fetch that team's logo from the web and full team name (see screenshot).


6. Internally everything is different. It would have been easy to allow you to select a year (e.g. 2008-2009) but I'll wait to add that. In any case, whenever a new NHL schedule is created, it's a trivial change to get the application to work with it.


*NOTE* I tested this using Vista and Outlook 2007. If you have any issues when importing your team(s) schedule(s), let me know. It helps if you can send a screenshot or any error messages word for word. For developer types who know what a call stack is, send that as well if you can.


Here's some screenshots followed by the link to download the application (complete with installer)


importing


appointment


 


 col GO AVS!!! col

Comments (8)
  1. pat.man says:

    GO AVS GO!

    Captain Canada to the RESCUE (hopefully *g*)

  2. Nathan says:

    Great work.  I do a fair bit of screen scraping myself and I always like to compare notes with others who do it as well.  Do you use an html parser?  I’m using an old version of milhtml and would love to find something a little better.

    Go Preds 🙂

  3. I’m using the HTMLAgilityPack mainly because I saw someone else using it. Unfortuntaly, the folks at the nhl.com website doesn’t really add id’s to a lot of their elements so it makes using XPath (which the agility pack is known for) pretty much a pain. But then again, enumerating through nodes is pretty nice with it too. I should just post the source to this even if it is ugly 😉

  4. Trond says:

    This was one great application. I am sitting here at work in the need of getting the schedule and then save it to XML or CSV, so I was hoping your application did that. Which it didn’t, but then you have a feature request. Also if it could do all the teams.

    Love to see the source for this application.

  5. Hmm, adding export would be easy. Maybe I’ll make an exporter plugin SDK so you can export it in any format you want.

  6. innovabrock says:

    I too am a fan of screen scraping, with an interest in the same data.  I use a language called Rebol as it has a very nice parse dialect that makes light work of screen scraping.  I could share images of my little app and some code snips if there is any interest.

    I have a question for you guys.  Recently the site has changed the way it works and I have been unable to figure out how to generate the URL for all of the previous months of data.  It used to be straight forward.  Then they changed it and was difficult, but I found a way to get the data… now that playoffs are here I can’t get any months data except the current month.  Any clues?

    Enjoy the playoffs… by the way… go Sens go… oh, darn, they are out already!!!  🙁

  7. SoulShaker says:

    I can’t find the link to download the app. Please advise.

Comments are closed.

Skip to main content