aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/feed.rss.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-01-14 15:52:17 +0100
committerArthurHoaro <arthur@hoa.ro>2017-02-27 20:01:54 +0100
commit402b03464812aaec76bc841ca7dacb775baf1e03 (patch)
tree5f5ce030a71ed1ac327f60911cb22f0ca87d21cd /tpl/default/feed.rss.html
parent009ce9358168cc06c76fc2f4162829e552e633a3 (diff)
downloadShaarli-402b03464812aaec76bc841ca7dacb775baf1e03.tar.gz
Shaarli-402b03464812aaec76bc841ca7dacb775baf1e03.tar.zst
Shaarli-402b03464812aaec76bc841ca7dacb775baf1e03.zip
Introduce the new default Shaarli template
Diffstat (limited to 'tpl/default/feed.rss.html')
-rw-r--r--tpl/default/feed.rss.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/tpl/default/feed.rss.html b/tpl/default/feed.rss.html
new file mode 100644
index 00000000..66d9a869
--- /dev/null
+++ b/tpl/default/feed.rss.html
@@ -0,0 +1,37 @@
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 {loop="$plugins_feed_header"}
12 {$value}
13 {/loop}
14 {loop="$links"}
15 <item>
16 <title>{$value.title}</title>
17 <guid isPermaLink="{if="$usepermalinks"}true{else}false{/if}">{$value.guid}</guid>
18 {if="$usepermalinks"}
19 <link>{$value.guid}</link>
20 {else}
21 <link>{$value.url}</link>
22 {/if}
23 {if="$show_dates"}
24 <pubDate>{$value.pub_iso_date}</pubDate>
25 <atom:modified>{$value.up_iso_date}</atom:modified>
26 {/if}
27 <description><![CDATA[{$value.description}]]></description>
28 {loop="$value.taglist"}
29 <category domain="{$index_url}?searchtags=">{$value}</category>
30 {/loop}
31 {loop="$value.feed_plugins"}
32 {$value}
33 {/loop}
34 </item>
35 {/loop}
36 </channel>
37</rss>