From 59bd9d51cc705dd44bdce753a56cc6ae914b02ce Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 27 Dec 2016 14:44:39 +0100 Subject: * directory structure --- templates/.htaccess | 1 + templates/atom.tpl | 21 +++++++++++++++++++++ templates/rss.tpl | 19 +++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 templates/.htaccess create mode 100644 templates/atom.tpl create mode 100644 templates/rss.tpl (limited to 'templates') diff --git a/templates/.htaccess b/templates/.htaccess new file mode 100644 index 0000000..3a42882 --- /dev/null +++ b/templates/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/templates/atom.tpl b/templates/atom.tpl new file mode 100644 index 0000000..e7e28f5 --- /dev/null +++ b/templates/atom.tpl @@ -0,0 +1,21 @@ + + + {$user}'s timeline + + http://emkael.info/tulz/twitterRSS/{$user} + {$cacheTime|date_format:"c"} + {foreach from=$content item=item} + + {$item->text|escape} + + http://emkael.info/tulz/twitterRSS/{$item->user->id_str}/{$item->id_str} + {$item->created_at|date_format:"c"} + text|escape} ]]> + {if isset($item->user)} + + {$item->user->screen_name} + + {/if} + + {/foreach} + diff --git a/templates/rss.tpl b/templates/rss.tpl new file mode 100644 index 0000000..f95a462 --- /dev/null +++ b/templates/rss.tpl @@ -0,0 +1,19 @@ + + + + {$user}'s timeline + https://twitter.com/{$user} + {$cacheTime|date_format:"D, d M Y H:i:s O"} + {foreach from=$content item=item} + + {$item->text|escape} + https://twitter.com/{$user}/status/{$item->id_str} + {if isset($item->user)} + http://emkael.info/tulz/twitterRSS/{$item->user->id_str}/{$item->id_str} + {/if} + text|escape} ]]> + {$item->created_at|date_format:"D, d M Y H:i:s O"} + + {/foreach} + + -- cgit v1.2.3