Sha256: 039d2d5cd74df0ae246fdf6cf19bb7f5b14844f730c6acbd4d30569b2de3a47a
Contents?: true
Size: 662 Bytes
Versions: 1
Compression:
Stored size: 662 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title @blog.name xml.description @blog.description xml.link blog_url(@blog.slug) for article in @articles xml.item do xml.title article.title xml.description article.excerpt || article.body xml.pubDate article.created_at.to_s(:rfc822) unless article.featured_image.blank? xml.image (article.featured_image.url) end xml.link blog_article_url(:blog_id => @blog.slug, :id => article.slug) xml.guid blog_article_url(:blog_id => @blog.slug, :id => article.slug) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gluttonberg-blog-1.0.0 | app/views/gluttonberg/public/blog/blogs/show.rss.builder |