Sha256: c643b8d53476039f3fe641b2ed476d0f99dcb7905ff6985c2e190b2009167f1b

Contents?: true

Size: 472 Bytes

Versions: 21

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

xml.instruct! :xml, version: '1.0'
xml.rss version: '2.0' do
  xml.channel do
    xml.title 'clWiki'
    xml.description 'clWiki'
    xml.link root_url

    @pages.each do |page|
      xml.item do
        xml.title page.name
        xml.description page.content
        xml.pubDate page.mtime.to_s(:rfc822)
        xml.link page_show_url(page_name: page.name)
        xml.guid page_show_url(page_name: page.name)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
clwiki-3.3.2 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.3.0 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.2.6 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.2.5 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.2.4 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.2.3 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.2.2 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.2.1 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.2.0 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.1.6 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.1.5 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.1.4 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.1.3 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.1.2 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.1.1 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.1.0 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.0.4 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.0.3 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.0.2 app/views/cl_wiki/page/recent.rss.builder
clwiki-3.0.1 app/views/cl_wiki/page/recent.rss.builder