X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2FTODO;h=88cfee0916647ef5f105845707d2cffc2447e047;hb=6b8d64cbe8094ea450cddc45362987ab36d4d82a;hp=ade3c5ca9d6987f1fbba1e9b9b5a948e2d88919f;hpb=fa27649ae583f6bdc20c54db4fc8f38a382a536c;p=dead%2Fhtsn-import.git diff --git a/doc/TODO b/doc/TODO index ade3c5c..88cfee0 100644 --- a/doc/TODO +++ b/doc/TODO @@ -4,19 +4,62 @@ 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). +3. We have DTDs but no sample XML for the following SportInfo types, + which have therefore been left unimplmented for now: -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: + * CBASK_StealsXML.dtd + * Cbask_Team_Scoring_Rebound_Margin_XML.dtd + * Cbask_Team_Scoring_XML.dtd + * Cbask_Team_Shooting_Pct_XML.dtd - * AutoRaceResultsXML - * jfilexml - * Schedule_Changes_XML - * GameInfoXML - * SportInfoListing +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): -5. Try mass import of Auto_Racing_Schedule_XML. + * AutoRacingGridXML + * CBASK_Individual_Stats_XML + * Cbask_Roster_XML + * cbaskteamschedulexml + * CBATeamScheduleXML + * CFLTeamScheduleXML + * CFLTotalTeamScheduleXML + * Minor_Baseball_TeamScheduleXML + * MinorLeagueHockeyTeamScheduleXML + * MLB_Boxscore_XML + * MLB_IndividualStats_XML + * MLB_Probable_Pitchers_XML + * MLB_Roster_XML + * mlbteamschedulexml + * mlsteamschedulexml + * NBA_Boxscore_XML + * NBA_Individual_Stats_XML + * NBA_Roster_XML + * nbateamschedulexml + * NCAA_Basketball_Boxscore_XML + * NCAA_FB_TeamScheduleXML + * NCAAHockeyTeamScheduleXML + * NFL_Boxscore_XML + * NFL_CompBox_XML + * nfldepthchartxml + * nflteamschedulexml + * nhlteamschedulexml + * WCBaskTeamScheduleXML + * WNBA_Boxscore_XML + * WNBA_Individual_Stats_XML + * WNBATeamScheduleXML -6. Replace boilerplate with regular-xmlpickler. +5. Consolidate all of the make_game_time functions which take a + date/time and produce a combined time. +6. Factor out test code where possible; a lot of them differ only in + the filename. + +7. Combine test XML files where possible. + +8. Remove the -XDeriveGeneric argument in test/Doctests.hs; it + shouldn't be necessary if doctest picks up the LANGUAGE pragmas on its + own. + +9. Once generics-sop releases support for bigger tuples, we can remove + the deriveGeneric stuff from Generics.hs. This should also fix the + doctests.