Sha256: 4c79b2ea20926bfc4e623af18eaf069e7060773fb279df78dc9f212b7a9d3274

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

xml.instruct! :xml, :version => '1.0', :encoding => 'UTF-8'

# create the urlset
xml.sitemapindex :xmlns => 'http://www.sitemaps.org/schemas/sitemap/0.9' do
  @sitemap_urls.each do |map|
    xml.sitemap do
      xml.loc eval(map.to_s + " :format => :xml")
      xml.lastmod Time.now.utc
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spud_core-0.5.5 app/views/spud/sitemaps/show.xml.builder
spud_core-0.5.2 app/views/spud/sitemaps/show.xml.builder
spud_core-0.5.1 app/views/spud/sitemaps/show.xml.builder
spud_core-0.5.0 app/views/spud/sitemaps/show.xml.builder
spud_core-0.4.0 app/views/spud/sitemaps/show.xml.builder
spud_admin-0.2.0 app/views/spud/sitemaps/show.xml.builder