aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/dailyrss.html
blob: ff19bbfbae7f8c1ed9903705e849e53f455fe5cd (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
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Daily - {$title}</title>
    <link>{$index_url}</link>
    <description>Daily shaared bookmarks</description>
    <language>{$language}</language>
    <copyright>{$index_url}</copyright>
    <generator>Shaarli</generator>

    {loop="$days"}
    <item>
      <title>{$value.date_human} - {$title}</title>
      <guid>{$value.absolute_url}</guid>
      <link>{$value.absolute_url}</link>
      <pubDate>{$value.date_rss}</pubDate>
      <description><![CDATA[
        {loop="$value.links"}
        <h3><a href="{$value.url}">{$value.title}</a></h3>
        <small>
          {if="!$hide_timestamps"}{$value.created|format_date} - {/if}{if="$value.tags"}{$value.tags}{/if}<br>
          {$value.url}
        </small><br>
        {if="$value.thumbnail"}<img src="{$index_url}{$value.thumbnail}#" alt="thumbnail" />{/if}<br>
        {if="$value.description"}{$value.description}{/if}
        <br><br><hr>
        {/loop}
        ]]></description>
    </item>
    {/loop}
  </channel>
</rss><!-- Cached version of {$page_url} -->