From 1d72cb9b480c8ce6f37d77793bafefc5a3e41fc7 Mon Sep 17 00:00:00 2001
From: jaywcjlove <398188662@qq.com>
Date: Thu, 19 Sep 2024 08:47:37 +0800
Subject: [PATCH] ci: update issue script.
---
.github/scripts/create-rss.mjs | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/scripts/create-rss.mjs b/.github/scripts/create-rss.mjs
index 6528c73..e8c1618 100644
--- a/.github/scripts/create-rss.mjs
+++ b/.github/scripts/create-rss.mjs
@@ -186,13 +186,18 @@ const rssFilePath = `./feeds/rss/${year}-${week}.json`;
const description = getSummary(post.content_html)
const bannerImage = getFirstImageFromHtml(post.content_html);
mdListContent += `\n### [${rsstitle}](${rssurl}) ${bannerImage == null ? "" : `\n\n![](${bannerImage})`}\n\n${description} ([#${post.id}](https://github.com/jaywcjlove/quick-rss/issues/${post.id}) - [@${post.author.name}](https://github.com/${post.author.name}))`;
- const authorInfoFooter = post.author.name ? `
#${post.id} - ${post.author.name}` : "";
+ const footerHTML = `
+ 投稿/推荐/自荐 •
+ Quick RSS •
+ #${post.id} •
+ @${post.author.name}
+ `;
feed.addItem({
title: rsstitle,
id: post.id,
link: rssurl,
image: bannerImage,
- content: post.content_html + authorInfoFooter,
+ content: post.content_html + footerHTML,
description: description,
date: new Date(post.date_published),
author: [