Merge pull request #719 from ArthurHoaro/feed-opensearch

Add opensearch to RSS and ATOM feeds
This commit is contained in:
Arthur 2017-01-03 10:07:08 +01:00 committed by GitHub
commit 436479c58f
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}