From ae484019b9d12489eeb975d5e4adbd9443d94203 Mon Sep 17 00:00:00 2001 From: augushong Date: Thu, 2 Mar 2023 10:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89hub=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/tools/Rss.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/tools/Rss.php b/app/common/tools/Rss.php index 45d1e72..c4fdb8b 100644 --- a/app/common/tools/Rss.php +++ b/app/common/tools/Rss.php @@ -80,7 +80,7 @@ class Rss $feed->setChannelElement('pubDate', $list_post[0]->publish_time); $feed->setSelfLink(Site::rss2Url()); - $feed->setAtomLink('http://pubsubhubbub.appspot.com', 'hub'); + // $feed->setAtomLink('http://pubsubhubbub.appspot.com', 'hub'); // If you want you can also add a line to publicly announce that you used // this fine piece of software to generate the feed. ;-) @@ -148,7 +148,7 @@ class Rss //You can add additional link elements, e.g. to a PubSubHubbub server with custom relations. $feed->setSelfLink(Site::atomUrl()); - $feed->setAtomLink('http://pubsubhubbub.appspot.com', 'hub'); + // $feed->setAtomLink('http://pubsubhubbub.appspot.com', 'hub'); //Adding a feed. Generally this portion will be in a loop and add all feeds.