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>
|
||||
{/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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue