From: Michael Orlitzky Date: Thu, 6 Nov 2014 19:40:23 +0000 (-0500) Subject: Add SportInfo support for NFL_PuntingLeaders_XML.dtd. X-Git-Tag: 0.2.1~68 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a3a5a3af1f70b4c5775ca2081cedf95b844238f0;p=dead%2Fhtsn-import.git Add SportInfo support for NFL_PuntingLeaders_XML.dtd. --- diff --git a/doc/TODO b/doc/TODO index 6fef02e..2f1143d 100644 --- a/doc/TODO +++ b/doc/TODO @@ -13,7 +13,6 @@ * Cbask_Team_Scoring_Rebound_Margin_XML.dtd * Cbask_Team_Scoring_XML.dtd * Cbask_Team_Shooting_Pct_XML.dtd - * NFL_PuntingLeaders_XML.dtd 4. The following DTD types were handled (in some form) by the old FeedGrabber. They are not yet handled by htsn-import (some may not diff --git a/htsn-import.cabal b/htsn-import.cabal index bde53cc..afa02df 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -152,6 +152,7 @@ extra-source-files: schemagen/NFLPassingLeadersXML/*.xml schemagen/NFLPassLeadXML/*.xml schemagen/nflpreviewxml/*.xml + schemagen/NFL_PuntingLeaders_XML/*.xml schemagen/NFLQBStartsXML/*.xml schemagen/NFLReceivingLeadersXML/*.xml schemagen/NFL_Roster_XML/*.xml diff --git a/schema/NFL_PuntingLeaders_XML.dtd b/schema/NFL_PuntingLeaders_XML.dtd new file mode 100644 index 0000000..e2a5d4e --- /dev/null +++ b/schema/NFL_PuntingLeaders_XML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFL_PuntingLeaders_XML/22034665.xml b/schemagen/NFL_PuntingLeaders_XML/22034665.xml new file mode 100644 index 0000000..458a13e --- /dev/null +++ b/schemagen/NFL_PuntingLeaders_XML/22034665.xml @@ -0,0 +1 @@ + 22034665 ABX%AFC-PUNTINGYARDS-LEADERS Statistics NFL 2014 AFC Punting Yards Leaders 1 10712 Bryan Anger, JAC 42 1954 46.5 64 10 23.8 5 11.9 2 12397 Colton Schmidt, BUF 41 1805 44.0 61 14 34.1 4 9.8 3 11322 Ryan Quigley, NYJ 37 1765 47.7 64 12 32.4 3 8.1 4 8601 Britton Colquitt, DEN 36 1628 45.2 60 14 38.9 0 0.0 5 3740 Mike Scifres, SDC 35 1613 46.1 72 15 42.9 6 17.1 6 8001 Brett Kern, TEN 35 1568 44.8 69 12 34.3 5 14.3 7 789 Shane Lechler, HOU 32 1540 48.1 71 9 28.1 6 18.8 8 11652 Ryan Allen, NEP 33 1524 46.2 63 12 36.4 2 6.1 9 11655 Brad Wing, PIT 33 1456 44.1 70 12 36.4 3 9.1 10 10072 Spencer Lanning, CLE 32 1446 45.2 59 9 28.1 4 12.5 11 11162 Marquette King, OAK 33 1430 43.3 61 13 39.4 1 3.0 12 8438 Pat McAfee, IND 27 1285 47.6 61 13 48.1 1 3.7 8230 Kevin Huber, CIN 28 1285 45.9 63 11 39.3 1 3.6 13 4998 Dustin Colquitt, KAN 24 1062 44.3 64 13 54.2 2 8.3 14 6010 Sam Koch, BAL 21 988 47.0 69 10 47.6 2 9.5 15 6554 Brandon Fields, MIA 21 909 43.3 60 5 23.8 1 4.8 October 24, 2014, at 01:44 AM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index d993176..478f48a 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -184,6 +184,7 @@ dtds = "NFLYardsXML.dtd", "NFL_KickingLeaders_XML.dtd", "NFL_NBA_Draft_XML.dtd", + "NFL_PuntingLeaders_XML.dtd", "NFL_Roster_XML.dtd", "NFL_Team_Stats_XML.dtd", "Transactions_XML.dtd", diff --git a/test/xml/sportinfo/NFL_PuntingLeaders_XML.dtd b/test/xml/sportinfo/NFL_PuntingLeaders_XML.dtd new file mode 100644 index 0000000..e2a5d4e --- /dev/null +++ b/test/xml/sportinfo/NFL_PuntingLeaders_XML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFL_PuntingLeaders_XML.xml b/test/xml/sportinfo/NFL_PuntingLeaders_XML.xml new file mode 100644 index 0000000..458a13e --- /dev/null +++ b/test/xml/sportinfo/NFL_PuntingLeaders_XML.xml @@ -0,0 +1 @@ + 22034665 ABX%AFC-PUNTINGYARDS-LEADERS Statistics NFL 2014 AFC Punting Yards Leaders 1 10712 Bryan Anger, JAC 42 1954 46.5 64 10 23.8 5 11.9 2 12397 Colton Schmidt, BUF 41 1805 44.0 61 14 34.1 4 9.8 3 11322 Ryan Quigley, NYJ 37 1765 47.7 64 12 32.4 3 8.1 4 8601 Britton Colquitt, DEN 36 1628 45.2 60 14 38.9 0 0.0 5 3740 Mike Scifres, SDC 35 1613 46.1 72 15 42.9 6 17.1 6 8001 Brett Kern, TEN 35 1568 44.8 69 12 34.3 5 14.3 7 789 Shane Lechler, HOU 32 1540 48.1 71 9 28.1 6 18.8 8 11652 Ryan Allen, NEP 33 1524 46.2 63 12 36.4 2 6.1 9 11655 Brad Wing, PIT 33 1456 44.1 70 12 36.4 3 9.1 10 10072 Spencer Lanning, CLE 32 1446 45.2 59 9 28.1 4 12.5 11 11162 Marquette King, OAK 33 1430 43.3 61 13 39.4 1 3.0 12 8438 Pat McAfee, IND 27 1285 47.6 61 13 48.1 1 3.7 8230 Kevin Huber, CIN 28 1285 45.9 63 11 39.3 1 3.6 13 4998 Dustin Colquitt, KAN 24 1062 44.3 64 13 54.2 2 8.3 14 6010 Sam Koch, BAL 21 988 47.0 69 10 47.6 2 9.5 15 6554 Brandon Fields, MIA 21 909 43.3 60 5 23.8 1 4.8 October 24, 2014, at 01:44 AM ET \ No newline at end of file