| <% coder = HTMLEntities.new %> |
| |
| <feed xmlns="http://www.w3.org/2005/Atom"> |
| <title>Apache Aurora Blog</title> |
| <id>http://aurora.apache.org/blog</id> |
| <link href="http://aurora.apache.org/blog" /> |
| <link href="http://aurora.apache.org/blog/feed.xml" rel="self"/> |
| <updated><%= blog.articles.first.date.to_time.iso8601 %></updated> |
| <% blog.articles.each do |article| %> |
| <entry> |
| <id>http://aurora.apache.org<%= article.url %></id> |
| <link href="<%= article.url %>" /> |
| <title> |
| <%= article.title %> |
| </title> |
| <updated><%= article.date.to_time.iso8601 %></updated> |
| <author> |
| <name><%= article.data.post_author.display_name %></name> |
| </author> |
| <content type="html"> |
| <%= coder.encode(article.body) %> |
| </content> |
| </entry> |
| <% end %> |
| </feed> |