Page 1 of 1

Parsing STHS html output

Posted: Fri Feb 15, 2008 3:00 am
by NHA
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

Re: Parsing STHS html output

Posted: Fri Feb 15, 2008 6:11 pm
by Foo
I'm parsing boxscores and powerrankings

Re: Parsing STHS html output

Posted: Tue Mar 11, 2008 3:16 pm
by Ultimate Hockey League
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.