2 <feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US"> |
2 <feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US"> |
3 <id>tag:crash,2012,<%= url_for('index')->to_abs =%></id> |
3 <id>tag:crash,2012,<%= url_for('index')->to_abs =%></id> |
4 <link type="text/html" rel="alternate" href="<%= url_for()->to_abs =%>"/> |
4 <link type="text/html" rel="alternate" href="<%= url_for()->to_abs =%>"/> |
5 <link type="application/atom+xml" rel="self" href="<%= url_for('current', format => 'atom')->to_abs =%>"/> |
5 <link type="application/atom+xml" rel="self" href="<%= url_for('current', format => 'atom')->to_abs =%>"/> |
6 <title>Recent Crashs</title> |
6 <title>Recent Crashs</title> |
7 <updated><%= @$files[0]->{date}->strftime("%FT%TZ") =%></updated> |
7 <updated><%= date_with_tz_from_db_utc(@$crashs[0]->{crash_time}) =%></updated> |
8 |
8 |
9 % foreach my $file(@$files) { |
9 % foreach my $crash(@$crashs) { |
10 <entry> |
10 <entry> |
11 <id>tag:crash,2014:uuid::<%= $file->{uuid} =%></id> |
11 <id>tag:crash,2014:uuid::<%= $crash->{uuid} =%></id> |
12 <link type="text/html" rel="alternate" href="<%= url_for('report', uuid => $file->{uuid})->to_abs =%>"/> |
12 <link type="text/html" rel="alternate" href="<%= url_for('report', uuid => $crash->{uuid})->to_abs =%>"/> |
13 <title><%= $file->{product} =%>: <%= $file->{signature} =%></title> |
13 <title><%= $crash->{p_name} =%> <%= $crash->{p_version} =%>: <%= $crash->{uuid} =%></title> |
14 <updated><%= $file->{date}->strftime("%FT%TZ") =%></updated> |
14 <updated><%= date_with_tz_from_db_utc($crash->{crash_time}) =%></updated> |
15 <published><%= $file->{date}->strftime("%FT%TZ") =%></published> |
15 <published><%= date_with_tz_from_db_utc($crash->{crash_time}) =%></published> |
16 <author> |
16 <author> |
17 <name></name> |
17 <name></name> |
18 </author> |
18 </author> |
19 <content type="html"> |
19 <content type="html"> |
20 %= xml_escape_block begin |
20 %= xml_escape_block begin |
21 %= t h3 => $file->{date}->strftime("%F %T") |
21 %= t h3 => date_from_db_utc($crash->{crash_time}) |
22 %= t h3 => $file->{product} . " version " . $file->{version} |
22 %= t h3 => $crash->{p_name} . " version " . $crash->{p_version} |
23 % end |
23 % end |
24 </content> |
24 </content> |
25 </entry> |
25 </entry> |
26 % } |
26 % } |
27 </feed> |
27 </feed> |