Sha256: 59eef1b99a636b78938e0cc9608a0ffbe30152b592a196e41eb9fc61919edbbc

Contents?: true

Size: 570 Bytes

Versions: 9

Compression:

Stored size: 570 Bytes

Contents

xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
  xml.channel do
    xml.title "#{Settings.site.name} #{@document.permalink.upcase}"
    xml.description @document.summary.blank? ? @document.summary : Settings.site.description
    xml.link document_url(@document) + '.rss'

    for document in @document.children.with_state(:published)
      xml.item do
        xml.title document.title
        xml.description document.summary
        xml.pubDate document.published_at.to_s(:rfc822)
        xml.link document_url(document)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
qcms-2.1.0 app/views/pages/feed.rss.builder
qcms-2.0.0 app/views/pages/feed.rss.builder
qcms-1.3.10 app/views/pages/feed.rss.builder
qcms-1.3.9 app/views/pages/feed.rss.builder
qcms-1.3.8 app/views/pages/feed.rss.builder
qcms-1.3.7 app/views/pages/feed.rss.builder
qcms-1.3.6 app/views/pages/feed.rss.builder
qcms-1.3.5 app/views/pages/feed.rss.builder
qcms-1.3.3 app/views/pages/feed.rss.builder