Sha256: 6e5ca8da5db5d04073e592daa0cd7db4789125a6eacea860b94fbd504993e946
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title "Your Blog Title" xml.description "A blog about software and chocolate" xml.link chive.articles_url for article in @articles xml.item do xml.title article.title xml.description article.summary xml.pubDate article.published_at.to_s(:rfc822) xml.link chive.article_url(article) xml.guid chive.article_url(article) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chive-0.0.3 | app/views/chive/articles/feed.rss.builder |
chive-0.0.2 | app/views/chive/articles/feed.rss.builder |
chive-0.0.1 | app/views/chive/articles/feed.rss.builder |