From 78256836366a910ab83db2376daa1c3afc32ffd5 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Tue, 30 Jan 2024 16:21:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DsingeListJson=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E7=9A=84RSS=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gmeek.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gmeek.py b/Gmeek.py index fd6acc8..f532c0c 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -187,7 +187,7 @@ class GMEEK(): for num in self.blogBase["singeListJson"]: item=feed.add_item() - item.guid(self.blogBase["homeUrl"]+"/"+self.blogBase["singeListJson"][num]["postUrl"],permalink=True) + item.guid(self.blogBase["homeUrl"]+"/"+self.blogBase["singeListJson"][num]["htmlDir"],permalink=True) item.title(self.blogBase["singeListJson"][num]["postTitle"]) item.description(self.blogBase["singeListJson"][num]["description"]) item.link(href=self.blogBase["homeUrl"]+"/"+self.blogBase["singeListJson"][num]["postUrl"]) @@ -224,7 +224,7 @@ class GMEEK(): if len(issue.labels)==1: if issue.labels[0].name in self.blogBase["singlePage"]: listJsonName='singeListJson' - gen_Html = 'docs/{}.html'.format(issue.labels[0].name) + gen_Html = self.root_dir+'{}.html'.format(issue.labels[0].name) else: listJsonName='postListJson' if self.blogBase["urlMode"]=="issue":