Sha256: c8d4edb0ae3bb496ce72e3ef0a973e61ecbe1405a8a964cb84a2cccdc06b295c

Contents?: true

Size: 640 Bytes

Versions: 101

Compression:

Stored size: 640 Bytes

Contents

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.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

Version data entries

101 entries across 80 versions & 15 rubygems

Version Path
ruby-slippers-0.1.40 test/fixtures/templates/index.builder
ruby-slippers-0.1.11 test/fixtures/templates/index.builder
ruby-slippers-0.1.7 test/fixtures/templates/index.builder
ruby-slippers-0.1.2 test/fixtures/templates/index.builder
ruby-slippers-0.1.1 test/fixtures/templates/index.builder
ruby-slippers-0.0.26 test/fixtures/templates/index.builder
ruby-slippers-0.0.25 test/fixtures/templates/index.builder
ruby-slippers-0.0.13 test/fixtures/templates/index.builder
ruby-slippers-0.0.5 test/fixtures/templates/index.builder
ruby-slippers-0.0.1 test/fixtures/templates/index.builder
toto-bongo-1.0.3 test/templates/feed.builder
toto-bongo-1.0.2 test/templates/feed.builder
toto-bongo-1.0.1 test/templates/feed.builder
toto-0.4.9 test/templates/index.builder
toto-0.4.9 test/templates/feed.builder
toto-0.4.8 test/templates/index.builder
toto-0.4.8 test/templates/feed.builder
toto-0.4.7 test/templates/feed.builder
toto-0.4.7 test/templates/index.builder
robb-toto-0.4.6.1 test/templates/feed.builder