From: Michael Orlitzky Date: Mon, 16 Jun 2014 22:17:21 +0000 (-0400) Subject: Add SportInfo support for Cbask_Polls_XML.dtd. X-Git-Tag: 0.0.6~193 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=05f68176948f888f3a5faacab98e0b8448b345e8;p=dead%2Fhtsn-import.git Add SportInfo support for Cbask_Polls_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index d2fba15..9424e71 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -138,6 +138,8 @@ CBASK_FTPctXML.dtd Cbask_Indv_Scoring_XML.dtd .IP \[bu] CBASK_MinutesXML.dtd +.IP \[bu] +Cbask_Polls_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/Cbask_Polls_XML.dtd b/schema/Cbask_Polls_XML.dtd new file mode 100644 index 0000000..34482d6 --- /dev/null +++ b/schema/Cbask_Polls_XML.dtd @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Cbask_Polls_XML/Cbask_Polls_XML.xml b/schemagen/Cbask_Polls_XML/Cbask_Polls_XML.xml new file mode 100644 index 0000000..1bd99bc --- /dev/null +++ b/schemagen/Cbask_Polls_XML/Cbask_Polls_XML.xml @@ -0,0 +1,142 @@ + + + +17 +AEB!ESPN-USA-TODAY-POLL +Miscellaneous +CBASK +USA Today/ESPN Men's Top-25 College Basketball Poll + +23-2 +763 +2 + + +21-3 +748 +3 + + +23-2 +719 +1 + + +24-2 +675 +5 + + +20-4 +644 +4 + + +22-4 +611 +7 + + +24-3 +557 +8 + + +19-5 +540 +6 + + +22-3 +516 +12 + + +22-4 +429 +16 + + +17-6 +408 +14 + + +17-7 +361 +9 + + +21-5 +348 +11 + + +20-6 +325 +15 + + +16-6 +307 +13 + + +17-8 +304 +10 + + +18-7 +249 +18 + + +18-5 +214 +20 + + +19-7 +207 +19 + + +19-7 +204 +22 + + +17-8 +155 +17 + + +18-6 +151 +25 + + +17-8 +130 +24 + + +19-4 +90 +NR + + +19-7 +69 +21 + + +Western Kentucky 68, North Carolina State 57, U-C-L-A +46, Hawaii 31, Connecticut 27, Butler 26, Tulsa 14, Mississippi 13, Texas 12, +Kent State 11, Arizona State 8, Utah 7, Southern Illinois 6, Texas Tech 6, +Wyoming 5, Valparaiso 3, California 2, Minnesota 2, Mississippi State 2, Utah +State 2, Hampton 1, Notre Dame 1, Rutgers 1. + + February 19, 2002, at 02:47 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index a799ae7..276b9ca 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -82,7 +82,7 @@ dtds = "Cbask_Indv_Scoring_XML.dtd", "Cbask_Indv_Shooting_XML.dtd", -- no dtd "CBASK_MinutesXML.dtd", - "Cbask_Polls_XML.dtd", -- no dtd + "Cbask_Polls_XML.dtd", "CBASK_ReboundsXML.dtd", -- no dtd "CBASK_ScoringLeadersXML.dtd", -- no dtd "CBASK_StealsXML.dtd", -- no dtd @@ -329,7 +329,8 @@ sport_info_test_files = "test/xml/sportinfo/CBASK_FoulsXML.xml", "test/xml/sportinfo/CBASK_FTPctXML.xml", "test/xml/sportinfo/Cbask_Indv_Scoring_XML.xml", - "test/xml/sportinfo/CBASK_MinutesXML.xml" + "test/xml/sportinfo/CBASK_MinutesXML.xml", + "test/xml/sportinfo/Cbask_Polls_XML.xml" ] diff --git a/test/xml/sportinfo/Cbask_Polls_XML.dtd b/test/xml/sportinfo/Cbask_Polls_XML.dtd new file mode 100644 index 0000000..34482d6 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Polls_XML.dtd @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Cbask_Polls_XML.xml b/test/xml/sportinfo/Cbask_Polls_XML.xml new file mode 100644 index 0000000..7c2cdfd --- /dev/null +++ b/test/xml/sportinfo/Cbask_Polls_XML.xml @@ -0,0 +1,142 @@ + + + +9191117 +AEB!ESPN-USA-TODAY-POLL +Miscellaneous +CBASK +USA Today/ESPN Men's Top-25 College Basketball Poll + +23-2 +763 +2 + + +21-3 +748 +3 + + +23-2 +719 +1 + + +24-2 +675 +5 + + +20-4 +644 +4 + + +22-4 +611 +7 + + +24-3 +557 +8 + + +19-5 +540 +6 + + +22-3 +516 +12 + + +22-4 +429 +16 + + +17-6 +408 +14 + + +17-7 +361 +9 + + +21-5 +348 +11 + + +20-6 +325 +15 + + +16-6 +307 +13 + + +17-8 +304 +10 + + +18-7 +249 +18 + + +18-5 +214 +20 + + +19-7 +207 +19 + + +19-7 +204 +22 + + +17-8 +155 +17 + + +18-6 +151 +25 + + +17-8 +130 +24 + + +19-4 +90 +NR + + +19-7 +69 +21 + + +Western Kentucky 68, North Carolina State 57, U-C-L-A +46, Hawaii 31, Connecticut 27, Butler 26, Tulsa 14, Mississippi 13, Texas 12, +Kent State 11, Arizona State 8, Utah 7, Southern Illinois 6, Texas Tech 6, +Wyoming 5, Valparaiso 3, California 2, Minnesota 2, Mississippi State 2, Utah +State 2, Hampton 1, Notre Dame 1, Rutgers 1. + + February 19, 2002, at 02:47 PM ET +