📄 readme
字号:
= Sitealizer Web Stats plugin for Rails This plugin lets you track visitors, referrers, robots, search terms and more. And it shouldn鈥檛 influence your site鈥檚 performance because it only saves the basic visitor information (after every 10(default) visits) in a threaded process and all the data processing is done when viewing the stats.== AuthorThiago Jackiw:: tjackiw at gmail dot com== Current ReleaseThe current stable release is v1.1 released on 03-20-2007. == License InfoPlease refer to the LICENSE[link:files/LICENSE.html]== InstallationOn your Rails' root directory, just type script/plugin install http://opensvn.csie.org/sitealizerand add the following line to your config/routes.rb: map.connect '/sitealizer/:action', :controller => 'sitealizer'== Upgrading from SiteMeterIf you had previously installed 'sitemeter' you need to run the following command after installing Sitealizer, otherwise your stats <b>will not be imported</b>: rake sitealizer:remove_sitemeterYou 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'== ConfigurationThere are four configuration options that can be changed under sitealizer/lib/config.yml:<em>access_type</em>:: Accepts <em>private</em> or <em>public</em> as the value. <em>Private</em>: you have to enter the username and password below in order to view the stats. <em>Public</em>: Anyone can view your site's stats<em>username</em>:: This username will be used to log in to your Sitealizer<em>password</em>:: This password will be used to log in to your Sitealizer<em>queue_size</em>:: The number of visitors in the queue before saving the stats to the DB. Default is 10. Minimum size shouldn't be under 5== UsageTo track the visitors on your entire application, just edit your ApplicationController(application.rb): class ApplicationController < ActionController::Base include Sitealizer before_filter :use_sitealizer endOr to track specific controllers: class ApplicationController < ActionController::Base include Sitealizer end class MyController < ApplicationController before_filter :use_sitealizer end== Viewing the statsTo view your stats just add "/sitealizer" to your main url: http://www.example.com/sitealizer== Using Sitealizer?I鈥檇 like to include your site on the list below. Please send me an email (tjackiw at gmail dot com) with your site鈥檚 url.* www.californiabusinesslist.com* www.nottr.com* www.bacotp.com== Getting helpYou can always send me an email (tjackiw at gmail dot com) if you have any questions.== Bugs/PatchesPlease report the bugs you find by opening tickets here[https://opensvn.csie.org/traccgi/sitealizer/newticket]== Special Thanks to:* RubyForge (www.rubyforge.org)== Other plugins by the Author:* acts_as_solr (http://acts-as-solr.rubyforge.org)== Release InformationReleased under the MIT license.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -