Mercurial > hg > Feedworm
view 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 |
line wrap: on
line source
class Feed(object): def __init__(self, name, url): self.name = name self.url = url def __repr__(self): return "<Feed (%d) %s>" % (self.pk, self.name)