diff options
author | cedricbonhomme <devnull@localhost> | 2010-07-01 16:06:08 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-07-01 16:06:08 +0200 |
commit | 5868800bc39fc53ab4b047f4e2af0a5550f0739a (patch) | |
tree | 004482e0a31ddde17560f0b2f53d91fb0ee4e95c | |
parent | Minor bug fix (indentation error). (diff) | |
download | newspipe-5868800bc39fc53ab4b047f4e2af0a5550f0739a.tar.gz newspipe-5868800bc39fc53ab4b047f4e2af0a5550f0739a.tar.bz2 newspipe-5868800bc39fc53ab4b047f4e2af0a5550f0739a.zip |
The size of article's titles on the main page is limited to 150 caracters.
-rwxr-xr-x | pyAggr3g470r.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 + \ """<a href="/description/%s:%s" rel="noreferrer" target="_blank">%s</a>""" % \ - (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 + \ "<br />\n" html += "<br />\n" |