]>
Commit | Line | Data |
---|---|---|
5f8e6ebc A |
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 | {if="!empty($pubsubhub_url)"} | |
12 | <!-- PubSubHubbub Discovery --> | |
13 | <atom:link rel="hub" href="{$pubsubhub_url}" /> | |
14 | {/if} | |
4e4479dd | 15 | {loop="$links"} |
5f8e6ebc A |
16 | <item> |
17 | <title>{$value.title}</title> | |
18 | <guid isPermaLink="{if="$usepermalinks"}true{else}false{/if}">{$value.guid}</guid> | |
19 | {if="$usepermalinks"} | |
20 | <link>{$value.guid}</link> | |
21 | {else} | |
22 | <link>{$value.url}</link> | |
23 | {/if} | |
24 | {if="$show_dates"} | |
bfafb61e A |
25 | <pubDate>{$value.pub_iso_date}</pubDate> |
26 | <atom:modified>{$value.up_iso_date}</atom:modified> | |
5f8e6ebc A |
27 | {/if} |
28 | <description><![CDATA[{$value.description}]]></description> | |
29 | {loop="$value.taglist"} | |
30 | <category domain="{$index_url}?searchtags=">{$value}</category> | |
31 | {/loop} | |
32 | </item> | |
33 | {/loop} | |
34 | </channel> | |
35 | </rss> |