X-Git-Url: http://royale.zerezo.com/git/?p=irssistats;a=blobdiff_plain;f=irssistats.1;h=62c138bafa488cce4fbaad5882688b5e198e280c;hp=21230cd25edcb0c7357e548fa2b9d423dbdbd202;hb=f1ceb8590964e5e54ebe293d580a16ec28f161e0;hpb=1002bb1c28a6fac71b2360782305e45bae0dd072 diff --git a/irssistats.1 b/irssistats.1 index 21230cd..62c138b 100644 --- a/irssistats.1 +++ b/irssistats.1 @@ -1,84 +1,195 @@ -.TH irssistats 1 23-Nov-2002 "version 0.43" irssistats - -.SH NAME -irssistats - A tool to generate HTML IRC stats based on irssi logs. - -.SH SYNOPSIS -cat /path/to/file.log | \fBirssistats\fP \fI\\#channel\fP \fImaintainer\fP \fIlanguage\fP \fItheme\fP \fI[nickfile]\fP > /path/to/webdir/index.html - -.SH DESCRIPTION -\fBirssistats\fP is a tool that make HTML stats from \fIirssi\fP logfiles. -.PP -It works like a filter (it reads data in input and produces the HTML page on the output). -.PP -The statistics generated display many useful and funny informations about the channel. - -.SH USING IT -First you need to copy the images needed for the HTML page : -.PP -.B cp /usr/share/irssistats/pix/* /path/to/webdir/ -.PP -Now you can generate the statistics for your channel : -.PP -.B cat /path/to/file.log | irssistats \\\\#channel maintainer language theme [nickfile] > /path/to/webdir/index.html -.PP -The logfiles for \fIirssi\fP are usually located in "~/irclogs/network/channel.log" - -.SH COMMAND LINE OPTIONS -All the options (except the nickfile) are mandatory and have to be set at the good place on the command line. -.PP -If you make any mistake on the command line, \fBirssistats\fP will remind you the usage. -.PP -Launching \fBirssistats\fP without any parameters is a good way to show the available options. -.PP -.TP 8 -.B \\\\#channel -Specifies the name of the channel you are parsing. Don't forget to escape the '#' character in the channel name. -.TP 8 -.B maintainer -Nickname of the person generating the statistics (you !). -.TP 8 -.B language -Language you want to use to display the statistics (example : "en" for english). -.TP 8 -.B theme -Theme (colors) to use for the statistics (example : "default" for the default theme). -.TP 8 -.B nickfile -This is the only optional argument. Specifies an alias file for nicks. See Below. - -.SH NICKFILE -Since version 0.4 of \fBirssistats\fP, you can use a nickfile to specify nicks to join. -.PP -Each line of the nickfile contains the final nick and a regular expression. -.PP -Examples : -.TP 8 -.B royale ^[Rr]oyale -join nicks starting with "Royale" or "royale" to the final nick "royale" -.TP 8 -.B royale ^antoine$ -also join the nick "antoine" to the final nick "royale" -.TP 8 -.B djakette [Dd]ja -join any nick that contains "Dja" or "dja" to final nick "djakette" -.TP 8 -.B ^bot\\\\|royale$ -remove "bot|royale" from statistics -.PP -The nickfile must not contain any comments. -.PP -The final nick will remove matching nicks from all statistics, except from "Some URLs" and "Some topics"... -.PP -You can also take a look at the "sample.nickfile.txt" in this package (in "/usr/share/doc/irssistats/"). - -.SH SEE ALSO -irssi(1) - -.SH INFORMATIONS -You can find informations and updates of \fBirssistats\fP at \fIhttp://royale.zerezo.com/programmation/irssistats/\fP. -.PP -Report bugs to \fIroyale@zerezo.com\fP. - -.SH AUTHOR -Antoine Jacquet <\fIroyale@zerezo.com\fP> +.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $ +.\" +.\" transcript compatibility for postscript use. +.\" +.\" synopsis: .P! +.\" +.de P! +.fl +\!!1 setgray +.fl +\\&.\" +.fl +\!!0 setgray +.fl \" force out current output buffer +\!!save /psv exch def currentpoint translate 0 0 moveto +\!!/showpage{}def +.fl \" prolog +.sy sed -e 's/^/!/' \\$1\" bring in postscript file +\!!psv restore +. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH "IRSSISTATS" "1" +.SH "NAME" +irssistats \(em A tool to generate HTML IRC stats based on irssi logs. +.SH "SYNOPSIS" +.PP +\fBirssistats\fR [\fB\fI/path/to/file.conf\fR\fP] +.SH "DESCRIPTION" +.PP +\fBirssistats\fR is a tool that make HTML stats from \fBirssi\fR logfiles. +.PP +The statistics generated display many useful and funny informations about the channel. +.SH "USING IT" +.PP +First you need to copy the files needed for the HTML page : +.PP +\fBcp /usr/share/irssistats/data/* /path/to/webdir/\fR +.PP +Then you must edit a configuration file : "/etc/irssistats.conf", "~/.irssistats", or another file given as a parameter. +.PP +Now you can generate the statistics for your channel : +.PP +\fBirssistats \fB\fI[/path/to/file.conf]\fR\fP\fR +.PP +The logfiles for \fBirssi\fR are usually located in "~/irclogs/network/channel.log" +.SH "CONFIGURATION FILE" +.PP +Please look at the sample configuration file in "/usr/share/docs/irssistats/sample.configfile" for an example. +.PP +The path to the configuration file can be given on the command line : \fBirssistats\fR \fI/path/to/irssistats.conf\fR +.PP +If no configuration file is given, irssistats looks for files ~/.irssistats.conf or then /etc/irssistats.conf +.PP +Lines starting by ; # -- or // are ignored (comments). +.PP +This file is read sequencially, so it acts like a script. +.PP +Each option keyword is case sensitive, and you must put separators around the ':' character. +.PP +Blank lines must not contain any spaces ! +.PP +Each option keeps its value until erased by another value. +.PP +IMPORTANT : the order of options to parse a channel must allways be "input" THEN "nickfile" THEN "output". +.PP +Available options are : +.IP "debug" 10 +Allows you to display debugging informations. +.IP "" 10 +Values : normal / verbose / none +.IP "" 10 +Default : normal +.IP "channel" 10 +Specifies the name of the channel you are parsing. +.IP "maintainer" 10 +Nickname of the person generating the statistics (you !). +.IP "language" 10 +Language you want to use to display the statistics +.IP "" 10 +Values : fr en de du es it fi ru et +.IP "" 10 +Default : en +.IP "theme" 10 +Theme (colors) to use for the statistics, separated by comas +.IP "" 10 +In fact this is the name of the CSS file to include. +.IP "" 10 +This option has no effect if you use a custom header : you'll have to include the CSS yourself. +.IP "" 10 +The first theme is the primary stylesheet, and the others are alternate themes +.IP "top_words" 10 +Allows you to disable top words list which is using a lot of memory +.IP "" 10 +Default : yes +.IP "ranking" 10 +Specifies which ranking method to use +.IP "" 10 +Values : lines / words / letters +.IP "" 10 +Default : lines +.IP "quarter" 10 +Display quarters in top hours (smoother graphs) +.IP "" 10 +Default : no +.IP "refresh_time" 10 +Specifies the refresh time in seconds (0 to disable) +.IP "" 10 +This option has no effect if you use a custom header : you'll have to include the refresh code yourself. +.IP "" 10 +Default : 3600 +.IP "w3c_link" 10 +Set this to "no" if you don't want the W3C logo. +.IP "" 10 +Default : yes +.IP "header" 10 +Use your custom header file (HTML code between included) +.IP "footer" 10 +Use your custom footer file (HTML code between and included) +.IP "input" 10 +This allow you to parse a file. +.IP "" 10 +Note that irssistats will really parse the file as soon as it reads this option. +.IP "nickfile" 10 +This allow you to group nick using a nickfile. +.IP "" 10 +Note that irssistats will really merge the nicks as soon as it reads this option. +.IP "output" 10 +This allow you to generate the HTML file. +.IP "" 10 +Note that irssistats will really generate the HTML file as soon as it reads this option. +.SH "NICKFILE" +.PP +Since version 0.4 of \fBirssistats\fR, you can use a nickfile to specify nicks to join. +.PP +Each line of the nickfile contains the final nick and a regular expression. +.PP +Examples : +.IP "royale \(a^[Rr]oyale" 10 +join nicks starting with "Royale" or "royale" to the final nick "royale" +.IP "royale \(a^antoine$" 10 +also join the nick "antoine" to the final nick "royale" +.IP "djakette [Dd]ja" 10 +join any nick that contains "Dja" or "dja" to final nick "djakette" +.IP " \(a^bot\|royale$" 10 +remove "bot|royale" from statistics +.PP +The nickfile must not contain any comments. +.PP +The final nick will remove matching nicks from all statistics, except from "Some URLs" and "Some topics"... +.PP +You can also take a look at the "sample.nickfile" in this package (in "/usr/share/doc/irssistats/"). +.SH "SEE ALSO" +.PP +\fBirssi\fR (1). +.SH "INFORMATIONS" +.PP +You can find informations and updates of \fBirssistats\fR at \fIhttp://royale.zerezo.com/irssistats/ (link to URL http://royale.zerezo.com/irssistats/) \fR. +.PP +Report bugs to royale@zerezo.com. +.SH "AUTHOR" +.PP +Antoine Jacquet royale@zerezo.com +.\" created by instant / docbook-to-man, Mon 03 May 2004, 21:30