Sha256: b6fa2cc66567126c64f8219d6d15cb38fa61d15886d5392f6a4cba59e1d9ab51

Contents?: true

Size: 302 Bytes

Versions: 7

Compression:

Stored size: 302 Bytes

Contents

xml.instruct!
xml.sitemapindex :xmlns => "http://www.sitemaps.org/schemas/sitemap/0.9" do

  fragments.each_with_index do |fragment, i|
    xml.sitemap do
      xml.loc file_url("sitemaps/sitemap-fragment-#{i + 1}.xml")
      xml.lastmod Time.now.strftime("%Y-%m-%dT%H:%M:%S+00:00")
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sitemap-0.3.3 lib/views/index.xml.builder
sitemap-0.3.2 lib/views/index.xml.builder
sitemap-0.3.1 lib/views/index.xml.builder
sitemap-0.3 lib/views/index.xml.builder
sitemap-0.2 lib/views/index.xml.builder
sitemap-0.2b2 lib/views/index.xml.builder
sitemap-0.2b lib/views/index.xml.builder