Mercurial > hg > Feedworm
view feedupdate.py @ 155:a05719a6175e
move common functionality into an abstract backend class, have both backends inherit from it. Implement enough of the couchdb backend that reading feeds (and marking feed entries as read) is possible
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 27 Aug 2011 08:52:03 +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()