shin-neo-lyrical-tokarev/src/utils/rss.js
2024-12-06 18:34:11 -03:00

13 lines
432 B
JavaScript

const RSS = require("rss")
function makeRss(items, feed_link, name, description, link){
return new RSS({
title: `Lyrical Tokarev${name ? ` ~ ${name}` : ""}`,
site_url: link ? link : "https://lyricaltokarev.com/home",
feed_url: feed_link,
description: description ? description : "Anime site.",
managingEditor: "gor@lyricaltokarev.com (Gor Down)"
}, items)
}
module.exports = makeRss