# create caching data
try:
cache = CacheHandler.CacheObject()
- cache.etag = data['etag']
- cache.date = data['modified']
+ try:
+ cache.etag = data['etag']
+ except:
+ cache.etag = None
+ try:
+ cache.date = data['modified']
+ except:
+ cache.date = None
item.cache = cache
except:
+ sys.stderr.write('DEBUG: XMLParse2: cache item generation failed\n')
item.cache = None
# parse the return of data into a blog
if data['channel'].has_key('title'):