# HG changeset patch # User Vincent Tondellier # Date 1335988014 -7200 # Node ID 7ffe7b48b8deaf0a2974dbd1c6ecd62c67b8a8d3 # Parent 2ff78fe4abda91f72be5383ebf71f5e962a2f37e Create atom feed diff -r 2ff78fe4abda -r 7ffe7b48b8de templates/index.atom.ep --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/index.atom.ep Wed May 02 21:46:54 2012 +0200 @@ -0,0 +1,23 @@ + + + tag:crash,2012,<%= url_for('index')->to_abs =%> + + + Recent Crashs + <%= POSIX::strftime("%FT%T%z", gmtime(@$files[0]->{date} || 0)) =%> + +% foreach my $file(@$files) { + + tag:crash,2012:uuid::<%= $file->{uuid} =%> + + <%= $file->{product} =%>: <%= $file->{signature} =%> + <%= POSIX::strftime("%FT%T%z", gmtime($file->{date})) =%> + + + + + %= t span => POSIX::strftime("%F %T", localtime($file->{date})) + + +% } +