Sha256: fb6a986500d7c671f852a4e25e62156bfa916dd8267016deaf6bc3e9b643b033
Contents?: true
Size: 639 Bytes
Versions: 3
Compression:
Stored size: 639 Bytes
Contents
atom_feed( :url => articles_url(:format => 'atom'), :root_url => root_url, :schema_date => '2008' ) do |feed| feed.title Hubbub::Config[:title] + ' - Articles Tagged ' + @tag.slug feed.updated @articles.empty? ? Time.now.utc : @articles.collect(&:updated_at).max feed.generator "Hubbub", "uri" => "http://github.com/rapodaca/hubbub" @articles.each do |article| feed.entry(article, :url => article_permalink_url(article), :published => article.created_at, :updated => article.updated_at) do |entry| entry.title article.title entry.content article.body_html, :type => 'html' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hubbub-0.0.11 | lib/app/views/tags/show.atom.builder |
hubbub-0.0.10 | lib/app/views/tags/show.atom.builder |
hubbub-0.0.9 | lib/app/views/tags/show.atom.builder |