-.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 <NULL> ^bot\\\\|royale$
-remove "bot|royale" from statistics
-.PP
-The nickfile must not contain any comments.
-.PP
-The <NULL> 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>
+.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 "photofile" 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 "weeks" 10
+Display last week statistics
+.IP "" 10
+Default : no
+.IP "months" 10
+Display last months statistics
+.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 "photo_size" 10
+Specifies the size in pixels of the thumbnails for users
+.IP "" 10
+This option has an effect only if there is a photofile (see below)
+.IP "" 10
+Set to 0 to disable (display pictures with their real size)
+.IP "" 10
+Default : 60
+.IP "w3c_link" 10
+Set this to "no" if you don't want the W3C logo.
+.IP "" 10
+Default : yes
+.IP "logo" 10
+Set this to "no" if you don't want the irssistats logo.
+.IP "" 10
+Default : yes
+.IP "header" 10
+Use your custom header file (HTML code between <!DOCTYPE... and <body> included)
+.IP "footer" 10
+Use your custom footer file (HTML code between </body> and </html> 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 "photofile" 10
+This allow you to display pictures for users.
+.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 "<NULL> \(a^bot\|royale$" 10
+remove "bot|royale" from statistics
+.PP
+The nickfile must not contain any comments.
+.PP
+The <NULL> 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 "PHOTOFILE"
+.PP
+Since version 0.70 of \fBirssistats\fR, you can use a photofile to display pictures for users.
+.PP
+Each line of the photofile contains the final nick and an URL for the image.
+.PP
+Examples :
+.IP "royale http://royale.zerezo.com/chat/faces/happy40.png" 10
+(a full address)
+.IP "sektor ../chat/faces/happy40.png" 10
+(a relative address)
+.PP
+The photofile must not contain any comments.
+.PP
+You can also take a look at the "sample.photofile" 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, Sun 20 May 2007, 18:12