From ea411c3599902eb3d9999bd1a2e2ee97454e7328 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 31 Mar 2021 03:03:58 +0200 Subject: [PATCH] some minor rss feed fixes --- node/rss.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/node/rss.js b/node/rss.js index 0345291..76bf97d 100644 --- a/node/rss.js +++ b/node/rss.js @@ -16,8 +16,8 @@ function createFeed(callback) { const feed = new Feed({ title: "Ellpeck's Blog", description: "Occasionally I enjoy writing stuff. So here's some of the stuff I've written about gaming, programming and life.", - id: "https://ellpeck.de", - link: "https://ellpeck.de", + id: "https://ellpeck.de/", + link: "https://ellpeck.de/", image: "https://ellpeck.de/res/logo.png", favicon: "https://ellpeck.de/favicon.ico", language: "en", @@ -29,7 +29,7 @@ function createFeed(callback) { author: { name: "Ellpeck", email: "me@ellpeck.de", - link: "https://ellpeck.de" + link: "https://ellpeck.de/" } }); @@ -53,10 +53,6 @@ function createFeed(callback) { name: c })) }); - for (let cat of post.cat) { - if (feed.categories.indexOf(cat) < 0) - feed.addCategory(cat); - } if (index === 0) finalCallback(feed);