Sha256: e6f16aebd83e7f71bacc19930a04945478045c81936ca80325ed8a2a5fa34c6f

Contents?: true

Size: 567 Bytes

Versions: 11

Compression:

Stored size: 567 Bytes

Contents

xml.instruct!
xml.urlset "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance", 
  "xsi:schemaLocation" => "http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd", 
  "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do

  links.each do |link|
    xml.url do
      xml.loc        link[:loc]
      xml.lastmod    w3c_date(link[:lastmod]) if link[:lastmod]
      xml.changefreq link[:changefreq]        if link[:changefreq]
      xml.priority   link[:priority]          if link[:priority]
    end 
  end

end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
sitemap_generator-0.2.5 templates/xml_sitemap.builder
sitemap_generator-0.2.4 templates/xml_sitemap.builder
sitemap_generator-0.2.3 templates/xml_sitemap.builder
moneypools-sitemap_generator-0.2.3 templates/xml_sitemap.builder
moneypools-sitemap_generator-0.2.2 templates/xml_sitemap.builder
sitemap_generator-0.2.2 templates/xml_sitemap.builder
sitemap_generator-0.2.1 templates/xml_sitemap.builder
sitemap_generator-0.2.0 templates/xml_sitemap.builder
sitemap_generator-0.1.1 templates/xml_sitemap.builder
moneypools-sitemap_generator-0.1.0 templates/xml_sitemap.builder
sitemap_generator-0.1.0 templates/xml_sitemap.builder