Crawlable
Super DRY Sitemaps for Rails and Sinatra Apps (works on Heroku!)
Usage
Install
sudo gem install crawlable
Setup (config/sitemap.rb)
Sitemap do |sitemap|
sitemap.add posts_path, :priority => 1, :changes => 'daily'
Post.all.each do |post|
sitemap.add posts_path(post), :last_modified => post.updated_at
end
end
Features
- Works on Heroku