especicifaciones rss
This commit is contained in:
parent
a5be22611e
commit
48eeae02b4
@ -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})
|
||||||
|
Loading…
Reference in New Issue
Block a user