aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-12-16 14:03:42 +0100
committerArthurHoaro <arthur@hoa.ro>2017-01-03 09:57:19 +0100
commitaf815f771cbed43c3dd30436f23061c66e92e5a3 (patch)
tree0677d7e70efa7fd3dd47d955869ca2aede19fcad
parente0177549c760b143efdd17b1579e0c0199dce939 (diff)
downloadShaarli-af815f771cbed43c3dd30436f23061c66e92e5a3.tar.gz
Shaarli-af815f771cbed43c3dd30436f23061c66e92e5a3.tar.zst
Shaarli-af815f771cbed43c3dd30436f23061c66e92e5a3.zip
Add opensearch to RSS and ATOM feeds
Fixes #709
-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}