aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/feed.rss.html
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2017-01-06 11:40:54 +0100
committerGitHub <noreply@github.com>2017-01-06 11:40:54 +0100
commit7418f7cb60524c3bfc2f240386b5e3e7eb9b3257 (patch)
tree4b0c89c133ad1679c5db3a4f0f6b94079f776395 /tpl/default/feed.rss.html
parent93b1fe54fb99efff30eec0d405cc7319fbbc1f95 (diff)
parent01c6e32a02034ab119d83364c4648ce55d75543b (diff)
downloadShaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.gz
Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.zst
Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.zip
Merge pull request #732 from ArthurHoaro/feature/theme-manager
Theme manager: improvements
Diffstat (limited to 'tpl/default/feed.rss.html')
-rw-r--r--tpl/default/feed.rss.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/tpl/default/feed.rss.html b/tpl/default/feed.rss.html
new file mode 100644
index 00000000..ee3fef88
--- /dev/null
+++ b/tpl/default/feed.rss.html
@@ -0,0 +1,39 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>{$pagetitle}</title>
5 <link>{$index_url}</link>
6 <description>Shaared links</description>
7 <language>{$language}</language>
8 <copyright>{$index_url}</copyright>
9 <generator>Shaarli</generator>
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}" />
13 {loop="$feed_plugins_header"}
14 {$value}
15 {/loop}
16 {loop="$links"}
17 <item>
18 <title>{$value.title}</title>
19 <guid isPermaLink="{if="$usepermalinks"}true{else}false{/if}">{$value.guid}</guid>
20 {if="$usepermalinks"}
21 <link>{$value.guid}</link>
22 {else}
23 <link>{$value.url}</link>
24 {/if}
25 {if="$show_dates"}
26 <pubDate>{$value.pub_iso_date}</pubDate>
27 <atom:modified>{$value.up_iso_date}</atom:modified>
28 {/if}
29 <description><![CDATA[{$value.description}]]></description>
30 {loop="$value.taglist"}
31 <category domain="{$index_url}?searchtags=">{$value}</category>
32 {/loop}
33 {loop="$value.feed_plugins"}
34 {$value}
35 {/loop}
36 </item>
37 {/loop}
38 </channel>
39</rss>