summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/atom.tpl4
-rw-r--r--templates/rss.tpl6
2 files changed, 4 insertions, 6 deletions
diff --git a/templates/atom.tpl b/templates/atom.tpl
index e7e28f5..df4a762 100644
--- a/templates/atom.tpl
+++ b/templates/atom.tpl
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>{$user}'s timeline</title>
+ <title>{$feedTitle}</title>
<link href="https://twitter.com/{$user}" />
- <id>http://emkael.info/tulz/twitterRSS/{$user}</id>
+ <id>{$feedID}</id>
<updated>{$cacheTime|date_format:"c"}</updated>
{foreach from=$content item=item}
<entry>
diff --git a/templates/rss.tpl b/templates/rss.tpl
index f95a462..03ea30b 100644
--- a/templates/rss.tpl
+++ b/templates/rss.tpl
@@ -1,16 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
- <title>{$user}'s timeline</title>
+ <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>
- {if isset($item->user)}
- <guid>http://emkael.info/tulz/twitterRSS/{$item->user->id_str}/{$item->id_str}</guid>
- {/if}
+ <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>