Mercurial > hg > Feedworm
view backend/couchdb/CouchDbBackend.py @ 132:63d6d60d37ff
new backend for using CouchDB as persistence mechanism ... currently all methods are unimplemented
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 22 Aug 2011 19:51:59 +0200 |
parents | |
children | 9e1e6b96d8b0 |
line wrap: on
line source
import couchdb class CouchDbBackend(object): ''' Backend that uses CouchDB for persistence ''' def __init__(self): server = couchdb.Server() self.database = server["feedtest"] def preferences(self): raise Exception("not yet implemented") def getFeeds(self): raise Exception("not yet implemented") def toggleRead(self, feedEntry): raise Exception("not yet implemented") def markAllEntriesRead(self, feed): raise Exception("not yet implemented") def createFeed(self, url): raise Exception("not yet implemented") def updateFeed(self, feed, changes): raise Exception("not yet implemented") def deleteFeed(self, feed): raise Exception("not yet implemented") def markFeedEntriesAsRead(self, entries): raise Exception("not yet implemented") def updateAllFeeds(self): raise Exception("not yet implemented") def expireFeedEntries(self): raise Exception("not yet implemented") def dispose(self): # nothing to do here pass