templates/index.atom.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Fri, 08 May 2015 20:46:42 +0200
changeset 64 f66d935647bc
parent 32 3e776f1b21d4
child 78 0ebef32c34af
permissions -rw-r--r--
Prettyprint function names using prettify.js
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>
32
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
     7
  <updated><%= @$files[0]->{date}->strftime("%FT%TZ") =%></updated>
4
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>
32
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
    11
    <id>tag:crash,2014:uuid::<%= $file->{uuid} =%></id>
4
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>
32
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
    14
    <updated><%= $file->{date}->strftime("%FT%TZ") =%></updated>
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
    15
    <published><%= $file->{date}->strftime("%FT%TZ") =%></published>
4
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    16
    <author>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    17
      <name></name>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    18
    </author>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    19
    <content type="html">
32
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
    20
    %= xml_escape_block begin
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
    21
      %= t h3 => $file->{date}->strftime("%F %T")
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
    22
      %= t h3 => $file->{product} . " version " . $file->{version}
3e776f1b21d4 Fix and improve atom/rss feed
Vincent Tondellier <tonton+hg@team1664.org>
parents: 4
diff changeset
    23
    % end
4
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    24
    </content>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    25
  </entry>
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    26
% }
7ffe7b48b8de Create atom feed
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    27
</feed>