diff options
Diffstat (limited to 'tpl/default/feed.atom.html')
-rw-r--r-- | tpl/default/feed.atom.html | 40 |
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> | ||