README.rdoc in sitemap-0.1b vs README.rdoc in sitemap-0.1b2
- old
+ new
@@ -4,17 +4,25 @@
== Usage
Create a sitemap.rb file in your config directory. Paths can be indexed as follows:
- Sitemap.instance.render :host => "mywebsite.com" do
+ Sitemap::Generator.instance.load :host => "mywebsite.com" do
path :root, :priority => 1
path :faq, :priority => 0.5, :change_frequency => "weekly"
- resources :activities, :format => "html"
+ resources :activities, :params => { :format => "html" }
resources :articles, :objects => proc { Article.published }
end
Please read the docs for a more comprehensive list of options.
+
+Building the sitemap:
+
+ rake sitemap:generate
+
+Ping search engines:
+
+ rake sitemap:ping
== License
This package is licensed under the MIT license and/or the Creative
Commons Attribution-ShareAlike.
\ No newline at end of file