Sha256: 15b365844050e119232411c04e272b67fe3624feb2c30d524f235e726a3ea924
Contents?: true
Size: 690 Bytes
Versions: 2
Compression:
Stored size: 690 Bytes
Contents
xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8" xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do xml.title Serious.title xml.id Serious.url xml.updated @articles.first.date.to_s unless @articles.empty? xml.author { xml.name Serious.author } @articles.each do |article| xml.entry do xml.title article.title xml.link "rel" => "alternate", "href" => article.full_url xml.id article.full_url xml.published article.date.to_s xml.updated article.date.to_s xml.author { xml.name article.author } xml.summary article.summary.formatted, "type" => "html" xml.content article.body.formatted, "type" => "html" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
serious-0.3.2 | lib/site/views/atom.builder |
serious-0.3.1 | lib/site/views/atom.builder |