Sha256: 03cfe4a2ec6de7e284e60d43912502b1bce072d8cabd4b4b2b23e76d27e0a2e3

Contents?: true

Size: 860 Bytes

Versions: 4

Compression:

Stored size: 860 Bytes

Contents

---
#
# 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
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<% @pages.find(:in_directory => "/", :recursive => true) do |p|
      next if p.created_at.nil?
      next unless p['index'] || p['index'].nil?  -%>
  <url>
    <loc><%= SITE.site_root %><%= p.url %></loc>
    <lastmod><%= p.mtime.xmlschema %></lastmod>
<% if p['changefreq'] || SITE.changefreq -%>
    <changefreq><%= p['changefreq'] || SITE.changefreq %></changefreq>
<% end -%>
<% if p['priority'] || SITE.priority -%>
    <priority><%= p['priority'] || SITE.priority %></priority>
<% end -%>
  </url>
<% end -%>
</urlset>

Version data entries

4 entries across 4 versions & 4 rubygems

Version Path
TwP-webby-0.9.4.1 examples/webby/content/sitemap.txt
dysinger-webby-0.9.4 examples/webby/content/sitemap.txt
mikker-webby-0.9.4 examples/webby/content/sitemap.txt
webby-0.9.4 examples/webby/content/sitemap.txt