especicifaciones rss

This commit is contained in:
simio 2024-12-06 19:05:13 -03:00
parent a5be22611e
commit 48eeae02b4

View File

@ -79,10 +79,9 @@ router.get('/update_log/rss', async (_req, res) => {
csvData.reverse().forEach((u, i) => { csvData.reverse().forEach((u, i) => {
rss.item({ rss.item({
title: "Update #" + i, title: "Update #" + i,
description: u.description, description: `${u.link && `<a href="${u.link}">`}${u.description}${u.link && `</a>`}`,
author: "Gor Down", author: "Gor Down",
date: u.date, date: u.date
url: u.link ? u.link : 'https://lyricaltokarev.com/home'
}) })
}) })
const xml = rss.xml({indent: true}) const xml = rss.xml({indent: true})