mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
Merge pull request #3248 from iv-org/fix-cookies
This commit is contained in:
commit
b0be2237fa
@ -204,6 +204,12 @@ module Invidious::Routes::Feeds
|
|||||||
xml.element("uri") { xml.text "#{HOST_URL}/channel/#{channel.ucid}" }
|
xml.element("uri") { xml.text "#{HOST_URL}/channel/#{channel.ucid}" }
|
||||||
end
|
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|
|
videos.each do |video|
|
||||||
video.to_xml(channel.auto_generated, params, xml)
|
video.to_xml(channel.auto_generated, params, xml)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user