From 5868800bc39fc53ab4b047f4e2af0a5550f0739a Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Thu, 1 Jul 2010 16:06:08 +0200 Subject: The size of article's titles on the main page is limited to 150 caracters. --- pyAggr3g470r.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 1663d70c..abd6c11d 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -113,7 +113,7 @@ class Root: html += article[1].encode('utf-8') + \ " - " + not_read_begin + \ """%s""" % \ - (rss_feed_id, article[0].encode('utf-8'), article[2].encode('utf-8')) + \ + (rss_feed_id, article[0].encode('utf-8'), article[2].encode('utf-8')[:150]) + \ not_read_end + like + \ "
\n" html += "
\n" -- cgit