Adding itumes:category and itunes:owner

This commit is contained in:
olaven 2023-03-16 10:02:18 +01:00
parent 0123226be0
commit bcf648f64e
1 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,13 @@ async function buildFeed(seriesId: string) {
tag("title", serie.titles.title), tag("title", serie.titles.title),
tag("link", linkValue), tag("link", linkValue),
tag("itunes:author", "NRK"), 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( tag(
"description", "description",
serie.titles.subtitle || "" serie.titles.subtitle || ""