From 345432d7a5eb33630290bd7c0ee570bb10a5c593 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 15 Apr 2026 06:50:30 +0000 Subject: [PATCH] Add atom:link self reference to RSS feed Improves feed reader interoperability by declaring the canonical feed URL via , addressing the W3C feed validator recommendation. --- astro-site/src/pages/rss.xml.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/astro-site/src/pages/rss.xml.js b/astro-site/src/pages/rss.xml.js index c35141d3..c6f8556e 100644 --- a/astro-site/src/pages/rss.xml.js +++ b/astro-site/src/pages/rss.xml.js @@ -47,12 +47,15 @@ export async function GET(context) { }) .sort((a, b) => b.pubDate.getTime() - a.pubDate.getTime()); + const feedUrl = new URL('rss.xml', context.site).href; + return rss({ title: 'Kenneth Mark Dsouza — Writing', description: 'Writing from Kenneth Mark Dsouza, a Product Design Manager with experience building and leading design teams in India and Indonesia.', site: context.site, items, - customData: `en-us`, + xmlns: { atom: 'http://www.w3.org/2005/Atom' }, + customData: `en-us`, }); }