diff options
Diffstat (limited to 'app/Models/UserQuery.php')
| -rw-r--r-- | app/Models/UserQuery.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php index 3058483d3..dcd17393e 100644 --- a/app/Models/UserQuery.php +++ b/app/Models/UserQuery.php @@ -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'; |
