aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/feed.atom.html
blob: 5919bb4956210ddf152b2df4d8bc0dad067db26e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>{$pagetitle}</title>
  <subtitle>Shaared links</subtitle>
  {if="$show_dates"}
    <updated>{$last_update}</updated>
  {/if}
  <link rel="self" href="{$self_link}#" />
  <link rel="search" type="application/opensearchdescription+xml" href="{$index_url}open-search#"
        title="Shaarli search - {$shaarlititle}" />
  {loop="$feed_plugins_header"}
    {$value}
  {/loop}
  <author>
    <name>{$pagetitle}</name>
    <uri>{$index_url}</uri>
  </author>
  <id>{$index_url}</id>
  <generator>Shaarli</generator>
  {loop="$links"}
    <entry>
      <title>{$value.title}</title>
      {if="$usepermalinks"}
        <link href="{$value.guid}#" />
      {else}
        <link href="{$value.url}#" />
      {/if}
      <id>{$value.guid}</id>
      {if="$show_dates"}
        <published>{$value.pub_iso_date}</published>
        <updated>{$value.up_iso_date}</updated>
      {/if}
      <content type="html" xml:lang="{$language}"><![CDATA[{$value.description}]]></content>
      {loop="$value.taglist"}
        <category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" />
      {/loop}
      {loop="$value.feed_plugins"}
        {$value}
      {/loop}
    </entry>
  {/loop}
</feed>