diff options
Diffstat (limited to 'application/feed')
-rw-r--r-- | application/feed/FeedBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/feed/FeedBuilder.php b/application/feed/FeedBuilder.php index c97ae1ea..269ad877 100644 --- a/application/feed/FeedBuilder.php +++ b/application/feed/FeedBuilder.php | |||
@@ -174,7 +174,7 @@ class FeedBuilder | |||
174 | protected function buildItem(string $feedType, $link, $pageaddr) | 174 | protected function buildItem(string $feedType, $link, $pageaddr) |
175 | { | 175 | { |
176 | $data = $this->formatter->format($link); | 176 | $data = $this->formatter->format($link); |
177 | $data['guid'] = $pageaddr . '?' . $data['shorturl']; | 177 | $data['guid'] = rtrim($pageaddr, '/') . '/shaare/' . $data['shorturl']; |
178 | if ($this->usePermalinks === true) { | 178 | if ($this->usePermalinks === true) { |
179 | $permalink = '<a href="'. $data['url'] .'" title="'. t('Direct link') .'">'. t('Direct link') .'</a>'; | 179 | $permalink = '<a href="'. $data['url'] .'" title="'. t('Direct link') .'">'. t('Direct link') .'</a>'; |
180 | } else { | 180 | } else { |