From 5ca74a8dcae03c2df14320d573e9e3fbb8ee9e00 Mon Sep 17 00:00:00 2001 From: tor <22853716+tor255@users.noreply.github.com> Date: Mon, 24 Dec 2018 04:55:39 +1100 Subject: [PATCH] Fixed subscription's xml feed --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index d8d66c40..ff2b894c 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2060,7 +2060,7 @@ get "/feed/private" do |env| query = env.request.query.not_nil! feed = XML.build(indent: " ", encoding: "UTF-8") do |xml| - xml.element("feed", xmlns: "http://www.w3.org/2005/Atom", "xmlns:media": "http://search.yahoo.com/mrss/", + xml.element("feed", "xmlns:yt": "http://www.w3.org/2005/Atom", "xmlns:media": "http://search.yahoo.com/mrss/", "xml:lang": "en-US") do xml.element("link", "type": "text/html", rel: "alternate", href: "#{host_url}/feed/subscriptions") xml.element("link", "type": "application/atom+xml", rel: "self", href: "#{host_url}#{path}?#{query}")