From d34e112ba597fe57c0c444c2388e15542743032b Mon Sep 17 00:00:00 2001 From: Andreas Waidler Date: Sat, 25 Jun 2011 01:33:45 +0200 Subject: [PATCH] Updated TODO. --- TODO | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index cdf0552..beadd48 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,21 @@ -* check whether new items are retrieved, but old ones are - not written +* Since every item that is fetched (can) increase the feed + date when that feed is flushed, a subsequent run will only + write and thus overwrite the item if it has a newer + pubDate. + However, if one item occurrs several times in the same feed, + only the most recent one should be written. + + IOW: date conflicts can only happen within a single run. + but we have no possibility to check items of a single + run. so check all that are stored. + + Thus, only (over)write items if date > old date. + + tests: item_duplicates: asc/desc feeds, check whether + stored item has contents/date/etc of most recent one. +* Make directories/items read-only. * no date -> current date. write all items with date >= feed date. -* item overwrite only if date >= olddate - else notice, skip offending item, and do not change - feed date, continue but exit with error - (invariant: date of every unfetched item is > feed date) -* Make directories/items read-only. * check whether dates are handled properly (timezones!) * fix remaining bugs (see README) * support lastBuildDate and pubDate for channels -- 2.11.4.GIT