Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed feed.builder to index.builder. We gain more flexibility this way

  • Loading branch information...
commit c77cd2f742ede0bdc06f50c3885e45d1f498f357 1 parent fe33086
cloudhead authored
Showing with 0 additions and 21 deletions.
  1. +0 −21 templates/feed.builder
View
21 templates/feed.builder
@@ -1,21 +0,0 @@
-xml.instruct!
-xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
- xml.title @config[:title]
- xml.id @config[:url]
- xml.updated articles.first[:date].iso8601 unless articles.empty?
- xml.author { xml.name @config[:author] }
-
- articles.reverse[0...10].each do |article|
- xml.entry do
- xml.title article.title
- xml.link "rel" => "alternate", "href" => article.url
- xml.id article.url
- xml.published article[:date].iso8601
- xml.updated article[:date].iso8601
- xml.author { xml.name @config[:author] }
- xml.summary article.summary, "type" => "html"
- xml.content article.body, "type" => "html"
- end
- end
-end
-
Please sign in to comment.
Something went wrong with that request. Please try again.