aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-03-24 19:57:29 +0100
committercedricbonhomme <devnull@localhost>2010-03-24 19:57:29 +0100
commit3d221ff5a460af1c0b24f904b8dc3419497d8397 (patch)
tree70a6ea89d2930317e222cb2f15850631cdaca4df /pyAggr3g470r.py
parentMinor bug fix in URL. (diff)
downloadnewspipe-3d221ff5a460af1c0b24f904b8dc3419497d8397.tar.gz
newspipe-3d221ff5a460af1c0b24f904b8dc3419497d8397.tar.bz2
newspipe-3d221ff5a460af1c0b24f904b8dc3419497d8397.zip
Improvement. HTML tags (of feed and article title) are now removed before insertion in the SQLite base.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index a364f76c..86ddffdc 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -89,7 +89,7 @@ class Root:
target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \
(rss_feed_id, \
self.feeds[rss_feed_id][5].encode('utf-8'), \
- utils.remove_html_tags(self.feeds[rss_feed_id][3].encode('utf-8')), \
+ self.feeds[rss_feed_id][3].encode('utf-8'), \
self.feeds[rss_feed_id][4].encode('utf-8'), \
self.feeds[rss_feed_id][2].encode('utf-8'))
@@ -107,8 +107,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'), \
- utils.remove_html_tags(article[2].encode('utf-8'))) + \
+ (rss_feed_id, article[0].encode('utf-8'), article[2].encode('utf-8')) + \
not_read_end + \
"<br />\n"
html += "<br />\n"
bgstack15