aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/feed.rss.html
blob: 4be8202f57ced7cb19fbbd470b38fa70f857f843 (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
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>{$pagetitle}</title>
    <link>{$index_url}</link>
    <description>Shaared links</description>
    <language>{$language}</language>
    <copyright>{$index_url}</copyright>
    <generator>Shaarli</generator>
    <atom:link rel="self" href="{$self_link}"  />
    <atom:link rel="search" type="application/opensearchdescription+xml" href="{$index_url}open-search#"
               title="Shaarli search - {$shaarlititle}" />
    {loop="$feed_plugins_header"}
      {$value}
    {/loop}
    {loop="$links"}
      <item>
        <title>{$value.title}</title>
        <guid isPermaLink="{if="$usepermalinks"}true{else}false{/if}">{$value.guid}</guid>
        {if="$usepermalinks"}
          <link>{$value.guid}</link>
        {else}
          <link>{$value.url}</link>
        {/if}
        {if="$show_dates"}
          <pubDate>{$value.pub_iso_date}</pubDate>
          <atom:modified>{$value.up_iso_date}</atom:modified>
        {/if}
        <description><![CDATA[{$value.description}]]></description>
        {loop="$value.taglist"}
          <category domain="{$index_url}?searchtags=">{$value}</category>
        {/loop}
        {loop="$value.feed_plugins"}
          {$value}
        {/loop}
      </item>
    {/loop}
  </channel>
</rss>