comparison Feed.py @ 4:e0199f383442

retrieve a feed for the given URL, store entries as feed_entry rows into the database
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 26 Apr 2010 19:33:07 +0200
parents 8a624ee48a74
children 215c34f61e95
comparison
equal deleted inserted replaced
3:2ac144a98370 4:e0199f383442
3 def __init__(self, name, url): 3 def __init__(self, name, url):
4 self.name = name 4 self.name = name
5 self.url = url 5 self.url = url
6 6
7 def __repr__(self): 7 def __repr__(self):
8 return "<Feed (%d) %s>" % (self.id, self.name) 8 return "<Feed (%d) %s>" % (self.pk, self.name)