summaryrefslogtreecommitdiff
path: root/templates/atom.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/atom.tpl')
-rw-r--r--templates/atom.tpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/atom.tpl b/templates/atom.tpl
index df4a762..ea8f357 100644
--- a/templates/atom.tpl
+++ b/templates/atom.tpl
@@ -6,14 +6,14 @@
<updated>{$cacheTime|date_format:"c"}</updated>
{foreach from=$content item=item}
<entry>
- <title>{$item->text|escape}</title>
- <link href="https://twitter.com/{$user}/status/{$item->id_str}" />
- <id>http://emkael.info/tulz/twitterRSS/{$item->user->id_str}/{$item->id_str}</id>
- <updated>{$item->created_at|date_format:"c"}</updated>
- <summary><![CDATA[ {$item->text|escape} ]]></summary>
- {if isset($item->user)}
+ <title>{$item->Title|escape}</title>
+ <link href="{$item->Link}" />
+ <id>{$feedID}/{$item->ID}</id>
+ <updated>{$item->Time|date_format:"c"}</updated>
+ <summary><![CDATA[ {$item->Text|escape} ]]></summary>
+ {if isset($item->Author)}
<author>
- <name>{$item->user->screen_name}</name>
+ <name>{$item->Author}</name>
</author>
{/if}
</entry>