* rss without <h3>
* correct README link * removed <br> * and the things we discussed via mail
This commit is contained in:
parent
811346c6c1
commit
83644bf245
8 changed files with 25 additions and 29 deletions
|
@ -93,7 +93,7 @@ class TemplateWriter:
|
|||
def get_rss_info(self):
|
||||
"""retrieve rss feed from http://devel.cryptobox.org/timeline"""
|
||||
timeline_url = r'http://devel.cryptobox.org/timeline?max=%d&wiki=off&ticket=on&changeset=on&milestone=off&format=rss' % self.max_rss_items
|
||||
entry_html = r'<li><p class="date">%(updated)s</p><h3><a href="%(link)s">%(title)s</a></h3>%(summary)s</li>'
|
||||
entry_html = r'<li><p class="date">%(updated)s</p><a href="%(link)s">%(title)s</a>%(summary)s</li>'
|
||||
feed = feedparser.parse(timeline_url)
|
||||
if feed["entries"]:
|
||||
html_items = [ entry_html % e for e in feed["entries"] ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue