view feedupdate.py @ 136:7217b060b39c

implement a Feed class that can be used to query feed and that wraps view results
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 23 Aug 2011 04:15:46 +0200
parents 40163eac0d27
children 5b131f82057d
line wrap: on
line source

#!/usr/bin/env python

import logging
#from backend.sqlalchemy.SqlAlchemyBackend import SqlAlchemyBackend
from backend.couchdb.CouchDbBackend import CouchDbBackend

if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG)
#    backend = SqlAlchemyBackend()
    backend = CouchDbBackend()
    backend.updateAllFeeds()
    backend.expireFeedEntries()
    backend.dispose()