Plugins - Google Sitemaps

StarAdd to favorites

Given a RESTful controller this will generate a Google sitemap for you.

script/generate sitemap [controller] [frequency]

example:

script/generate sitemap photos daily

Will generate a photos/sitemap.rxml template which renders a sitemap amongst other things. Be sure to check out the generated controllers since they hold the routes you need to add to config/routes.rb

Strictly speaking a RESTful controller is not necessary as long as the controller name is pluralized etc. You’re better of going with the REST.

For more information about Google Sitemap have a look at:

http://www.google.com/support/webmasters/bin/topic.py?topic=8467

TODO:

  • output compression for large maps
  • create multiple sitemaps in 1 go (script/generate sitemap photos movies mp3s)

Rodney Ramdas

http://www.pinupgeek.com/2006/11/14/google-sitemaps-rails-plugin

http://svn.devjavu.com/sitemapgenerator

Rails' (MIT)

  • Currently 2.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Controllers

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?