aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2017-01-03 10:07:08 +0100
committerGitHub <noreply@github.com>2017-01-03 10:07:08 +0100
commit436479c58f0da23fb05c3b26941beabd89d87561 (patch)
tree0d5643a5d8861be3e91ff804ac3529fc501177d2 /tpl
parent64497fb3020e9d2e2c0f9c55c4d10fedbc7a9f79 (diff)
parentaf815f771cbed43c3dd30436f23061c66e92e5a3 (diff)
downloadShaarli-436479c58f0da23fb05c3b26941beabd89d87561.tar.gz
Shaarli-436479c58f0da23fb05c3b26941beabd89d87561.tar.zst
Shaarli-436479c58f0da23fb05c3b26941beabd89d87561.zip
Merge pull request #719 from ArthurHoaro/feed-opensearch
Add opensearch to RSS and ATOM feeds
Diffstat (limited to 'tpl')
-rw-r--r--tpl/feed.atom.html2
-rw-r--r--tpl/feed.rss.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html
index ad7dd935..49798e85 100644
--- a/tpl/feed.atom.html
+++ b/tpl/feed.atom.html
@@ -6,6 +6,8 @@
6 <updated>{$last_update}</updated> 6 <updated>{$last_update}</updated>
7 {/if} 7 {/if}
8 <link rel="self" href="{$self_link}#" /> 8 <link rel="self" href="{$self_link}#" />
9 <link rel="search" type="application/opensearchdescription+xml" href="{$index_url}?do=opensearch#"
10 title="Shaarli search - {$shaarlititle}" />
9 {loop="$feed_plugins_header"} 11 {loop="$feed_plugins_header"}
10 {$value} 12 {$value}
11 {/loop} 13 {/loop}
diff --git a/tpl/feed.rss.html b/tpl/feed.rss.html
index 73791f63..ee3fef88 100644
--- a/tpl/feed.rss.html
+++ b/tpl/feed.rss.html
@@ -8,6 +8,8 @@
8 <copyright>{$index_url}</copyright> 8 <copyright>{$index_url}</copyright>
9 <generator>Shaarli</generator> 9 <generator>Shaarli</generator>
10 <atom:link rel="self" href="{$self_link}" /> 10 <atom:link rel="self" href="{$self_link}" />
11 <atom:link rel="search" type="application/opensearchdescription+xml" href="{$index_url}?do=opensearch#"
12 title="Shaarli search - {$shaarlititle}" />
11 {loop="$feed_plugins_header"} 13 {loop="$feed_plugins_header"}
12 {$value} 14 {$value}
13 {/loop} 15 {/loop}