view feedupdate.py @ 187:2f2016a10f7d

handle a missing updated_parsed attribute in a feed entry gracefully
author dirk
date Tue, 13 Sep 2011 17:52:36 +0200
parents 5b131f82057d
children bb3c851b18b1
line wrap: on
line source

#!/usr/bin/env python

import BackendFactory
import logging

if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG)
    backend = BackendFactory.createBackend()
    backend.updateAllFeeds()
    backend.expireFeedEntries()
    backend.dispose()