comparison backend/couchdb/Feed.py @ 166:04c3b9796b89

feedparser uses the proxy now if one is configured. To implement this the FeedUpdater had to change a bit - sqlalchemy backend is not yet refactored.
author dirk
date Sat, 03 Sep 2011 04:12:35 +0200
parents 2940e74c9663
children 91a24f499318
comparison
equal deleted inserted replaced
165:a5bda54309ba 166:04c3b9796b89
14 @staticmethod 14 @staticmethod
15 def all(database): 15 def all(database):
16 return Feed.view(database, "feedtest/feeds") 16 return Feed.view(database, "feedtest/feeds")
17 17
18 @staticmethod 18 @staticmethod
19 def create(url, title): 19 def create(url, title=None):
20 feed = Feed() 20 feed = Feed()
21 feed.rss_url = url 21 feed.rss_url = url
22 feed.title = title 22 feed.title = title
23 return feed 23 return feed
24 24