From: Michael Orlitzky Date: Mon, 23 Jun 2014 13:38:10 +0000 (-0400) Subject: Add SportInfo support for NFLMondayNightXML.dtd. X-Git-Tag: 0.0.6~101 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=4c58f918f7f24ee4c839b7c4f42a55f04a2d8622;p=dead%2Fhtsn-import.git Add SportInfo support for NFLMondayNightXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index cd84926..ca7b1a2 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -316,6 +316,8 @@ NFLGiveTakeXML.dtd NFLInside20XML.dtd .IP \[bu] NFLKickoffsXML.dtd +.IP \[bu] +NFLMondayNightXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFLMondayNightXML.dtd b/schema/NFLMondayNightXML.dtd new file mode 100644 index 0000000..78761f1 --- /dev/null +++ b/schema/NFLMondayNightXML.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLMondayNightXML/NFLMondayNightXML.xml b/schemagen/NFLMondayNightXML/NFLMondayNightXML.xml new file mode 100644 index 0000000..32b9587 --- /dev/null +++ b/schemagen/NFLMondayNightXML/NFLMondayNightXML.xml @@ -0,0 +1,231 @@ + + + +9917 +ABX%NFL-MONDAY-NIGHT +Statistics +NFL +NFL Statistics - Monday Night Records of NFL Teams + ++Baltimore Ravens +1 +0 +0 +1.000 + ++Jacksonville Jaguars +5 +2 +0 +.714 + ++Seattle Seahawks +12 +6 +0 +.667 + ++Oakland Raiders +34 +18 +1 +.651 + ++Pittsburgh Steelers +29 +18 +0 +.617 + ++Indianapolis Colts +12 +8 +0 +.600 + ++Kansas City Chiefs +17 +13 +0 +.567 + ++Miami Dolphins +35 +29 +0 +.547 + ++Cleveland Browns +13 +11 +0 +.542 + ++San Diego Chargers +14 +12 +0 +.538 + ++Tennessee Titans +14 +13 +0 +.519 + ++Buffalo Bills +17 +20 +0 +.459 + ++Denver Broncos +21 +25 +1 +.457 + ++New York Jets +14 +18 +0 +.438 + ++New England Patriots +8 +18 +0 +.308 + ++Cincinnati Bengals +7 +16 +0 +.304 + + + ++Carolina Panthers +2 +1 +0 +.667 + ++San Francisco 49ers +35 +20 +0 +.636 + ++Dallas Cowboys +35 +26 +0 +.574 + ++Tampa Bay Buccaneers +5 +4 +0 +.556 + ++Minnesota Vikings +21 +19 +0 +.525 + ++Philadelphia Eagles +15 +15 +0 +.500 + ++Green Bay Packers +17 +18 +1 +.486 + ++Washington Redskins +24 +26 +0 +.480 + ++Detroit Lions +11 +13 +1 +.460 + ++St. Louis Rams +19 +23 +0 +.452 + ++New York Giants +15 +26 +1 +.369 + ++Chicago Bears +16 +28 +0 +.364 + ++Arizona Cardinals +5 +10 +1 +.344 + ++New Orleans Saints +6 +12 +0 +.333 + ++Atlanta Falcons +6 +17 +0 +.261 + + + November 30, 2001, at 04:18 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 8ab5c0f..29c3138 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -178,7 +178,7 @@ dtds = "NFLInside20XML.dtd", "NFLInterceptionLeadersXML.dtd", -- no dtd "NFLKickoffsXML.dtd", - "NFLMondayNightXML.dtd", -- no dtd + "NFLMondayNightXML.dtd", "NFLPassingLeadersXML.dtd", -- no dtd "NFLPassLeadXML.dtd", -- no dtd "NFLQBStartsXML.dtd", -- no dtd @@ -419,7 +419,8 @@ sport_info_test_files = "NFLFumbleLeaderXML.xml", "NFLGiveTakeXML.xml", "NFLInside20XML.xml", - "NFLKickoffsXML.xml" + "NFLKickoffsXML.xml", + "NFLMondayNightXML.xml" ] diff --git a/test/xml/sportinfo/NFLMondayNightXML.dtd b/test/xml/sportinfo/NFLMondayNightXML.dtd new file mode 100644 index 0000000..78761f1 --- /dev/null +++ b/test/xml/sportinfo/NFLMondayNightXML.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLMondayNightXML.xml b/test/xml/sportinfo/NFLMondayNightXML.xml new file mode 100644 index 0000000..32b9587 --- /dev/null +++ b/test/xml/sportinfo/NFLMondayNightXML.xml @@ -0,0 +1,231 @@ + + + +9917 +ABX%NFL-MONDAY-NIGHT +Statistics +NFL +NFL Statistics - Monday Night Records of NFL Teams + ++Baltimore Ravens +1 +0 +0 +1.000 + ++Jacksonville Jaguars +5 +2 +0 +.714 + ++Seattle Seahawks +12 +6 +0 +.667 + ++Oakland Raiders +34 +18 +1 +.651 + ++Pittsburgh Steelers +29 +18 +0 +.617 + ++Indianapolis Colts +12 +8 +0 +.600 + ++Kansas City Chiefs +17 +13 +0 +.567 + ++Miami Dolphins +35 +29 +0 +.547 + ++Cleveland Browns +13 +11 +0 +.542 + ++San Diego Chargers +14 +12 +0 +.538 + ++Tennessee Titans +14 +13 +0 +.519 + ++Buffalo Bills +17 +20 +0 +.459 + ++Denver Broncos +21 +25 +1 +.457 + ++New York Jets +14 +18 +0 +.438 + ++New England Patriots +8 +18 +0 +.308 + ++Cincinnati Bengals +7 +16 +0 +.304 + + + ++Carolina Panthers +2 +1 +0 +.667 + ++San Francisco 49ers +35 +20 +0 +.636 + ++Dallas Cowboys +35 +26 +0 +.574 + ++Tampa Bay Buccaneers +5 +4 +0 +.556 + ++Minnesota Vikings +21 +19 +0 +.525 + ++Philadelphia Eagles +15 +15 +0 +.500 + ++Green Bay Packers +17 +18 +1 +.486 + ++Washington Redskins +24 +26 +0 +.480 + ++Detroit Lions +11 +13 +1 +.460 + ++St. Louis Rams +19 +23 +0 +.452 + ++New York Giants +15 +26 +1 +.369 + ++Chicago Bears +16 +28 +0 +.364 + ++Arizona Cardinals +5 +10 +1 +.344 + ++New Orleans Saints +6 +12 +0 +.333 + ++Atlanta Falcons +6 +17 +0 +.261 + + + November 30, 2001, at 04:18 PM ET +