templates/index.atom.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Thu, 31 Jul 2014 00:05:00 +0200
changeset 25 1a1cf5c35cfb
parent 4 7ffe7b48b8de
child 32 3e776f1b21d4
permissions -rw-r--r--
Collapsable thread backtrace

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US">
  <id>tag:crash,2012,<%= url_for('index')->to_abs =%></id>
  <link type="text/html" rel="alternate" href="<%= url_for()->to_abs =%>"/>
  <link type="application/atom+xml" rel="self" href="<%= url_for('current', format => 'atom')->to_abs =%>"/>
  <title>Recent Crashs</title>
  <updated><%= POSIX::strftime("%FT%T%z", gmtime(@$files[0]->{date} || 0)) =%></updated>

% foreach my $file(@$files) {
  <entry>
    <id>tag:crash,2012:uuid::<%= $file->{uuid} =%></id>
    <link type="text/html" rel="alternate" href="<%= url_for('report', uuid => $file->{uuid})->to_abs =%>"/>
    <title><%= $file->{product} =%>: <%= $file->{signature} =%></title>
    <updated><%= POSIX::strftime("%FT%T%z", gmtime($file->{date})) =%></updated>
    <author>
      <name></name>
    </author>
    <content type="html">
      %= t span => POSIX::strftime("%F %T", localtime($file->{date}))
    </content>
  </entry>
% }
</feed>