Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No need to keep atom.builder in the theme.

  • Loading branch information...
commit b38cbba4e18ad745019f06b20127a6ed4f22e7a3 1 parent 5ff5754
Graham Ashton authored
Showing with 0 additions and 28 deletions.
  1. +0 −28 views/atom.builder
28 views/atom.builder
View
@@ -1,28 +0,0 @@
-xml.instruct!
-xml.feed :xmlns => "http://www.w3.org/2005/Atom" do
- xml.title @title, :type => "text"
- xml.generator "Nesta", :uri => "http://effectif.com/nesta"
- xml.id atom_id
- xml.link :href => "#{base_url}/articles.xml", :rel => "self"
- xml.link :href => base_url, :rel => "alternate"
- xml.subtitle @subtitle, :type => "text"
- xml.author do
- xml.name @author["name"] if @author["name"]
- xml.uri @author["uri"] if @author["uri"]
- xml.email @author["email"] if @author["email"]
- end if @author
- @articles.each do |article|
- xml.entry do
- xml.title article.heading
- xml.link :href => url_for(article),
- :type => "text/html",
- :rel => "alternate"
- xml.id atom_id(article)
- xml.content article.body, :type => "html"
- xml.published article.date(:xmlschema)
- article.categories.each do |category|
- xml.category :term => category.permalink
- end
- end
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.