From 5caf77481f70be5118edf885e9f4417a26074edb Mon Sep 17 00:00:00 2001
From: mooons <10822203+mooons@users.noreply.github.com>
Date: Tue, 28 Sep 2021 00:27:13 -0700
Subject: [PATCH] Add tweet card image (if any) to the timeline RSS feed.
(#438)
---
src/views/rss.nimf | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/views/rss.nimf b/src/views/rss.nimf
index 1728b02..151d91d 100644
--- a/src/views/rss.nimf
+++ b/src/views/rss.nimf
@@ -44,6 +44,11 @@ Twitter feed for: ${desc}. Generated by ${cfg.hostname}
# let url = &"{urlPrefix}{getPicUrl(get(tweet.gif).url)}"
+#elif tweet.card.isSome:
+# let card = tweet.card.get()
+# if card.image.len > 0:
+
+# end if
#end if
#end proc
#