From 50512ef09eae1ed2cbf341ec0f615d976cfa187e Mon Sep 17 00:00:00 2001 From: Spenser Bushey Date: Tue, 21 Feb 2023 18:38:17 -0800 Subject: [PATCH] Added block tags based on Patreon private rss feed --- server/objects/FeedMeta.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server/objects/FeedMeta.js b/server/objects/FeedMeta.js index 6c0290958..3142c31c5 100644 --- a/server/objects/FeedMeta.js +++ b/server/objects/FeedMeta.js @@ -47,7 +47,8 @@ class FeedMeta { custom_namespaces: { 'itunes': 'http://www.itunes.com/dtds/podcast-1.0.dtd', 'psc': 'http://podlove.org/simple-chapters', - 'podcast': 'https://podcastindex.org/namespace/1.0' + 'podcast': 'https://podcastindex.org/namespace/1.0', + 'googleplay': 'http://www.google.com/schemas/play-podcasts/1.0' }, custom_elements: [ { 'author': this.author || 'advplyr' }, @@ -68,7 +69,9 @@ class FeedMeta { }, { "itunes:explicit": !!this.explicit - } + }, + { 'itunes:block': 'Yes' }, + { 'googleplay:block': 'yes' } ] } }