aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-07-01 16:06:08 +0200
committercedricbonhomme <devnull@localhost>2010-07-01 16:06:08 +0200
commit5868800bc39fc53ab4b047f4e2af0a5550f0739a (patch)
tree004482e0a31ddde17560f0b2f53d91fb0ee4e95c /pyAggr3g470r.py
parentMinor bug fix (indentation error). (diff)
downloadnewspipe-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.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py2
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"
bgstack15