comparison myrss2/myrss_app.py @ 144:90f3021e3137

myrss2: FEEDS: Remove longform.org; add propublic.org
author paulo
date Tue, 28 May 2024 06:23:58 +0000
parents 1a5c0fc5627a
children
comparison
equal deleted inserted replaced
1:ad9a97e0db19 2:669ba3a5dd8c
136 if feed is None: 136 if feed is None:
137 continue 137 continue
138 138
139 (title, link, items) = feed 139 (title, link, items) = feed
140 140
141 if title is None:
142 title = "(No title)"
143 if link is None:
144 link = ""
145
141 logging.debug("title: %s", title) 146 logging.debug("title: %s", title)
142 body.h2.a(_strip_html(title), href=link, klass="z%d" % (link_z % MAX_LINK_Z)) 147 body.h2.a(_strip_html(title), href=link, klass="z%d" % (link_z % MAX_LINK_Z))
143 link_z += 1 148 link_z += 1
144 p = body.p 149 p = body.p
145 150