view feedupdate.py @ 165:a5bda54309ba

add a couchapp for easy/automated setup
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 29 Aug 2011 04:12:01 +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()