README.rdoc in alexrabarts-big_sitemap-0.4.0 vs README.rdoc in alexrabarts-big_sitemap-0.5.0
- old
+ new
@@ -69,16 +69,17 @@
To ping search engines, call <code>ping_search_engines</code> after you generate the sitemap:
sitemap.generate
sitemap.ping_search_engines
-=== Change Frequency and Priority
+=== Change Frequency, Priority and Last Modified
-You can control "changefreq" and "priority" values for each record individually by passing lambdas instead of fixed values:
+You can control "changefreq", "priority" and "lastmod" values for each record individually by passing lambdas instead of fixed values:
sitemap.add(Posts,
:change_frequency => lambda {|post| ... },
- :priority => lambda {|post| ... }
+ :priority => lambda {|post| ... },
+ :last_modified => lambda {|post| ... }
)
=== Find Methods
Your models must provide either a <code>find_for_sitemap</code> or <code>all</code> class method that returns the instances that are to be included in the sitemap.