mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
去掉hub信息
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user