aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/feed.atom.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-07-28 11:07:55 +0200
committerArthurHoaro <arthur@hoa.ro>2018-07-28 11:07:55 +0200
commit83faedadff76c5bdca036f39f13943f63b27e164 (patch)
tree6f44cede16ec6a60f10b9699e211e0818f06d2c8 /tpl/default/feed.atom.html
parent1d9eb22a3df85b67fe6652c0876cd7382c2fb525 (diff)
parent658988f3aeba7a5a938783249ccf2765251e5597 (diff)
downloadShaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.gz
Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.zst
Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.zip
Merge tag 'v0.9.7' into stable
Release v0.9.7
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>