diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-06 23:18:24 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-06 23:18:24 -0500 |
commit | 4a3a404a5cb2a8d5be83e28cec5c539928fa30f4 (patch) | |
tree | b6f636ba3ed0ce486941b1b9ad67cb0973699d6b /tmpl/page.atom.erb | |
parent | 7edb003cd1c9b53ffdff11ef85532e39f08db16d (diff) |
aaaah
Diffstat (limited to 'tmpl/page.atom.erb')
-rw-r--r-- | tmpl/page.atom.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tmpl/page.atom.erb b/tmpl/page.atom.erb new file mode 100644 index 0000000..ea37ea5 --- /dev/null +++ b/tmpl/page.atom.erb @@ -0,0 +1,10 @@ +<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><% end %> + <% if page.rights %><rights type="html"><%= html_escape(page.rights) %></rights><% end %> +</entry> |