diff options
Diffstat (limited to 'bin/index.atom.erb')
-rw-r--r-- | bin/index.atom.erb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/bin/index.atom.erb b/bin/index.atom.erb deleted file mode 100644 index 5b0ef36..0000000 --- a/bin/index.atom.erb +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<feed xmlns="http://www.w3.org/2005/Atom"> - - <title>AndrewDM.me <%= @title %></title> - <link rel="self" type="application/atom+xml" href="./index.atom"/> - <link rel="alternate" type="text/html" href="./"/> - <link rel="alternate" type="text/markdown" href="./index.md"/> - <updated><%= @pages.map{|p|p.updated}.sort.last.rfc3339 %></updated> - <author><%= Person.new("Andrew Murrell").atom %></author> - <id><%= $url %></id> - - <% @pages.sort_by{|p| p.updated}.reverse.each do |page| %> - <entry xmlns="http://www.w3.org/2005/Atom"> - <link rel="alternate" type="text/html" href="<%= page.url %>"/> - <id><%= page.url %></id> - <updated><%= page.updated.rfc3339 %></updated> - <published><%= page.published.rfc3339 %></published> - <title><%= page.title %></title> - <author><%= page.author.atom %></author> -<% if page.content %> - <content type="html"><%= html_escape(page.content) %></content> - <rights type="html"><%= html_escape(page.rights) %></rights> -<% end %> - </entry> - <% end %> -</feed> |