Add opensearch to RSS and ATOM feeds

Fixes #709
This commit is contained in:
ArthurHoaro 2016-12-16 14:03:42 +01:00
parent e0177549c7
commit af815f771c
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,8 @@
<updated>{$last_update}</updated>
{/if}
<link rel="self" href="{$self_link}#" />
<link rel="search" type="application/opensearchdescription+xml" href="{$index_url}?do=opensearch#"
title="Shaarli search - {$shaarlititle}" />
{loop="$feed_plugins_header"}
{$value}
{/loop}

View file

@ -8,6 +8,8 @@
<copyright>{$index_url}</copyright>
<generator>Shaarli</generator>
<atom:link rel="self" href="{$self_link}" />
<atom:link rel="search" type="application/opensearchdescription+xml" href="{$index_url}?do=opensearch#"
title="Shaarli search - {$shaarlititle}" />
{loop="$feed_plugins_header"}
{$value}
{/loop}