From: Michael Orlitzky Date: Sat, 28 Jun 2014 00:16:55 +0000 (-0400) Subject: Add jfilexml to the list of supported document types. X-Git-Tag: 0.0.6~62 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=7f1aa546e884f803c1f274368bdbb0b2a9504456;p=dead%2Fhtsn-import.git Add jfilexml to the list of supported document types. Update the TODO. --- diff --git a/doc/TODO b/doc/TODO index 53ab90e..027718b 100644 --- a/doc/TODO +++ b/doc/TODO @@ -10,12 +10,15 @@ before "version one point oh." This list refers to an old proprietary implementation, sorry: - * jfilexml * Schedule_Changes_XML 5. Update the list of schemagen files in htsn-import.cabal. -6. We have DTDs but no sample XML for the following SportInfo types, +6. Test addition of a new field (weatherxml) and ensure that the + database schema is updated accordingly. Document this fact in the + man page. + +7. We have DTDs but no sample XML for the following SportInfo types, which have therefore been left unimplmented for now: * Cbask_Indv_No_Avg_XML.dtd @@ -35,7 +38,7 @@ * NFLYardsXML.dtd * NFL_PuntingLeaders_XML.dtd -7. The following DTD types were handled (in some form) by the old +8. The following DTD types were handled (in some form) by the old FeedGrabber. They are not yet handled by htsn-import (some may not be valid): diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 6980942..e912c71 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -23,9 +23,10 @@ database. .P First, we must parse the XML. Each supported document type (see below) has a full pickle/unpickle implementation (\(dqpickle\(dq is simply a -synonym for serialize here). That means that we parse the entire -document into a data structure, and if we pickle (serialize) that data -structure, we get the exact same XML document tha we started with. +synonym for \(dqserialize\(dq here). That means that we parse the +entire document into a data structure, and if we pickle (serialize) +that data structure, we get the exact same XML document tha we started +with. .P This is important for two reasons. First, it serves as a second level of validation. The first validation is performed by the XML parser, @@ -58,6 +59,8 @@ Injuries_Detail_XML.dtd .IP \[bu] injuriesxml.dtd .IP \[bu] +jfilexml.dtd +.IP \[bu] newsxml.dtd .IP \[bu] Odds_XML.dtd