Moved atom:link to channel level
This commit is contained in:
parent
72aad6c8f8
commit
a0a342114e
|
|
@ -32,15 +32,15 @@ async function buildFeed(seriesId: string) {
|
||||||
["version", "1.0"],
|
["version", "1.0"],
|
||||||
["encoding", "UTF-8"],
|
["encoding", "UTF-8"],
|
||||||
]),
|
]),
|
||||||
tag("atom:link", "", [
|
|
||||||
["href", linkValue],
|
|
||||||
["rel", "self"],
|
|
||||||
["type", "application/rss+xml"]
|
|
||||||
]),
|
|
||||||
tag(
|
tag(
|
||||||
"rss",
|
"rss",
|
||||||
[
|
[
|
||||||
tag("channel", [
|
tag("channel", [
|
||||||
|
tag("atom:link", "", [
|
||||||
|
["href", `https://nrss.deno.dev/api/feeds/${seriesId}`],
|
||||||
|
["rel", "self"],
|
||||||
|
["type", "application/rss+xml"]
|
||||||
|
]),
|
||||||
tag("title", serie.titles.title),
|
tag("title", serie.titles.title),
|
||||||
tag("link", linkValue),
|
tag("link", linkValue),
|
||||||
tag("itunes:author", "NRK"),
|
tag("itunes:author", "NRK"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue