aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/rss.phtml
diff options
context:
space:
mode:
authorGravatar Thomas White <TomW1605@users.noreply.github.com> 2024-06-06 02:44:38 +0800
committerGravatar GitHub <noreply@github.com> 2024-06-05 20:44:38 +0200
commit2ed58f814eab9c3bbdada6b8e2ebfccfc9395894 (patch)
treee949b1cce6842490eca9c5490ead7903ca7bfb33 /app/views/index/rss.phtml
parente17c2c447906deb471e25cdc889b9f74e1d715d2 (diff)
add image and description to user query share (#6541)
* add description to user queries and rss feed * add image url to user queries and rss feed * Fix i18n * remove itunes image tag and xml definition --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/index/rss.phtml')
-rw-r--r--app/views/index/rss.phtml7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/index/rss.phtml b/app/views/index/rss.phtml
index c811a0354..d37701bbd 100644
--- a/app/views/index/rss.phtml
+++ b/app/views/index/rss.phtml
@@ -9,10 +9,15 @@
<channel>
<title><?= $this->rss_title ?></title>
<link><?= $this->html_url ?></link>
- <description><?= _t('index.feed.rss_of', $this->rss_title) ?></description>
+ <description><?= $this->description ?></description>
<pubDate><?= date('D, d M Y H:i:s O') ?></pubDate>
<lastBuildDate><?= gmdate('D, d M Y H:i:s') ?> GMT</lastBuildDate>
<atom:link href="<?= $this->rss_url ?>" rel="self" type="application/rss+xml" />
+ <image>
+ <url><?= $this->image_url ?></url>
+ <title><?= $this->rss_title ?></title>
+ <link><?= $this->html_url ?></link>
+ </image>
<?php
foreach ($this->entries as $item) {
if (!$this->internal_rendering) {