diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-08-07 01:33:11 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2022-08-07 01:33:11 +0200 |
| commit | b0be2237fa6236c49d09143097bbb7b464f759ea (patch) | |
| tree | e85629624887e0434b82c78f3e61f51767c0e425 /src | |
| parent | 945394fb1a50b20c2dec9e031c16eaf6c905b0ea (diff) | |
| parent | 5df700a56e93e777666817b43765bb63f311ea5f (diff) | |
| download | invidious-b0be2237fa6236c49d09143097bbb7b464f759ea.tar.gz invidious-b0be2237fa6236c49d09143097bbb7b464f759ea.tar.bz2 invidious-b0be2237fa6236c49d09143097bbb7b464f759ea.zip | |
Merge pull request #3248 from iv-org/fix-cookies
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/routes/feeds.cr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/invidious/routes/feeds.cr b/src/invidious/routes/feeds.cr index 44a87175..b601db94 100644 --- a/src/invidious/routes/feeds.cr +++ b/src/invidious/routes/feeds.cr @@ -204,6 +204,12 @@ module Invidious::Routes::Feeds xml.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 |
