diff options
author | cedricbonhomme <devnull@localhost> | 2012-11-11 18:46:26 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-11-11 18:46:26 +0100 |
commit | ec271442c172460d188cb4b0d28a452c11f079a6 (patch) | |
tree | e60a95efb2b62c5e6f866d286d405da14b16fe02 /source | |
parent | I hear you like commits. (diff) | |
download | newspipe-ec271442c172460d188cb4b0d28a452c11f079a6.tar.gz newspipe-ec271442c172460d188cb4b0d28a452c11f079a6.tar.bz2 newspipe-ec271442c172460d188cb4b0d28a452c11f079a6.zip |
Added a link to the site if the corresponding feed.
Diffstat (limited to 'source')
-rwxr-xr-x | source/pyAggr3g470r.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index edc55be8..2e831aa3 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -174,7 +174,7 @@ class pyAggr3g470r(object): target="_blank">%s</a></a> <a href="%s" rel="noreferrer" target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \ - (feed["feed_id"], feed["feed_link"], feed["feed_title"], \ + (feed["feed_id"], feed["site_link"], feed["feed_title"], \ feed["feed_link"], feed["feed_image"]) # The main page display only 10 articles by feeds. @@ -915,7 +915,7 @@ class pyAggr3g470r(object): html += """<h2><a name="%s"><a href="%s" rel="noreferrer" target="_blank">%s</a></a><a href="%s" rel="noreferrer" target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \ - (feed["feed_id"], feed["feed_link"], feed["feed_title"], feed["feed_link"], feed["feed_image"]) + (feed["feed_id"], feed["site_link"], feed["feed_title"], feed["feed_link"], feed["feed_image"]) html += article["article_date"].strftime("%a %d (%H:%M:%S) ") + " - " + \ """<a class="tooltip" href="/article/%s:%s" rel="noreferrer" target="_blank">%s%s%s<span class="classic">%s</span></a>""" % \ @@ -1066,7 +1066,7 @@ class pyAggr3g470r(object): if new_feed_section is True: new_feed_section = False html += """<h2><a name="%s"><a href="%s" rel="noreferrer"target="_blank">%s</a></a><a href="%s" rel="noreferrer" target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \ - (feed["feed_id"], feed["feed_link"], feed["feed_title"], feed["feed_link"], feed["feed_image"]) + (feed["feed_id"], feed["site_link"], feed["feed_title"], feed["feed_link"], feed["feed_image"]) # descrition for the CSS ToolTips article_content = utils.clear_string(article["article_content"]) |