Sha256: 69b4f93bf1f198e2756df8ba9a2d09c83d2dca6030c0e7e4222de7361220025b

Contents?: true

Size: 527 Bytes

Versions: 27

Compression:

Stored size: 527 Bytes

Contents

xml.instruct! :xml, :version=>"1.0" 
xml.rss(:version=>"2.0") do
  xml.channel do
    xml.title("#{Settings.site_name} - #{page_title}")
    xml.link(url_for {} )
    xml.language('en-gb')
      for article in @articles
        xml.item do
          xml.title(article.title)
          xml.category(article.tag_list)
          xml.description(article.description)
          xml.pubDate(article.published_at.rfc822)
          xml.link(article_url(article))
          xml.guid(article_url(article))
        end
      end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
beef-articles-0.3.0 app/views/articles/index.rss.builder
beef-articles-0.3.1 app/views/articles/index.rss.builder
beef-articles-0.3.10 app/views/articles/index.rss.builder
beef-articles-0.3.11 app/views/articles/index.rss.builder
beef-articles-0.3.12 app/views/articles/index.rss.builder
beef-articles-0.3.13 app/views/articles/index.rss.builder
beef-articles-0.3.14 app/views/articles/index.rss.builder
beef-articles-0.3.15 app/views/articles/index.rss.builder
beef-articles-0.3.16 app/views/articles/index.rss.builder
beef-articles-0.3.18 app/views/articles/index.rss.builder
beef-articles-0.3.2 app/views/articles/index.rss.builder
beef-articles-0.3.21 app/views/articles/index.rss.builder
beef-articles-0.3.25 app/views/articles/index.rss.builder
beef-articles-0.3.27 app/views/articles/index.rss.builder
beef-articles-0.3.28 app/views/articles/index.rss.builder
beef-articles-0.3.29 app/views/articles/index.rss.builder
beef-articles-0.3.3 app/views/articles/index.rss.builder
beef-articles-0.3.30 app/views/articles/index.rss.builder
beef-articles-0.3.32 app/views/articles/index.rss.builder
beef-articles-0.3.33 app/views/articles/index.rss.builder