lib/nanoc3/helpers/xml_sitemap.rb in nanoc3-3.2.0b1 vs lib/nanoc3/helpers/xml_sitemap.rb in nanoc3-3.2.0b2

- old
+ new

@@ -51,10 +51,10 @@ raise RuntimeError.new("The Nanoc3::Helpers::XMLSitemap helper requires the site configuration to specify the base URL for the site.") end # Build sitemap xml.instruct! - xml.urlset(:xmlns => 'http://www.google.com/schemas/sitemap/0.84') do + xml.urlset(:xmlns => 'http://www.sitemaps.org/schemas/sitemap/0.9') do # Add item items.each do |item| item.reps.reject { |r| r.raw_path.nil? }.each do |rep| xml.url do xml.loc @site.config[:base_url] + rep.path