86efdd0bd8ca

Reduce the number of items in the RSS feed to five.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 18 Jun 2009 01:41:47 -0400
parents 37d98bec8a5b
children 437ca7fc2910
branches/tags (none)
files rss/feeds.py

Changes

--- a/rss/feeds.py	Thu Jun 18 01:32:15 2009 -0400
+++ b/rss/feeds.py	Thu Jun 18 01:41:47 2009 -0400
@@ -49,7 +49,7 @@
         
         items.sort(key=operator.itemgetter('date'))
         items.reverse()
-        return items[:10]
+        return items[:5]
     
     def item_pubdate(self, item):
         return item['date']