The old 'sitemeter' plugin has been changed to Sitealizer v.1.1 Web
Stats plugin for Rails. Please update your bookmarks to point to
http://sitealizer.rubyforge.org

This change includes:
- [FIX] General bug fixes
- [NEW] Added 3 new rake tasks that allows you to update the plugin,
uninstall it and upgrade from the old 'sitemeter'
- [NEW] Added a link to whois under Hosts so you can see the host's location


-- Installation --

On your Rails' root directory, just type
 script/plugin install http://opensvn.csie.org/sitealizer

and add the following line to your config/routes.rb:
 map.connect '/sitealizer/:action', :controller => 'sitealizer'


-- Upgrading from SiteMeter --

If you had previously installed 'sitemeter' you need to run the
following command for both production and development env after
installing Sitealizer, otherwise your stats will not be imported:

 rake sitealizer:remove_sitemeter

You also need to change:
 * include SiteMeter TO Include Sitealizer
 * before_filter :use_site_meter TO before_filter :use_sitealizer
 * map.connect '/sitemeter/:action', :controller => 'sitemeter' TO
map.connect '/sitealizer/:action', :controller => 'sitealizer'


-- Usage --

To track the visitors on your entire application, just edit your
ApplicationController(application.rb):

 class ApplicationController < ActionController::Base
   include Sitealizer
   before_filter :use_sitealizer
 end

Or to track specific controllers:

 class ApplicationController < ActionController::Base
   include Sitealizer
 end

 class MyController < ApplicationController
   before_filter :use_sitealizer
 end


-- Viewing the stats --

To view your stats just add "/sitealizer" to your main url:
 http://www.example.com/sitealizer


More info => http://sitealizer.rubyforge.org

--
Thiago Jackiw
acts_as_solr => http://acts-as-solr.rubyforge.org
Sitealizer Web Stats => http://sitealizer.rubyforge.org
_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to