--- # # Define the following in your Sitefile or some # other location which will be accessed by tasks/setup.rb # # SITE.site_root = "http://webby.rubyforge.org" # extension: xml layout: nil index: false dirty: true filter: - erb --- <% @pages.find(:in_directory => "/", :recursive => true) do |p| next if p.created_at.nil? next unless p['index'] || p['index'].nil? -%> <%= SITE.site_root %><%= p.url %> <%= p.mtime.xmlschema %> <% if p['changefreq'] || SITE.changefreq -%> <%= p['changefreq'] || SITE.changefreq %> <% end -%> <% if p['priority'] || SITE.priority -%> <%= p['priority'] || SITE.priority %> <% end -%> <% end -%>