overview ▼ Data Sources Report Coverage Game Data Non-NHL data missing ▼ Players Events broken ▼ Files Names Players Events Challenges Glossaries systemic ▼ HTML files JSON feed HTML reports
HTML files
Donate
Systemic>
HTML files
JSON feed
HTML reports
×

Structural and fatal errors in the HTML report files

Some HTML report files have structural and/or fatal errors that have to be fixed by editing or by creating a fixing script.


Items that required manual editing
Game IdGameReportFix
20012005920011013 NJD @ MTLESRemove invalid html tags
20012012320011023 BOS @ TORGSRemove "2" throughout the file
20052009420051019 NYI @ NYRGSInsert missing period for 15:35 penalty
20052009420051019 NYI @ NYRPLEdited string with 00:28 penalty
20052023320051109 PIT @ WPGGSAdd missing TBODY closing tag
20052026420051113 EDM @ CHIGSFixed bogus on ice
20052030520051119 CHI @ EDMGSInsert missing period for 5:13 penalty
20062007120061014 DAL @ LAKPLAligned period for event #1
20062089220070219 PIT @ NYIGSAdd missing TBODY closing tag
20132033120131121 NYR @ DALPLRemove invalid tag at the 7:50 event
20172046320171211 FLA @ DETPLFixed time -16:0-1
In addition, the following scripting action was required:
  • Removal of nonbreaking space character chr(194)=Â
  • Handling of French texts and locale
  • In the mid-2000s the ES files had a corrupt html that prevented any reasonable parser to consume it. A crude fix is as following (I know, the regex for grep can be improved):
    for i in `grep table /misc/nhl/2*/*/*/ES.html |
       grep width=100% |grep -v 'width=100%>' |
       cut -d: -f1 | sort -u`
    do
    	sed -i s/width=100%/'width=100%>'/ $i
    done
    
Copyright © 2015-2021 MoreHockeyStats.com | about | contact | blog | forum | Terms Of Use | glossary | links
More Hockey Stats Hockey Elo Ratings NHL Errata
Hosted by 1and1 Powered by Mojolicious