Merge pull request #719 from ArthurHoaro/feed-opensearch
Add opensearch to RSS and ATOM feeds
This commit is contained in:
commit
436479c58f
2 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
||||||
<updated>{$last_update}</updated>
|
<updated>{$last_update}</updated>
|
||||||
{/if}
|
{/if}
|
||||||
<link rel="self" href="{$self_link}#" />
|
<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"}
|
{loop="$feed_plugins_header"}
|
||||||
{$value}
|
{$value}
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
<copyright>{$index_url}</copyright>
|
<copyright>{$index_url}</copyright>
|
||||||
<generator>Shaarli</generator>
|
<generator>Shaarli</generator>
|
||||||
<atom:link rel="self" href="{$self_link}" />
|
<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"}
|
{loop="$feed_plugins_header"}
|
||||||
{$value}
|
{$value}
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|
Loading…
Reference in a new issue