Sha256: 663c543c91e0f3ec1724e66f27453fd033b84eee9cbc8beb5e0afd2ddda902a8

Contents?: true

Size: 449 Bytes

Versions: 9

Compression:

Stored size: 449 Bytes

Contents

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

    for page in @pages
      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

9 entries across 9 versions & 1 rubygems

Version Path
clwiki-2.4.0 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.3.2 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.3.0 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.2.0 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.1.8 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.1.7 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.1.6 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.0.1 app/views/cl_wiki/page/recent.rss.builder
clwiki-2.0.0 app/views/cl_wiki/page/recent.rss.builder