This commit is contained in:
simio 2024-12-07 00:52:45 -03:00
parent 6877c25562
commit a82abe64f6

View File

@ -76,7 +76,7 @@ router.post('/comment', (req, res) => {
router.get('/update_log/rss', async (_req, res) => { router.get('/update_log/rss', async (_req, res) => {
const csvData = await readCsv(thisDirectory + '/public/dynamic/sync/updates.csv') const csvData = await readCsv(thisDirectory + '/public/dynamic/sync/updates.csv')
const rss = makeRss('https://lyricaltokarev.com/update_log/rss', "Update Log") const rss = makeRss('https://lyricaltokarev.com/update_log/rss', "Update Log")
csvData.reverse().forEach((u, i) => { csvData.forEach((u, i) => {
rss.item({ rss.item({
title: "Update #" + i, title: "Update #" + i,
description: `${u.link && `<a href="${u.link}">`}${u.description}${u.link && `</a>`}`, description: `${u.link && `<a href="${u.link}">`}${u.description}${u.link && `</a>`}`,