From e214153cecbfa4484be94225a8a74989dc21daf4 Mon Sep 17 00:00:00 2001
From: Ardis Lu
Date: Wed, 7 Feb 2024 20:56:59 -0800
Subject: [PATCH] Fix invalid URN
Periods are not allowed in namespace identifiers per RFC 2141.
---
functions/atom.xml.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/functions/atom.xml.js b/functions/atom.xml.js
index 4e1af29..bb8d6c1 100644
--- a/functions/atom.xml.js
+++ b/functions/atom.xml.js
@@ -10,7 +10,7 @@ export async function onRequestGet({ env }) {
.then(googleSheet => {
for (const article of googleSheet.values) {
entries.push(`
- urn:google.com:${article[2]}
+ urn:google:${article[2]}
${article[0]}
${article[1]}
${article[3]}]]>
--
2.47.3