From 0ea43788e394118337773e1dd426d43516967905 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Fri, 9 Dec 2022 03:49:50 +0000 Subject: [PATCH] feeds: fix XML namespace (#56) namespaces are very particular and the https:// version is not the valid namespace for this XML document note: this doesn't fix it in the watermark code. that will be fixed by the watermark PR. please don't trample over it ty <3 Co-authored-by: justcool393 Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/56 Co-authored-by: justcool393 Co-committed-by: justcool393 --- files/routes/feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/feeds.py b/files/routes/feeds.py index 8a6692ac6..bd54961e5 100644 --- a/files/routes/feeds.py +++ b/files/routes/feeds.py @@ -27,7 +27,7 @@ def feeds_user(sort='hot', t='all'): doc, tag, text = Doc().tagtext() - with tag("feed", ("xmlns:media","https://search.yahoo.com/mrss/"), xmlns="https://www.w3.org/2005/Atom",): + with tag("feed", ("xmlns:media","http://search.yahoo.com/mrss/"), xmlns="http://www.w3.org/2005/Atom",): with tag("title", type="text"): text(f"{sort} posts from {SITE}")