mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-16 12:24:46 -04:00
Share in GReader JSON format (#6655)
fix https://github.com/FreshRSS/FreshRSS/discussions/6654#discussioncomment-10128309
This commit is contained in:
committed by
GitHub
parent
a6d7bdc742
commit
5267db88ab
@@ -278,6 +278,13 @@ class FreshRSS_UserQuery {
|
||||
return '';
|
||||
}
|
||||
|
||||
public function sharedUrlGreader(bool $xmlEscaped = true): string {
|
||||
if ($this->shareRss && $this->token !== '') {
|
||||
return $this->sharedUrl($xmlEscaped) . ($xmlEscaped ? '&' : '&') . 'f=greader';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
public function sharedUrlHtml(bool $xmlEscaped = true): string {
|
||||
if ($this->shareRss && $this->token !== '') {
|
||||
return $this->sharedUrl($xmlEscaped) . ($xmlEscaped ? '&' : '&') . 'f=html';
|
||||
|
||||
Reference in New Issue
Block a user