去掉hub信息

This commit is contained in:
2023-03-02 10:22:11 +08:00
parent 87c2f9a6ce
commit ae484019b9

View File

@@ -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.