summaryrefslogtreecommitdiff
path: root/templates/rss.tpl
blob: 03ea30b82a347329dacbfdda7aef2bc8fd2a6ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <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->text|escape}</title>
      <link>https://twitter.com/{$user}/status/{$item->id_str}</link>
      <guid>{$feedID}/{$item->id_str}</guid>
      <description><![CDATA[ {$item->text|escape} ]]></description>
      <pubDate>{$item->created_at|date_format:"D, d M Y H:i:s O"}</pubDate>
    </item>
    {/foreach}
  </channel>
</rss>