From: Michael Orlitzky Date: Tue, 10 Jun 2014 20:57:37 +0000 (-0400) Subject: Add GameInfo support for Matchup_NBA_NHL_XML.dtd. X-Git-Tag: 0.0.6~241 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f2822a93d9f78a2f4c16b272f905b3c36bb4870d;p=dead%2Fhtsn-import.git Add GameInfo support for Matchup_NBA_NHL_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 2c6fdbb..1bf75ff 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -61,6 +61,8 @@ Heartbeat.dtd Injuries_Detail_XML.dtd .IP \[bu] injuriesxml.dtd +.IP \[bu] 2 +Matchup_NBA_NHL_XML.dtd (GameInfo) .IP \[bu] MLB_Gaming_Matchup_XML.dtd (GameInfo) .IP \[bu] diff --git a/schema/Matchup_NBA_NHL_XML.dtd b/schema/Matchup_NBA_NHL_XML.dtd new file mode 100644 index 0000000..3e243ec --- /dev/null +++ b/schema/Matchup_NBA_NHL_XML.dtd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Matchup_NBA_NHL_XML/Matchup_NBA_NHL_XML.xml b/schemagen/Matchup_NBA_NHL_XML/Matchup_NBA_NHL_XML.xml new file mode 100644 index 0000000..afb0919 --- /dev/null +++ b/schemagen/Matchup_NBA_NHL_XML/Matchup_NBA_NHL_XML.xml @@ -0,0 +1,139 @@ + + + +235677 +ADX%MATCHUP-COL-VAN +Statistics +NHL +NHL Matchup - Colorado at Vancouver + +Colorado Avalanche (34-17-12-5) at Vancouver Canucks (36-20-8-4), 10 p.m. + + +Vancouver 2-1-2 (2-0-1 at Col; 0-1-1 at Van) + + +Vancouver 3-2 (1-1 at Col; 2-1 at Van) + + +Colorado 3-2 (2-1 at Col; 1-1 at Van) + + +Colorado 3-2 (2-0 at Col; 1-2 at Van) + +Colorado 17-13-5-1; Vancouver 17-10-5-0 +Colorado 17-4-7-4; Vancouver 19-10-3-4 + + +Colorado 10-7-4-0; Vancouver 8-6-5-1 + +Colorado 26-13-9-5; Vancouver 27-16-7-1 + + +12/11 - Tied, 1-1 ot (at Van) +12/29 - Vancouver, 3-2 (at Col) +01/02 - Colorado, 4-2 (at Van) +02/16 - Vancouver, 1-0 (at Col) +03/03 - Tied, 5-5 ot (at Col) + + +10/31 - Colorado, 5-1 (at Van) +11/04 - Vancouver, 4-2 (at Col) +12/11 - Vancouver, 3-1 (at Van) +12/23 - Colorado, 5-3 (at Col) +02/13 - Vancouver, 2-1 ot (at Van) + + +10/09 - Colorado, 5-4 (at Col) +10/13 - Vancouver, 4-0 (at Van) +10/25 - Colorado, 4-1 (at Col) +11/30 - Colorado, 5-2 (at Van) +04/09 - Vancouver, 2-1 (at Col) + + + +Vancouver is unbeaten (1-0-1) in the last two meetings. + + +Vancouver is 3-1-2 in the last six meetings. + + +Vancouver is 5-2-2 in the last nine and 6-3-2 in the last 11 meetings. + + +Vancouver is 7-6-2 in the last 15 meetings. + + +These two teams are 9-9-2 in the last 20 meetings. + + +Colorado is 15-10-4 in the last 29 meetings. + + +Colorado snapped a three-game series road winless streak on 01/02/04. + + +Colorado is unbeaten (1-0-1) in its last two at Vancouver. + + +Colorado is 1-2-1 in its last four at Vancouver. + + +Colorado is 3-2-1 in its last six at Vancouver. + + +Colorado is 3-5-1 in its last nine at Vancouver. + + +Colorado is 7-5-2 in its last 14 at Vancouver. + + +Vancouver is unbeaten (2-0-1) in its last three at Colorado. + + +Vancouver is 4-1-1 in its last six at Colorado. + + +Vancouver is 4-5-1 in its last 10 and 5-8-2 in its last 15 at Colorado. + + +Vancouver is 6-13-4 in its last 23 at Colorado. + + +Colorado is 1-3-2-1 in its last seven and 2-6-2-1 in its last 11 games. + + +Colorado is 8-1-2-2 in its last 13 road games. + + +Colorado is 23-2-3 when leading after two periods this season. + + +Vancouver is 4-1-1 in its last six and 5-2-1-1 in its last nine games. + + +Vancouver has won three straight after losing its last three home games. + + +Vancouver has won six of its last nine home games. + + +Vancouver is 22-2-0 when leading after two periods this season. + + + +02/28 - L at Columbus, 4-5 ot +03/01 - L vs. Tampa Bay, 0-3 +03/03 - T vs. Vancouver, 5-5 ot +03/05 - W vs. San Jose, 5-1 +03/07 - L vs. Calgary, 1-7 + + +02/26 - W vs. San Jose, 3-2 ot +02/28 - W vs. St. Louis, 2-0 +03/03 - T at Colorado, 5-5 ot +03/05 - L at Detroit, 1-3 +03/06 - W at Columbus, 4-0 + + March 8, 2004, at 12:51 PM ET + diff --git a/src/TSN/XML/GameInfo.hs b/src/TSN/XML/GameInfo.hs index 691d9a9..fdc11ae 100644 --- a/src/TSN/XML/GameInfo.hs +++ b/src/TSN/XML/GameInfo.hs @@ -65,7 +65,7 @@ dtds = [ "CBASK_Lineup_XML.dtd", "cbaskpreviewxml.dtd", "cflpreviewxml.dtd", - "Matchup_NBA_NHL_XML.dtd", -- missing DTD + "Matchup_NBA_NHL_XML.dtd", "mlbpreviewxml.dtd", "MLB_Gaming_Matchup_XML.dtd", "MLB.dtd", -- missing DTD @@ -189,6 +189,7 @@ gameinfo_test_files = [ "test/xml/gameinfo/CBASK_Lineup_XML.xml", "test/xml/gameinfo/cbaskpreviewxml.xml", "test/xml/gameinfo/cflpreviewxml.xml", + "test/xml/gameinfo/Matchup_NBA_NHL_XML.xml", "test/xml/gameinfo/MLB_Gaming_Matchup_XML.xml", "test/xml/gameinfo/MLB_Lineup_XML.xml", "test/xml/gameinfo/MLB_Matchup_XML.xml", diff --git a/test/xml/gameinfo/Matchup_NBA_NHL_XML.dtd b/test/xml/gameinfo/Matchup_NBA_NHL_XML.dtd new file mode 100644 index 0000000..3e243ec --- /dev/null +++ b/test/xml/gameinfo/Matchup_NBA_NHL_XML.dtd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/gameinfo/Matchup_NBA_NHL_XML.xml b/test/xml/gameinfo/Matchup_NBA_NHL_XML.xml new file mode 100644 index 0000000..afb0919 --- /dev/null +++ b/test/xml/gameinfo/Matchup_NBA_NHL_XML.xml @@ -0,0 +1,139 @@ + + + +235677 +ADX%MATCHUP-COL-VAN +Statistics +NHL +NHL Matchup - Colorado at Vancouver + +Colorado Avalanche (34-17-12-5) at Vancouver Canucks (36-20-8-4), 10 p.m. + + +Vancouver 2-1-2 (2-0-1 at Col; 0-1-1 at Van) + + +Vancouver 3-2 (1-1 at Col; 2-1 at Van) + + +Colorado 3-2 (2-1 at Col; 1-1 at Van) + + +Colorado 3-2 (2-0 at Col; 1-2 at Van) + +Colorado 17-13-5-1; Vancouver 17-10-5-0 +Colorado 17-4-7-4; Vancouver 19-10-3-4 + + +Colorado 10-7-4-0; Vancouver 8-6-5-1 + +Colorado 26-13-9-5; Vancouver 27-16-7-1 + + +12/11 - Tied, 1-1 ot (at Van) +12/29 - Vancouver, 3-2 (at Col) +01/02 - Colorado, 4-2 (at Van) +02/16 - Vancouver, 1-0 (at Col) +03/03 - Tied, 5-5 ot (at Col) + + +10/31 - Colorado, 5-1 (at Van) +11/04 - Vancouver, 4-2 (at Col) +12/11 - Vancouver, 3-1 (at Van) +12/23 - Colorado, 5-3 (at Col) +02/13 - Vancouver, 2-1 ot (at Van) + + +10/09 - Colorado, 5-4 (at Col) +10/13 - Vancouver, 4-0 (at Van) +10/25 - Colorado, 4-1 (at Col) +11/30 - Colorado, 5-2 (at Van) +04/09 - Vancouver, 2-1 (at Col) + + + +Vancouver is unbeaten (1-0-1) in the last two meetings. + + +Vancouver is 3-1-2 in the last six meetings. + + +Vancouver is 5-2-2 in the last nine and 6-3-2 in the last 11 meetings. + + +Vancouver is 7-6-2 in the last 15 meetings. + + +These two teams are 9-9-2 in the last 20 meetings. + + +Colorado is 15-10-4 in the last 29 meetings. + + +Colorado snapped a three-game series road winless streak on 01/02/04. + + +Colorado is unbeaten (1-0-1) in its last two at Vancouver. + + +Colorado is 1-2-1 in its last four at Vancouver. + + +Colorado is 3-2-1 in its last six at Vancouver. + + +Colorado is 3-5-1 in its last nine at Vancouver. + + +Colorado is 7-5-2 in its last 14 at Vancouver. + + +Vancouver is unbeaten (2-0-1) in its last three at Colorado. + + +Vancouver is 4-1-1 in its last six at Colorado. + + +Vancouver is 4-5-1 in its last 10 and 5-8-2 in its last 15 at Colorado. + + +Vancouver is 6-13-4 in its last 23 at Colorado. + + +Colorado is 1-3-2-1 in its last seven and 2-6-2-1 in its last 11 games. + + +Colorado is 8-1-2-2 in its last 13 road games. + + +Colorado is 23-2-3 when leading after two periods this season. + + +Vancouver is 4-1-1 in its last six and 5-2-1-1 in its last nine games. + + +Vancouver has won three straight after losing its last three home games. + + +Vancouver has won six of its last nine home games. + + +Vancouver is 22-2-0 when leading after two periods this season. + + + +02/28 - L at Columbus, 4-5 ot +03/01 - L vs. Tampa Bay, 0-3 +03/03 - T vs. Vancouver, 5-5 ot +03/05 - W vs. San Jose, 5-1 +03/07 - L vs. Calgary, 1-7 + + +02/26 - W vs. San Jose, 3-2 ot +02/28 - W vs. St. Louis, 2-0 +03/03 - T at Colorado, 5-5 ot +03/05 - L at Detroit, 1-3 +03/06 - W at Columbus, 4-0 + + March 8, 2004, at 12:51 PM ET +