aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xblogthon.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index abfaf8d..714948f 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -238,7 +238,7 @@ elif feed_display == "rss":
print ''
j = len(entries)
if j > 10: j = 10
- for i in xrange(0, len(entries)):
+ for i in xrange(0, j):
title = str(entries[i][1]).replace('entries/', '', 1).replace('.' + entries_suffix, '')
date = time.strftime("%a, %d %b %Y %H:%M:%S %z", time.gmtime(time.mktime(entries[i][0])))
title_md5sum = generate_uuid(title)