1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 22:00:23 +02:00

[MastodonBridge] Update feed URL format (#1718)

Changes feed URL from `https://instance/users/username.atom` to `https://instance/@username.rss`.
This commit is contained in:
Joseph
2020-09-03 05:49:19 +00:00
committed by GitHub
parent fec52418d5
commit d33e090fe1

View File

@@ -78,7 +78,7 @@ class MastodonBridge extends FeedExpander {
public function getURI(){ public function getURI(){
if($this->getInput('canusername')) if($this->getInput('canusername'))
return 'https://' . $this->getInstance() . '/users/' . $this->getUsername() . '.atom'; return 'https://' . $this->getInstance() . '/@' . $this->getUsername() . '.rss';
return parent::getURI(); return parent::getURI();
} }