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