aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/feed.atom.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.atom.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.atom.html')
-rw-r--r--tpl/default/feed.atom.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/tpl/default/feed.atom.html b/tpl/default/feed.atom.html
new file mode 100644
index 00000000..29187505
--- /dev/null
+++ b/tpl/default/feed.atom.html
@@ -0,0 +1,40 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom">
3 <title>{$pagetitle}</title>
4 <subtitle>Shaared links</subtitle>
5 {if="$show_dates"}
6 <updated>{$last_update}</updated>
7 {/if}
8 <link rel="self" href="{$self_link}#" />
9 {loop="$plugins_feed_header"}
10 {$value}
11 {/loop}
12 <author>
13 <name>{$index_url}</name>
14 <uri>{$index_url}</uri>
15 </author>
16 <id>{$index_url}</id>
17 <generator>Shaarli</generator>
18 {loop="$links"}
19 <entry>
20 <title>{$value.title}</title>
21 {if="$usepermalinks"}
22 <link href="{$value.guid}#" />
23 {else}
24 <link href="{$value.url}#" />
25 {/if}
26 <id>{$value.guid}</id>
27 {if="$show_dates"}
28 <published>{$value.pub_iso_date}</published>
29 <updated>{$value.up_iso_date}</updated>
30 {/if}
31 <content type="html" xml:lang="{$language}"><![CDATA[{$value.description}]]></content>
32 {loop="$value.taglist"}
33 <category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" />
34 {/loop}
35 {loop="$value.feed_plugins"}
36 {$value}
37 {/loop}
38 </entry>
39 {/loop}
40</feed>