aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-03-24 13:59:22 +0100
committercedricbonhomme <devnull@localhost>2010-03-24 13:59:22 +0100
commit421c9c423a8987984a547912e09abe3c9f33e92e (patch)
tree83d4f420ac683878f9a060bcd49b923f4d7924d5 /pyAggr3g470r.py
parentMinor bug fix in the sample configuration file. (diff)
downloadnewspipe-421c9c423a8987984a547912e09abe3c9f33e92e.tar.gz
newspipe-421c9c423a8987984a547912e09abe3c9f33e92e.tar.bz2
newspipe-421c9c423a8987984a547912e09abe3c9f33e92e.zip
Minor bug fix in URL.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 6327994e..a364f76c 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -122,7 +122,7 @@ class Root:
if self.feeds[rss_feed_id][6] == "0":
html += """<br />\n<a href="/mail_notification/start:%s" title="By e-mail">Stay tuned</a>""" % (rss_feed_id,)
else:
- html += """<br />\n<a href="/mail_notification(/stop:%s" title="By e-mail">Stop staying tuned</a>""" % (rss_feed_id,)
+ html += """<br />\n<a href="/mail_notification/stop:%s" title="By e-mail">Stop staying tuned</a>""" % (rss_feed_id,)
html += """<h4><a href="/#top">Top</a></h4>"""
html += "<hr />\n"
html += htmlfooter
@@ -385,7 +385,8 @@ class Root:
html += article[1].encode('utf-8') + \
" - " + not_read_begin + \
"""<a href="/description/%s:%s" rel="noreferrer" target="_blank">%s</a>""" % \
- (feed_id, article[0].encode('utf-8'), article[2].encode('utf-8')) + \
+ (feed_id, article[0].encode('utf-8'), \
+ utils.remove_html_tags(article[2].encode('utf-8'))) + \
not_read_end + \
"<br />\n"
bgstack15