templates/index.atom.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Thu, 03 May 2012 23:23:08 +0200
changeset 7 989accf1fe23
parent 4 7ffe7b48b8de
child 32 3e776f1b21d4
permissions -rw-r--r--
Re-add link to the minified jquery
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     2
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US">
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     3
  <id>tag:crash,2012,<%= url_for('index')->to_abs =%></id>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     4
  <link type="text/html" rel="alternate" href="<%= url_for()->to_abs =%>"/>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     5
  <link type="application/atom+xml" rel="self" href="<%= url_for('current', format => 'atom')->to_abs =%>"/>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     6
  <title>Recent Crashs</title>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     7
  <updated><%= POSIX::strftime("%FT%T%z", gmtime(@$files[0]->{date} || 0)) =%></updated>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     8
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     9
% foreach my $file(@$files) {
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    10
  <entry>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    11
    <id>tag:crash,2012:uuid::<%= $file->{uuid} =%></id>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    12
    <link type="text/html" rel="alternate" href="<%= url_for('report', uuid => $file->{uuid})->to_abs =%>"/>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    13
    <title><%= $file->{product} =%>: <%= $file->{signature} =%></title>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    14
    <updated><%= POSIX::strftime("%FT%T%z", gmtime($file->{date})) =%></updated>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    15
    <author>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    16
      <name></name>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    17
    </author>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    18
    <content type="html">
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    19
      %= t span => POSIX::strftime("%F %T", localtime($file->{date}))
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    20
    </content>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    21
  </entry>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    22
% }
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    23
</feed>