aboutsummaryrefslogtreecommitdiff
path: root/t/test-site/src/feed.it.tt
diff options
context:
space:
mode:
Diffstat (limited to 't/test-site/src/feed.it.tt')
-rw-r--r--t/test-site/src/feed.it.tt15
1 files changed, 1 insertions, 14 deletions
diff --git a/t/test-site/src/feed.it.tt b/t/test-site/src/feed.it.tt
index 9a7a4cd..f7b7730 100644
--- a/t/test-site/src/feed.it.tt
+++ b/t/test-site/src/feed.it.tt
@@ -1,14 +1 @@
-[% USE df = DateTime::Format('DateTime::Format::Strptime',
- { pattern => '%F %T',
- locale => 'en_US',
- time_zone => 'GMT' }) -%]
-<?xml version="1.0" encoding="utf-8"?>
-<f:feed xmlns:f="http://webcoso.thenautilus.net/feeds">
-[% FOR c IN changed; NEXT UNLESS isLang(language,c.key) -%]
-<f:item>
- [% IF c.value.creation %]<f:created>[% df.format(c.value.creation) %]</f:created>[% END %]
- [% IF c.value.last_change %]<f:last>[% df.format(c.value.last_change) %]</f:last>[% END %]
- <f:PH>[% dstUriFor(c.key) %]</f:PH>
-</f:item>
-[% END -%]
-</f:feed>
+[% INCLUDE 'base-feed.tt' %]