diff --git a/planet/spider.py b/planet/spider.py index e3fc7bd..c06c498 100644 --- a/planet/spider.py +++ b/planet/spider.py @@ -75,9 +75,11 @@ def spiderFeed(feed): out = filename(cache, entry.id) + mtime = None if entry.has_key('updated_parsed'): mtime = calendar.timegm(entry.updated_parsed) - else: + if mtime > time.time(): mtime = None + if not mtime: try: mtime = os.stat(out).st_mtime except: diff --git a/themes/asf/index.html.xslt b/themes/asf/index.html.xslt index 718816e..da520f6 100644 --- a/themes/asf/index.html.xslt +++ b/themes/asf/index.html.xslt @@ -55,7 +55,7 @@