From: Ardis Lu
Date: Thu, 8 Feb 2024 04:56:59 +0000 (-0800)
Subject: Fix invalid URN
X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=e214153cecbfa4484be94225a8a74989dc21daf4;p=ardislu.dev
Fix invalid URN
Periods are not allowed in namespace identifiers per RFC 2141.
---
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]}]]>