+2008-10-18 Christopher Blizzard <blizzard@0xdeadbeef.com>
+
+ * services/command/feedparse.py (FeedUpdateDatabaseCommand.stupidEntryAlreadyThere):
+ Since all feeds now generate display_cache data we can use it for
+ stupid entires. Like, say, for old vimeo entries before they had
+ a guid.
+
2008-10-18 Christopher Blizzard <blizzard@0xdeadbeef.com>
* whoisi/templates/vimeo-widget.mak: Widget to render vimeo
if up:
updated = datetime(*up)
- # we don't bother checking the display cache since the feed
- # sources that fill in the display cache all have ids
- # assoicated with them
+ # Just compare everything in the entry
for old_entry in results:
if entry["title"] == old_entry[2] and \
entry["link"] == old_entry[3] and \
published == old_entry[6] and \
updated == old_entry[7] and \
entry["summary"] == old_entry[8] and \
- self.getBestContent(entry) == old_entry[9]:
+ self.getBestContent(entry) == old_entry[9] and \
+ entry["display_cache"] == old_entry[10]:
print(" stupid entry already in database: %s" % entry["title"])
return True