X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2FTODO;h=96e4d1b2df563033f0521a71c5dac21c91becefc;hb=48a4a14cc877667e448e7b5291feca31acc662f9;hp=31a16c24e56994ae5e3f44799d45122cf08df9d8;hpb=de92d433bb274dd704085f16648fbadf95df9716;p=dead%2Fhtsn-import.git diff --git a/doc/TODO b/doc/TODO index 31a16c2..96e4d1b 100644 --- a/doc/TODO +++ b/doc/TODO @@ -4,15 +4,7 @@ 2. Write a test for test/xml/Odds_XML-long-import.xml once it no longer takes 10 minutes to import (Postgres only?). -3. Add support the the second type of weatherxml (see man page). - -4. There are a few remaining document types that we need to parse - before "version one point oh." This list refers to an - old proprietary implementation, sorry: - - * Schedule_Changes_XML - -5. We have DTDs but no sample XML for the following SportInfo types, +3. 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 @@ -21,18 +13,12 @@ * Cbask_Team_Scoring_Rebound_Margin_XML.dtd * Cbask_Team_Scoring_XML.dtd * Cbask_Team_Shooting_Pct_XML.dtd - * NFLGrassTurfDomeOutsideXML.dtd - * NFLInterceptionLeadersXML.dtd - * NFLPassingLeadersXML.dtd - * NFLReceivingLeadersXML.dtd - * NFLRushingLeadersXML.dtd - * NFLTackleFFLeadersXML.dtd * NFLTopKickoffReturnXML.dtd * NFLTopPuntReturnXML.dtd * NFLYardsXML.dtd * NFL_PuntingLeaders_XML.dtd -6. The following DTD types were handled (in some form) by the old +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 be valid): @@ -44,11 +30,9 @@ * CBATeamScheduleXML * CFLTeamScheduleXML * CFLTotalTeamScheduleXML - * earlylineXML * Minor_Baseball_TeamScheduleXML * MinorLeagueHockeyTeamScheduleXML * MLB_Boxscore_XML - * MLB_earlylineXML * MLB_IndividualStats_XML * MLB_Probable_Pitchers_XML * MLB_Roster_XML @@ -71,12 +55,10 @@ * WNBA_Individual_Stats_XML * WNBATeamScheduleXML -7. Add a note about the NULL vs. empty string policy in the man page. - -8. Add a note mentioning that shared tables (teams) and the reason for - using a join table instead of keying them directly to the parent. +5. Consolidate all of the make_game_time functions which take a + date/time and produce a combined time. -9. Consolidate all of the make_game_time functions. +6. Factor out test code where possible; a lot of them differ only in + the filename. -10. Document how to get an empty database set up (import test xml then - delete). +7. Combine test XML files where possible.