mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Set channel thumbnail as icon for feeds (#1106)
This commit is contained in:
parent
a291b29c6f
commit
848add1b1b
1 changed files with 1 additions and 0 deletions
|
@ -1544,6 +1544,7 @@ get "/feed/channel/:ucid" do |env|
|
|||
xml.element("link", rel: "self", href: "#{HOST_URL}#{env.request.resource}")
|
||||
xml.element("id") { xml.text "yt:channel:#{channel.ucid}" }
|
||||
xml.element("yt:channelId") { xml.text channel.ucid }
|
||||
xml.element("icon") { xml.text channel.author_thumbnail }
|
||||
xml.element("title") { xml.text channel.author }
|
||||
xml.element("link", rel: "alternate", href: "#{HOST_URL}/channel/#{channel.ucid}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue