mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 17:44:48 +02:00
Facebook: Clarify Facebook bridges (#1221)
* Clarify Facebook bridges status Distinguish between both Facebook bridges by their title. This preserves all existing URLs. * Update all URLs to secure HTTPS versions. * Configure author name abbreviation * Improve feed names Use the correct feed name on each bridge. Make sure the feed names don't repeat the "Facebook" name.
This commit is contained in:
parent
4c78721f03
commit
2ac44172ac
2 changed files with 27 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
class FacebookBridge extends BridgeAbstract {
|
||||
|
||||
const MAINTAINER = 'teromene, logmanoriginal';
|
||||
const NAME = 'Facebook Bridge';
|
||||
const NAME = 'Facebook Bridge | Main Site';
|
||||
const URI = 'https://www.facebook.com/';
|
||||
const CACHE_TIMEOUT = 300; // 5min
|
||||
const DESCRIPTION = 'Input a page title or a profile log. For a profile log,
|
||||
|
@ -66,14 +66,13 @@ class FacebookBridge extends BridgeAbstract {
|
|||
|
||||
case 'User':
|
||||
if(!empty($this->authorName)) {
|
||||
return isset($this->extraInfos['name']) ? $this->extraInfos['name'] : $this->authorName
|
||||
. ' - ' . static::NAME;
|
||||
return isset($this->extraInfos['name']) ? $this->extraInfos['name'] : $this->authorName;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'Group':
|
||||
if(!empty($this->groupName)) {
|
||||
return $this->groupName . ' - ' . static::NAME;
|
||||
return $this->groupName;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue