summaryrefslogtreecommitdiff
path: root/templates/rss.tpl
blob: b5f01bd4c2d7a0acbc0694ac25a912471aabfef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>{$feedTitle}</title>
    <link>https://twitter.com/{$user}</link>
    <lastBuildDate>{$cacheTime|date_format:"D, d M Y H:i:s O"}</lastBuildDate>
    {foreach from=$content item=item}
    <item>
      <title>{$item->Title|escape}</title>
      <link>{$item->Link}</link>
      <guid>{$feedID}/{$item->ID}</guid>
      <description><![CDATA[ {$item->Text|escape} ]]></description>
      <content:encoded><![CDATA[ {$item->Text} ]]></content:encoded>
      <pubDate>{$item->Time|date_format:"D, d M Y H:i:s O"}</pubDate>
    </item>
    {/foreach}
  </channel>
</rss>