comparison Feed.py @ 47:a8442c3487b5

add an option to Feed that allows loading an entry's link right away instead of displaying a feed's summary
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 16 May 2010 08:13:07 +0200
parents aaec263f07ca
children c82f5538733c
comparison
equal deleted inserted replaced
46:03358c113170 47:a8442c3487b5
11 self.title = title 11 self.title = title
12 self.rss_url = rss_url 12 self.rss_url = rss_url
13 # default: update every 60 minutes 13 # default: update every 60 minutes
14 self.update_interval = 60 14 self.update_interval = 60
15 self.incrementNextUpdateDate() 15 self.incrementNextUpdateDate()
16 self.auto_load_entry_link = False
16 17
17 def __repr__(self): 18 def __repr__(self):
18 return "<Feed (%d) %s>" % (self.pk, self.title) 19 return "<Feed (%d) %s>" % (self.pk, self.title)
19 20
20 def userPresentableString(self): 21 def userPresentableString(self):