Hey everyone. I've already made a ton of features for my league, and next up I'm looking to parse (read) the html pages that STHS outputs and dump the data into a database.
Has anyone been able to do this?
Thanks!
Mike
http://www.nhahockey.com
Parsing STHS html output
-
- New in Town / Le Ptit Nouveau
- Posts: 17
- Joined: Thu May 25, 2006 4:46 pm
Re: Parsing STHS html output
Our league has been parsing FHL box scores, transactions, lines, and injury/suspension lists for some time utilizing an asp.net script for several seasons now. We'll be doing the same for STHS once we start up the new sim next season.
It does take some time and technical skill, but it can be done. The STHS format actually makes it a lot easier, as you don't have to run a series of algorithms trying to determine the player now that STHS displays the full name rahter than just the last name (for example, one team in our league has both Sedins. What a nightmare!)
Having the box scores outputted in XML with sim-generated playerids would go a long way to making that easy for everybody, but I'm guessing that won't be an option for some time as focus stays on improving the sim itself.
It does take some time and technical skill, but it can be done. The STHS format actually makes it a lot easier, as you don't have to run a series of algorithms trying to determine the player now that STHS displays the full name rahter than just the last name (for example, one team in our league has both Sedins. What a nightmare!)
Having the box scores outputted in XML with sim-generated playerids would go a long way to making that easy for everybody, but I'm guessing that won't be an option for some time as focus stays on improving the sim itself.
The Ultimate Hockey League - established 1995
http://www.ultimatehockeyleague.net
http://www.ultimatehockeyleague.net