templates/reports/index.atom.ep
changeset 108 e4e5cfaf5814
parent 107 6f411821b12b
child 109 3b95550f4189
--- a/templates/reports/index.atom.ep	Sat Feb 20 18:36:00 2016 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<?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><%= date_with_tz_from_db_utc(@$crashs[0]->{crash_time}) =%></updated>
-
-% foreach my $crash(@$crashs) {
-  <entry>
-    <id>tag:crash,2014:uuid::<%= $crash->{uuid} =%></id>
-    <link type="text/html" rel="alternate" href="<%= url_for('report', uuid => $crash->{uuid})->to_abs =%>"/>
-    <title><%= $crash->{p_name} =%> <%= $crash->{p_version} =%>: <%= $crash->{uuid} =%></title>
-    <updated><%= date_with_tz_from_db_utc($crash->{crash_time}) =%></updated>
-    <published><%= date_with_tz_from_db_utc($crash->{crash_time}) =%></published>
-    <author>
-      <name></name>
-    </author>
-    <content type="html">
-    %= xml_escape_block begin
-      %= t h3 => date_from_db_utc($crash->{crash_time})
-      %= t h3 => $crash->{p_name} . " version " . $crash->{p_version}
-    % end
-    </content>
-  </entry>
-% }
-</feed>