Invidious is an alternative front-end to YouTube
Added image tag to RSS channel for favicon rendering
Mateusz Jabłoński5df700a56e93
diff --git a/src/invidious/routes/feeds.cr b/src/invidious/routes/feeds.crindex 44a87175..b601db94 100644--- a/src/invidious/routes/feeds.cr+++ b/src/invidious/routes/feeds.cr@@ -204,6 +204,12 @@ module Invidious::Routes::Feedsxml.element("uri") { xml.text "#{HOST_URL}/channel/#{channel.ucid}" }end+ xml.element("image") do+ xml.element("url") { xml.text channel.author_thumbnail }+ xml.element("title") { xml.text channel.author }+ xml.element("link", rel: "self", href: "#{HOST_URL}#{env.request.resource}")+ end+videos.each do |video|video.to_xml(channel.auto_generated, params, xml)end