<% require 'siteutil' %><entry xmlns="http://www.w3.org/2005/Atom"> <link rel="alternate" type="text/html" href="<%= url %>"/> <id><%= url %></id> <updated><%= atom_updated.to_datetime.rfc3339 %></updated> <published><%= atom_published.to_datetime.rfc3339 %></published> <title><%= atom_title %></title> <author><%= atom_author.atom %></author> <% atom_categories.each do |c| %><%= c.atom %><% end %> <% if atom_content %><content type="html"><%= Sitegen::html_escape(atom_content) %></content><% end %> <% if atom_rights %><rights type="html"><%= Sitegen::html_escape(atom_rights) %></rights><% end %> </entry>