diff options
Diffstat (limited to 'http/templates')
-rw-r--r-- | http/templates/.htaccess | 1 | ||||
-rw-r--r-- | http/templates/atom.tpl | 21 | ||||
-rw-r--r-- | http/templates/rss.tpl | 19 |
3 files changed, 0 insertions, 41 deletions
diff --git a/http/templates/.htaccess b/http/templates/.htaccess deleted file mode 100644 index 3a42882..0000000 --- a/http/templates/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Deny from all diff --git a/http/templates/atom.tpl b/http/templates/atom.tpl deleted file mode 100644 index e7e28f5..0000000 --- a/http/templates/atom.tpl +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<feed xmlns="http://www.w3.org/2005/Atom"> - <title>{$user}'s timeline</title> - <link href="https://twitter.com/{$user}" /> - <id>http://emkael.info/tulz/twitterRSS/{$user}</id> - <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)} - <author> - <name>{$item->user->screen_name}</name> - </author> - {/if} - </entry> - {/foreach} -</feed> diff --git a/http/templates/rss.tpl b/http/templates/rss.tpl deleted file mode 100644 index f95a462..0000000 --- a/http/templates/rss.tpl +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<rss version="2.0"> - <channel> - <title>{$user}'s timeline</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} - <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> |