Sha256: ef9afe9cad173ad0dea566d3d02c3be1916e0bc8b617d0347b2dac3452ca7099

Contents?: true

Size: 537 Bytes

Versions: 4

Compression:

Stored size: 537 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
    xml.link 'https://castwide.com'

    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

4 entries across 4 versions & 1 rubygems

Version Path
chive-0.2.3 app/views/chive/feed/index.rss.builder
chive-0.2.2 app/views/chive/feed/index.rss.builder
chive-0.2.1 app/views/chive/feed/index.rss.builder
chive-0.2.0 app/views/chive/feed/index.rss.builder