forked from solderpunk/AV-98
initial tentative to support podcast RSS/atom feeds
This commit is contained in:
parent
deaa199303
commit
2b234cdc43
|
@ -4,6 +4,7 @@
|
|||
Changes since beta1
|
||||
- "--sync" can optionnaly take some lists as arguments, in order to make for specific sync
|
||||
- "view source" to view the source code of a page
|
||||
- initial tentative to support podcasts in RSS/Atom feeds
|
||||
- new PlaintextRenderer which display .txt files without any margin/color/linebreaks
|
||||
- default URL blocked list is now its own file to make contributions easier
|
||||
- prompt color is now part of the theme
|
||||
|
|
|
@ -891,6 +891,15 @@ class FeedRenderer(GemtextRenderer):
|
|||
for i in parsed.entries:
|
||||
if "link" in i:
|
||||
line = "=> %s " %i.link
|
||||
elif "links" in i and len(i.links) > 0:
|
||||
link = None
|
||||
j = 0
|
||||
while not link and j < len(i.links):
|
||||
link = i.links[j].href
|
||||
if link:
|
||||
line = "=> %s "%link
|
||||
else:
|
||||
line = "* "
|
||||
else:
|
||||
line = "* "
|
||||
if "published" in i:
|
||||
|
|
Loading…
Reference in New Issue