diff --git a/lib/rss.js b/lib/rss.js index 9400629f..9c3f3fc7 100644 --- a/lib/rss.js +++ b/lib/rss.js @@ -19,10 +19,10 @@ export function generateRss (posts) { }) posts.forEach(post => { feed.addItem({ - TITLE: post.title, + title: post.title, id: `${BLOG.LINK}/article/${post.slug}`, - LINK: `${BLOG.LINK}/article/${post.slug}`, - DESCRIPTION: post.summary, + link: `${BLOG.LINK}/article/${post.slug}`, + description: post.summary, date: new Date(post?.date?.start_date || post.createdTime) }) })