summaryrefslogtreecommitdiff
path: root/feeds.py
diff options
context:
space:
mode:
Diffstat (limited to 'feeds.py')
-rw-r--r--feeds.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/feeds.py b/feeds.py
index c68d3b0e..9721f41c 100644
--- a/feeds.py
+++ b/feeds.py
@@ -175,9 +175,6 @@ class ReleaseFeed(Feed):
def item_description(self, item):
return item.info_html()
- # TODO: individual release pages
- item_link = '/download/'
-
def item_pubdate(self, item):
return datetime.combine(item.release_date, time()).replace(tzinfo=utc)
@@ -185,7 +182,7 @@ class ReleaseFeed(Feed):
# http://diveintomark.org/archives/2004/05/28/howto-atom-id
date = item.release_date
return 'tag:%s,%s:%s' % (Site.objects.get_current().domain,
- date.strftime('%Y-%m-%d'), item.iso_url())
+ date.strftime('%Y-%m-%d'), item.get_absolute_url())
def item_enclosure_url(self, item):
domain = Site.objects.get_current().domain