RSS feed merged to main branch #1

Merged
christian merged 9 commits from projects-2 into main 2024-05-19 06:16:41 +00:00
Showing only changes of commit 695f1009c2 - Show all commits

View File

@ -18,7 +18,9 @@
const items = Array.from(xml.querySelectorAll('item')).map((item) => ({ const items = Array.from(xml.querySelectorAll('item')).map((item) => ({
title: item.querySelector('title')?.textContent, title: item.querySelector('title')?.textContent,
link: item.querySelector('link')?.textContent, link: item.querySelector('link')?.textContent,
description: item.querySelector('description')?.textContent description: item.querySelector('description')?.textContent,
published: item.querySelector('pubDate')?.textContent,
author: item.querySelector('author')?.textContent
})); }));
feed = items; feed = items;
} catch (err) { } catch (err) {