From bcf648f64eefaa891398307cd2fc2d71cc32d2db Mon Sep 17 00:00:00 2001 From: olaven Date: Thu, 16 Mar 2023 10:02:18 +0100 Subject: [PATCH] Adding itumes:category and itunes:owner --- routes/api/feeds/[seriesId].ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/routes/api/feeds/[seriesId].ts b/routes/api/feeds/[seriesId].ts index 963092b..7269c33 100644 --- a/routes/api/feeds/[seriesId].ts +++ b/routes/api/feeds/[seriesId].ts @@ -39,6 +39,13 @@ async function buildFeed(seriesId: string) { tag("title", serie.titles.title), tag("link", linkValue), tag("itunes:author", "NRK"), + tag("itunes:category", "", [["text", serie.category.id]]), + tag("itunes:owner", + [ + tag("itunes:name", "NRK"), + tag("itunes:email", "nrkpodcast@nrk.no") + ] + ), tag( "description", serie.titles.subtitle || ""