diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/atom.tpl | 14 | ||||
-rw-r--r-- | templates/rss.tpl | 10 |
2 files changed, 12 insertions, 12 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> diff --git a/templates/rss.tpl b/templates/rss.tpl index 03ea30b..a0be07e 100644 --- a/templates/rss.tpl +++ b/templates/rss.tpl @@ -6,11 +6,11 @@ <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> + <title>{$item->Title|escape}</title> + <link>{$item->Link}</link> + <guid>{$feedID}/{$item->ID}</guid> + <description><![CDATA[ {$item->Text|escape} ]]></description> + <pubDate>{$item->Time|date_format:"D, d M Y H:i:s O"}</pubDate> </item> {/foreach} </channel> |