pisg-doc.sgml 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050
  1. <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
  2. <book id="pisg-documentation">
  3. <bookinfo>
  4. <date>2002-01-23</date>
  5. <title>pisg documentation</title>
  6. <subtitle>How to install and configure pisg</subtitle>
  7. </bookinfo>
  8. <toc></toc>
  9. <!-- <lot></lot> -->
  10. <chapter id="what-is-pisg">
  11. <title>What is pisg?</title>
  12. <para>
  13. pisg is an IRC statistics generator. It takes IRC logfiles and turns
  14. them into nice looking stats.
  15. </para>
  16. <para>
  17. In general, you would do something like this to get it running:
  18. <itemizedlist mark="bullet">
  19. <listitem>
  20. <para>
  21. Enable logging in an IRC bot, or in your IRC client. The log will be
  22. outputted into a file.
  23. </para>
  24. </listitem>
  25. <listitem>
  26. <para>
  27. You set up pisg, you define the channel name, and the path to the
  28. logfile you created.
  29. </para>
  30. </listitem>
  31. <listitem>
  32. <para>
  33. You run pisg, pisg runs the log through and create statistics, it
  34. then creates a HTML page which you can upload to a server.
  35. </para>
  36. </listitem>
  37. </itemizedlist>
  38. </para>
  39. <sect1 id="requirements">
  40. <title>What are the requirements to run pisg?</title>
  41. <para>
  42. <itemizedlist mark="bullet">
  43. <listitem>
  44. <para>
  45. An IRC client or bot where pisg supports the output logfile.
  46. </para>
  47. </listitem>
  48. <listitem>
  49. <para>
  50. Any operating system which Perl runs at, this includes popular OS'es
  51. such as Linux, FreeBSD, Windows and Mac. You will have a hard time
  52. finding an OS where Perl isn't supported.
  53. </para>
  54. </listitem>
  55. <listitem>
  56. <para>
  57. <emphasis>Optional</emphasis> - a system to host the statistics page
  58. 24 hours a day, 7 days a week.
  59. </para>
  60. </listitem>
  61. <listitem>
  62. <para>
  63. <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
  64. a day, 7 days a week.
  65. </para>
  66. </listitem>
  67. </itemizedlist>
  68. </chapter>
  69. <chapter id="setting-up-pisg">
  70. <title>Setting up pisg for the first time</title>
  71. <para>
  72. Most configuration happens through the <filename>pisg.cfg</filename>
  73. file, the file format is made to be easy to read, and easy to extend for
  74. further use. It uses an XML-like format, with elements and attributes.
  75. </para>
  76. <sect1 id="setting-up-a-channel">
  77. <title>Setting up a channel</title>
  78. <para>
  79. An element called <command>channel</command> is made for defining
  80. channels, a quick example of a channel is this:
  81. <programlisting>
  82. <![CDATA[
  83. <channel="#channel" logfile="channel.log">
  84. format = "mIRC"
  85. maintainer = "John"
  86. </channel>
  87. ]]>
  88. </programlisting>
  89. The above will define a channel called <command>#channel</command>, the
  90. logfile pisg will look for is called <command>channel.log</command> and
  91. the format of the logfile will be <command>mIRC</command>. The
  92. maintainer (which will be stated on the output page) is
  93. <command>John</command>.
  94. </para>
  95. <para>
  96. That is basically it! Now, there is a lot more options you can use for
  97. your channels, for this please refer to the reference documentation.
  98. </para>
  99. </sect1>
  100. <sect1 id="user-options">
  101. <title>Specifying user options</title>
  102. <para>
  103. User options are set with a simple XML-like syntax in the form:
  104. <programlisting>
  105. <![CDATA[<user nick="NICK" option="VALUE">]]>
  106. </programlisting>
  107. Remember, the nick is always required.
  108. For example to add aliases to a nick, then you could do this:
  109. <programlisting>
  110. <![CDATA[<user nick="Joe" alias="Joe^*">]]>
  111. </programlisting>
  112. The asterix (*) means that it will match all nicks starting with 'Joe^'. So
  113. it will add all Joe^'s to 'Joe' in the stats.
  114. Another thing you can do is to add a picture to a user:
  115. <programlisting>
  116. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
  117. </programlisting>
  118. If you have a larger picture of the user as well, you can make the picture
  119. on the stats page link to it:
  120. <programlisting>
  121. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
  122. </programlisting>
  123. You can also set a user's sex:
  124. <programlisting>
  125. <![CDATA[<user nick="Ben" sex="m">]]>
  126. </programlisting>
  127. Also you can add links to URLs and e-mails:
  128. <programlisting>
  129. <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
  130. </programlisting>
  131. or
  132. <programlisting>
  133. <![CDATA[<user nick="Chris" link="chris@host.com">]]>
  134. </programlisting>
  135. The last thing you can do is to ignore nicks (for example bots):
  136. <programlisting>
  137. <![CDATA[<user nick="nameofbot" ignore="y">]]>
  138. </programlisting>
  139. You don't have to do all this in many lines, you could just as easily do:
  140. <programlisting>
  141. <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
  142. </programlisting>
  143. (Here the aliases is a space separated list of nicks, that also works! But *
  144. as a wildcard is smarter, but also slower).
  145. </para>
  146. </sect1>
  147. <sect1 id="global-options">
  148. <title>Setting global options</title>
  149. <para>
  150. Many times, it will be useful to set up global options, global options
  151. are set like this:
  152. <programlisting>
  153. <![CDATA[<set option="VALUE">]]>
  154. </programlisting>
  155. Any global option will override anything defined with in channel
  156. elements (see <xref linkend="setting-up-a-channel">)
  157. </para>
  158. <para>
  159. For example, to change the background color of the stats page, you
  160. could do:
  161. <programlisting>
  162. <![CDATA[<set bgcolor="black">]]>
  163. </programlisting>
  164. You can set many options in a single <command>set</command>:
  165. <programlisting>
  166. <![CDATA[<set lang="DE" timeoffset="+1">]]>
  167. </programlisting>
  168. The above will set the language on the statistics page to DE (Deutch,
  169. German) and set the timeoffset to +1.
  170. All options available are mentioned in the reference documentation.
  171. </sect1>
  172. <sect1 id="ignoring-links">
  173. <title>Ignoring links</title>
  174. <para>
  175. It's possible to ignore links in the "Most referenced URLs" section:
  176. <programlisting>
  177. <![CDATA[
  178. <link url="http://www.slashdot.org" ignore="y">
  179. ]]>
  180. </programlisting>
  181. </para>
  182. </sect1>
  183. </chapter>
  184. <chapter id="reference">
  185. <title>Reference for configuration options</title>
  186. <!-- *** CHANNEL *** -->
  187. <refentry id="channel">
  188. <refmeta> <refentrytitle>channel</refentrytitle> </refmeta>
  189. <refnamediv>
  190. <refname>channel</refname>
  191. <refpurpose>define channel name</refpurpose>
  192. </refnamediv>
  193. <refsynopsisdiv><programlisting>
  194. <![CDATA[
  195. <channel="#channel" logfile="channel.log">
  196. format = "mIRC"
  197. maintainer = "John"
  198. </channel>
  199. <set channel="#channelname">
  200. ]]>
  201. </programlisting></refsynopsisdiv>
  202. <refsect1>
  203. <title>Description</title>
  204. <para>
  205. <command>channel</command> is used in two contexts, globally when using
  206. &lt;set&gt; and when defining new channels. It sets the name of the
  207. channel.
  208. </para>
  209. </refsect1>
  210. <refsect1>
  211. <title>Default</title>
  212. <para> Unset </para>
  213. </refsect1>
  214. </refentry>
  215. <!-- *** LOGSUFFIX *** -->
  216. <refentry id="logsuffix">
  217. <refmeta> <refentrytitle>logsuffix</refentrytitle> </refmeta>
  218. <refnamediv>
  219. <refname>logsuffix</refname>
  220. <refpurpose>Regex to sort logfiles by format month|day|year</refpurpose>
  221. </refnamediv>
  222. <refsynopsisdiv><programlisting>
  223. <![CDATA[
  224. <set logsuffix="\.\d\d([A-Za-z]+)\d\d\d\d||\.(\d\d)[A-Za-z]+\d\d\d\d||\.\d\d[A-Za-z]+(\d\d\d\d)">
  225. ]]>
  226. </programlisting></refsynopsisdiv>
  227. <refsect1>
  228. <title>Description</title>
  229. <para>
  230. <command>logsuffix</command> is used to define the suffix of a logfile,
  231. it only works when <command>logdir</command> is defined. The example in
  232. the synopsis is for the eggdrop bots default foramt.
  233. </para>
  234. </refsect1>
  235. <refsect1>
  236. <title>Default</title>
  237. <para> Unset </para>
  238. </refsect1>
  239. </refentry>
  240. <!-- *** FORMAT *** -->
  241. <refentry id="format">
  242. <refmeta> <refentrytitle>format</refentrytitle> </refmeta>
  243. <refnamediv>
  244. <refname>format</refname>
  245. <refpurpose>the logfile format</refpurpose>
  246. </refnamediv>
  247. <refsynopsisdiv><programlisting>
  248. <![CDATA[
  249. <channel="#channel" logfile="channel.log">
  250. format = "eggdrop"
  251. maintainer = "John"
  252. </channel>
  253. <set format="mIRC">
  254. ]]>
  255. </programlisting></refsynopsisdiv>
  256. <refsect1>
  257. <title>Description</title>
  258. <para>
  259. <command>format</command> is used to define the format of the logfile,
  260. pisg supports a various number of different logfiles, see the FORMATS
  261. file included with the pisg distribution.
  262. </para>
  263. </refsect1>
  264. <refsect1>
  265. <title>Default</title>
  266. <para> mIRC </para>
  267. </refsect1>
  268. </refentry>
  269. <!-- *** NETWORK *** -->
  270. <refentry id="network">
  271. <refmeta> <refentrytitle>network</refentrytitle> </refmeta>
  272. <refnamediv>
  273. <refname>network</refname>
  274. <refpurpose>the IRC network of the channel</refpurpose>
  275. </refnamediv>
  276. <refsynopsisdiv><programlisting>
  277. <![CDATA[
  278. <channel="#channel" logfile="channel.log">
  279. format = "eggdrop"
  280. network = "Undernet"
  281. </channel>
  282. <set network="Quakenet">
  283. ]]>
  284. </programlisting></refsynopsisdiv>
  285. <refsect1>
  286. <title>Description</title>
  287. <para>
  288. <command>network</command> is used to set the network which the channel
  289. resides on, this name is displayed on the stats page.
  290. </para>
  291. </refsect1>
  292. <refsect1>
  293. <title>Default</title>
  294. <para> SomeIRCNetwork </para>
  295. </refsect1>
  296. </refentry>
  297. <!-- *** NETWORK *** -->
  298. <refentry id="outputfile">
  299. <refmeta> <refentrytitle>outputfile</refentrytitle> </refmeta>
  300. <refnamediv>
  301. <refname>outputfile</refname>
  302. <refpurpose>name of the generated HTML page</refpurpose>
  303. </refnamediv>
  304. <refsynopsisdiv><programlisting>
  305. <![CDATA[
  306. <channel="#channel" logfile="channel.log">
  307. format = "eggdrop"
  308. outputfile = "mychan.html"
  309. </channel>
  310. <set outputfile="mychan.html">
  311. ]]>
  312. </programlisting></refsynopsisdiv>
  313. <refsect1>
  314. <title>Description</title>
  315. <para>
  316. <command>outputfile</command> is used to define the name of the
  317. generated statistics page.
  318. </para>
  319. </refsect1>
  320. <refsect1>
  321. <title>Default</title>
  322. <para> index.html </para>
  323. </refsect1>
  324. </refentry>
  325. <!-- *** MAINTAINER *** -->
  326. <refentry id="maintainer">
  327. <refmeta> <refentrytitle>maintainer</refentrytitle> </refmeta>
  328. <refnamediv>
  329. <refname>maintainer</refname>
  330. <refpurpose>name of the maintainer</refpurpose>
  331. </refnamediv>
  332. <refsynopsisdiv><programlisting>
  333. <![CDATA[
  334. <channel="#channel" logfile="channel.log">
  335. format = "mIRC"
  336. maintainer = "Benny"
  337. </channel>
  338. <set maintainer="Benny">
  339. ]]>
  340. </programlisting></refsynopsisdiv>
  341. <refsect1>
  342. <title>Description</title>
  343. <para>
  344. <command>maintainer</command> is used to define the name of the
  345. maintaner of the statistics page, this can be either the person
  346. generating the stats or the bot/client doing the logging.
  347. The maintainer is displayed in the outputted stats page.
  348. </para>
  349. </refsect1>
  350. <refsect1>
  351. <title>Default</title>
  352. <para> MAINTAINER </para>
  353. </refsect1>
  354. </refentry>
  355. <!-- *** LANG *** -->
  356. <refentry id="lang">
  357. <refmeta> <refentrytitle>lang</refentrytitle> </refmeta>
  358. <refnamediv>
  359. <refname>lang</refname>
  360. <refpurpose>define the language / translation to use</refpurpose>
  361. </refnamediv>
  362. <refsynopsisdiv><programlisting>
  363. <![CDATA[
  364. <channel="#channel" logfile="channel.log">
  365. format = "mIRC"
  366. lang = "DE"
  367. </channel>
  368. <set lang="FR">
  369. ]]>
  370. </programlisting></refsynopsisdiv>
  371. <refsect1>
  372. <title>Description</title>
  373. <para>
  374. <command>lang</command> is used to define the language translation to
  375. use, if the language support is there, the text on the stats page will
  376. be outputted in that language. All supported languages is mentioned in
  377. the lang.txt file with the pisg distribution. Some of the languages
  378. supported is: EN | DE | DK | FR | ES | PL | PT | NO | NL | SE | EE | IT
  379. | HU | SI | FI
  380. </para>
  381. </refsect1>
  382. <refsect1>
  383. <title>Default</title>
  384. <para> EN (English) </para>
  385. </refsect1>
  386. </refentry>
  387. <!-- *** PAGEHEAD *** -->
  388. <refentry id="pagehead">
  389. <refmeta> <refentrytitle>pagehead</refentrytitle> </refmeta>
  390. <refnamediv>
  391. <refname>pagehead</refname>
  392. <refpurpose>define a file as page header</refpurpose>
  393. </refnamediv>
  394. <refsynopsisdiv><programlisting>
  395. <![CDATA[
  396. <channel="#channel" logfile="channel.log">
  397. format = "mIRC"
  398. outputfile = "stats.html"
  399. pagehead = "myheader.txt"
  400. </channel>
  401. <set pagehead="someheader.txt">
  402. ]]>
  403. </programlisting></refsynopsisdiv>
  404. <refsect1>
  405. <title>Description</title>
  406. <para>
  407. <command>pagehead</command> is used to include a file in the stats page,
  408. for example an introduction text, a link to an image or a banner. The
  409. file can hold anything, it will be included raw in the stats page -
  410. so HTML should be preferred. The file will be included in the top of
  411. the page. This option is the opposite of <command>pagefoot</command>.
  412. </para>
  413. </refsect1>
  414. <refsect1>
  415. <title>Default</title>
  416. <para> none </para>
  417. </refsect1>
  418. </refentry>
  419. <!-- *** PAGEFOOT *** -->
  420. <refentry id="pagefoot">
  421. <refmeta> <refentrytitle>pagefoot</refentrytitle> </refmeta>
  422. <refnamediv>
  423. <refname>pagefoot</refname>
  424. <refpurpose>define a file as page footer</refpurpose>
  425. </refnamediv>
  426. <refsynopsisdiv><programlisting>
  427. <![CDATA[
  428. <channel="#channel" logfile="channel.log">
  429. format = "mIRC"
  430. outputfile = "stats.html"
  431. pagefoot = "myfooter.txt"
  432. </channel>
  433. <set pagefoot="somefooter.txt">
  434. ]]>
  435. </programlisting></refsynopsisdiv>
  436. <refsect1>
  437. <title>Description</title>
  438. <para>
  439. <command>pagefoot</command> is used to include a file in the stats page,
  440. for example an introduction text, a link to an image or a banner. The
  441. file can hold anything, it will be included raw in the stats page -
  442. so HTML should be preferred. The file will be included in the bottom of
  443. the page. This option is the opposite of <command>pagehead</command>.
  444. </para>
  445. </refsect1>
  446. <refsect1>
  447. <title>Default</title>
  448. <para> none </para>
  449. </refsect1>
  450. </refentry>
  451. <!-- *** IMAGEPATH *** -->
  452. <refentry id="imagepath">
  453. <refmeta> <refentrytitle>imagepath</refentrytitle> </refmeta>
  454. <refnamediv>
  455. <refname>imagepath</refname>
  456. <refpurpose>path to user pictures</refpurpose>
  457. </refnamediv>
  458. <refsynopsisdiv><programlisting>
  459. <![CDATA[
  460. <channel="#channel" logfile="channel.log">
  461. format = "mIRC"
  462. imagepath = "userpics/"
  463. </channel>
  464. <set imagepath="alt_users/">
  465. ]]>
  466. </programlisting></refsynopsisdiv>
  467. <refsect1>
  468. <title>Description</title>
  469. <para>
  470. <command>imagepath</command> defines an alternative path to where user
  471. pictures is located. The default is that user pictures is located in the
  472. same directory as the HTML page.
  473. </para>
  474. </refsect1>
  475. <refsect1>
  476. <title>Default</title>
  477. <para> current directory </para>
  478. </refsect1>
  479. </refentry>
  480. <!-- *** DEFAULT_PIC *** -->
  481. <refentry id="defaultpic">
  482. <refmeta> <refentrytitle>default_pic</refentrytitle> </refmeta>
  483. <refnamediv>
  484. <refname>default_pic</refname>
  485. <refpurpose>use a default user picture</refpurpose>
  486. </refnamediv>
  487. <refsynopsisdiv><programlisting>
  488. <![CDATA[
  489. <channel="#channel" logfile="channel.log">
  490. format = "mIRC"
  491. default_pic = "not_available.jpg"
  492. </channel>
  493. <set default_pic="unknown.gif">
  494. ]]>
  495. </programlisting></refsynopsisdiv>
  496. <refsect1>
  497. <title>Description</title>
  498. <para>
  499. <command>default_pic</command> defines a picture to be displayed for all
  500. users which have no other picture defined in the <command>user</command>
  501. element. This is good for showing "No picture available" or something.
  502. </para>
  503. </refsect1>
  504. <refsect1>
  505. <title>Default</title>
  506. <para> unset </para>
  507. </refsect1>
  508. </refentry>
  509. <!-- *** LOGDIR *** -->
  510. <refentry id="logdir">
  511. <refmeta> <refentrytitle>logdir</refentrytitle> </refmeta>
  512. <refnamediv>
  513. <refname>logdir</refname>
  514. <refpurpose>parse a directory full of logs</refpurpose>
  515. </refnamediv>
  516. <refsynopsisdiv><programlisting>
  517. <![CDATA[
  518. <channel="#channel" logdir="/home/foo/eggdrop/logs/">
  519. format = "eggdrop"
  520. </channel>
  521. <set logdir="dailylogs/">
  522. ]]>
  523. </programlisting></refsynopsisdiv>
  524. <refsect1>
  525. <title>Description</title>
  526. <para>
  527. When <command>logdir</command> is defined to valid path to a directory,
  528. then pisg will run through that directory, parse all logfiles in it and
  529. create 1 HTML from it. Useful with for example eggdrop logs.
  530. </para>
  531. </refsect1>
  532. <refsect1>
  533. <title>Default</title>
  534. <para> unset </para>
  535. </refsect1>
  536. </refentry>
  537. <!-- *** PREFIX *** -->
  538. <refentry id="prefix">
  539. <refmeta> <refentrytitle>prefix</refentrytitle> </refmeta>
  540. <refnamediv>
  541. <refname>prefix</refname>
  542. <refpurpose>only parse logs prefixed with a userdefined string</refpurpose>
  543. </refnamediv>
  544. <refsynopsisdiv><programlisting>
  545. <![CDATA[
  546. <channel="#channel" logdir="/home/foo/eggdrop/logs/">
  547. format = "eggdrop"
  548. prefix = "logjun"
  549. </channel>
  550. <set prefix="logjanuary">
  551. ]]>
  552. </programlisting></refsynopsisdiv>
  553. <refsect1>
  554. <title>Description</title>
  555. <para>
  556. When using the <command>logdir</command> option and you only want to use
  557. a slew of the files in it, you can have pisg choose only files which are
  558. prefixed with a special string.
  559. </para>
  560. </refsect1>
  561. <refsect1>
  562. <title>Default</title>
  563. <para> unset </para>
  564. </refsect1>
  565. </refentry>
  566. <!-- *** TIMEOFFSET *** -->
  567. <refentry id="timeoffset">
  568. <refmeta> <refentrytitle>timeoffset</refentrytitle> </refmeta>
  569. <refnamediv>
  570. <refname>timeoffset</refname>
  571. <refpurpose>use a different time zone than the local machine</refpurpose>
  572. </refnamediv>
  573. <refsynopsisdiv><programlisting>
  574. <![CDATA[
  575. <channel="#channel" logfile="channel.log">
  576. format = "mIRC"
  577. maintainer = "John"
  578. timeoffset = "+5"
  579. </channel>
  580. <set timeoffset="+2">
  581. ]]>
  582. </programlisting></refsynopsisdiv>
  583. <refsect1>
  584. <title>Description</title>
  585. <para>
  586. By default, pisg uses the time of the local machine to display the time
  587. of the generated stats. Sometimes when you have a shell on an external
  588. box, and it's in another country, you want to use another time. This is
  589. accomplished by the <command>timeoffset</command> command.
  590. </para>
  591. </refsect1>
  592. <refsect1>
  593. <title>Default</title>
  594. <para> +0 </para>
  595. </refsect1>
  596. </refentry>
  597. <!-- *** SHOW_ACTIVETIMES *** -->
  598. <refentry id="showactivetimes">
  599. <refmeta> <refentrytitle>show_activetimes</refentrytitle> </refmeta>
  600. <refnamediv>
  601. <refname>show_activetimes</refname>
  602. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  603. </refnamediv>
  604. <refsynopsisdiv><programlisting>
  605. <![CDATA[
  606. <channel="#channel" logfile="channel.log">
  607. format = "xchat"
  608. show_activetimes = "0"
  609. </channel>
  610. <set show_activetimes="1">
  611. ]]>
  612. </programlisting></refsynopsisdiv>
  613. <refsect1>
  614. <title>Description</title>
  615. <para>
  616. With this option you can disable the "Most Active Times" section on the
  617. stats page. It will simply disappear when specifying 0.
  618. </para>
  619. </refsect1>
  620. <refsect1>
  621. <title>Default</title>
  622. <para> 1 (enabled) </para>
  623. </refsect1>
  624. </refentry>
  625. <!-- *** SHOW_BIGNUMBERS *** -->
  626. <refentry id="showbignumbers">
  627. <refmeta> <refentrytitle>show_bignumbers</refentrytitle> </refmeta>
  628. <refnamediv>
  629. <refname>show_bignumbers</refname>
  630. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  631. </refnamediv>
  632. <refsynopsisdiv><programlisting>
  633. <![CDATA[
  634. <channel="#channel" logfile="channel.log">
  635. format = "xchat"
  636. show_bignumbers = "0"
  637. </channel>
  638. <set show_bignumbers="1">
  639. ]]>
  640. </programlisting></refsynopsisdiv>
  641. <refsect1>
  642. <title>Description</title>
  643. <para>
  644. With this option you can disable the "Big Numbers" and "Other
  645. Interesting numbers" sections on the stats page. They will simply
  646. disappear when specifying 0.
  647. </para>
  648. </refsect1>
  649. <refsect1>
  650. <title>Default</title>
  651. <para> 1 (enabled) </para>
  652. </refsect1>
  653. </refentry>
  654. <!-- *** SHOW_TOPICS *** -->
  655. <refentry id="showtopics">
  656. <refmeta> <refentrytitle>show_topics</refentrytitle> </refmeta>
  657. <refnamediv>
  658. <refname>show_topics</refname>
  659. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  660. </refnamediv>
  661. <refsynopsisdiv><programlisting>
  662. <![CDATA[
  663. <channel="#channel" logfile="channel.log">
  664. format = "xchat"
  665. show_topics = "0"
  666. </channel>
  667. <set show_topics="1">
  668. ]]>
  669. </programlisting></refsynopsisdiv>
  670. <refsect1>
  671. <title>Description</title>
  672. <para>
  673. With this option you can disable the "Latest topics" section on the
  674. stats page. It will simply disappear when specifying 0.
  675. </para>
  676. </refsect1>
  677. <refsect1>
  678. <title>Default</title>
  679. <para> 1 (enabled) </para>
  680. </refsect1>
  681. </refentry>
  682. <!-- *** SHOW_WPL *** -->
  683. <refentry id="showwpl">
  684. <refmeta> <refentrytitle>show_wpl</refentrytitle> </refmeta>
  685. <refnamediv>
  686. <refname>show_wpl</refname>
  687. <refpurpose>enable/disable "words per line"</refpurpose>
  688. </refnamediv>
  689. <refsynopsisdiv><programlisting>
  690. <![CDATA[
  691. <channel="#channel" logfile="channel.log">
  692. format = "xchat"
  693. show_wpl = "0"
  694. </channel>
  695. <set show_wpl="1">
  696. ]]>
  697. </programlisting></refsynopsisdiv>
  698. <refsect1>
  699. <title>Description</title>
  700. <para>
  701. With this option you can enable the "words per line" coloumn in the
  702. "Most Active Nicks" section. It will add a column describing the average
  703. words per line for a person.
  704. </para>
  705. </refsect1>
  706. <refsect1>
  707. <title>Default</title>
  708. <para> 0 (disabled) </para>
  709. </refsect1>
  710. </refentry>
  711. <!-- *** SHOW_CPL *** -->
  712. <refentry id="showcpl">
  713. <refmeta> <refentrytitle>show_cpl</refentrytitle> </refmeta>
  714. <refnamediv>
  715. <refname>show_cpl</refname>
  716. <refpurpose>enable/disable "characters per line"</refpurpose>
  717. </refnamediv>
  718. <refsynopsisdiv><programlisting>
  719. <![CDATA[
  720. <channel="#channel" logfile="channel.log">
  721. format = "xchat"
  722. show_cpl = "0"
  723. </channel>
  724. <set show_cpl="1">
  725. ]]>
  726. </programlisting></refsynopsisdiv>
  727. <refsect1>
  728. <title>Description</title>
  729. <para>
  730. With this option you can enable the "characters per line" coloumn in the
  731. "Most Active Nicks" section. It will add a column describing the average
  732. number of characters per line for a person.
  733. </para>
  734. </refsect1>
  735. <refsect1>
  736. <title>Default</title>
  737. <para> 0 (disabled) </para>
  738. </refsect1>
  739. </refentry>
  740. <!-- *** SHOW_WORDS *** -->
  741. <refentry id="showwords">
  742. <refmeta> <refentrytitle>show_words</refentrytitle> </refmeta>
  743. <refnamediv>
  744. <refname>show_words</refname>
  745. <refpurpose>enable/disable "number of words"</refpurpose>
  746. </refnamediv>
  747. <refsynopsisdiv><programlisting>
  748. <![CDATA[
  749. <channel="#channel" logfile="channel.log">
  750. format = "xchat"
  751. show_words = "0"
  752. </channel>
  753. <set show_words="1">
  754. ]]>
  755. </programlisting></refsynopsisdiv>
  756. <refsect1>
  757. <title>Description</title>
  758. <para>
  759. The <command>show_words</command> option adds a column to the "Most
  760. Active Nicks" list which list the total number of words a user has
  761. typed.
  762. </para>
  763. </refsect1>
  764. <refsect1>
  765. <title>Default</title>
  766. <para> 0 (disabled) </para>
  767. </refsect1>
  768. </refentry>
  769. <!-- *** SHOW_LASTSEEN *** -->
  770. <refentry id="showlastseen">
  771. <refmeta> <refentrytitle>show_lastseen</refentrytitle> </refmeta>
  772. <refnamediv>
  773. <refname>show_lastseen</refname>
  774. <refpurpose>show when a user was last seen on a channel</refpurpose>
  775. </refnamediv>
  776. <refsynopsisdiv><programlisting>
  777. <![CDATA[
  778. <channel="#channel" logfile="channel.log">
  779. format = "xchat"
  780. show_lastseen = "0"
  781. </channel>
  782. <set show_lastseen="1">
  783. ]]>
  784. </programlisting></refsynopsisdiv>
  785. <refsect1>
  786. <title>Description</title>
  787. <para>
  788. With this option enabled, a column will be added to the "Most Active
  789. Nicks" section to display when a user was last seen. Eg. "2 days ago".
  790. </para>
  791. </refsect1>
  792. <refsect1>
  793. <title>Default</title>
  794. <para> 0 (disabled) </para>
  795. </refsect1>
  796. </refentry>
  797. <!-- *** SHOW_TIME *** -->
  798. <refentry id="showtime">
  799. <refmeta> <refentrytitle>show_time</refentrytitle> </refmeta>
  800. <refnamediv>
  801. <refname>show_time</refname>
  802. <refpurpose>show when a nick was active</refpurpose>
  803. </refnamediv>
  804. <refsynopsisdiv><programlisting>
  805. <![CDATA[
  806. <channel="#channel" logfile="channel.log">
  807. format = "xchat"
  808. show_time = "0"
  809. </channel>
  810. <set show_time="1">
  811. ]]>
  812. </programlisting></refsynopsisdiv>
  813. <refsect1>
  814. <title>Description</title>
  815. <para>
  816. The default behaviour is to add a column to the "Most Active Nicks"
  817. section displaying a fancy timebar to show when a user was active. With
  818. this option it can be disabled.
  819. </para>
  820. </refsect1>
  821. <refsect1>
  822. <title>Default</title>
  823. <para> 1 (enabled) </para>
  824. </refsect1>
  825. </refentry>
  826. <!-- *** SHOW_LINETIME *** -->
  827. <refentry id="showlinetime">
  828. <refmeta> <refentrytitle>show_linetime</refentrytitle> </refmeta>
  829. <refnamediv>
  830. <refname>show_linetime</refname>
  831. <refpurpose>mIRCStats like behaviour of timebar</refpurpose>
  832. </refnamediv>
  833. <refsynopsisdiv><programlisting>
  834. <![CDATA[
  835. <channel="#channel" logfile="channel.log">
  836. format = "bobot"
  837. show_linetime = "0"
  838. </channel>
  839. <set show_linetime="1">
  840. ]]>
  841. </programlisting></refsynopsisdiv>
  842. <refsect1>
  843. <title>Description</title>
  844. <para>
  845. The default behaviour is to add a column to the "Most Active Nicks"
  846. section displaying a fancy linetimebar to show when a user was active.
  847. With this option it can be done the same way as mIRCStats does it; that
  848. is, by putting that timebar next to the number of lines, in the same
  849. column.
  850. </para>
  851. </refsect1>
  852. <refsect1>
  853. <title>Default</title>
  854. <para> 0 (disabled) </para>
  855. </refsect1>
  856. </refentry>
  857. <!-- *** SHOW_RANDQUOTE *** -->
  858. <refentry id="showrandquote">
  859. <refmeta> <refentrytitle>show_randquote</refentrytitle> </refmeta>
  860. <refnamediv>
  861. <refname>show_randquote</refname>
  862. <refpurpose>enable or disable the random quotes</refpurpose>
  863. </refnamediv>
  864. <refsynopsisdiv><programlisting>
  865. <![CDATA[
  866. <channel="#channel" logfile="channel.log">
  867. format = "bobot"
  868. show_randquote = "0"
  869. </channel>
  870. <set show_randquote="1">
  871. ]]>
  872. </programlisting></refsynopsisdiv>
  873. <refsect1>
  874. <title>Description</title>
  875. <para>
  876. The default behaviour is to add a column to the "Most Active Nicks"
  877. section displaying a users random quote. With this option it can be
  878. disabled.
  879. </para>
  880. </refsect1>
  881. <refsect1>
  882. <title>Default</title>
  883. <para> 1 (enabled) </para>
  884. </refsect1>
  885. </refentry>
  886. <!-- *** SHOW_LEGEND *** -->
  887. <refentry id="showlegend">
  888. <refmeta> <refentrytitle>show_legend</refentrytitle> </refmeta>
  889. <refnamediv>
  890. <refname>show_legend</refname>
  891. <refpurpose>enable or disable the legend of the timebars</refpurpose>
  892. </refnamediv>
  893. <refsynopsisdiv><programlisting>
  894. <![CDATA[
  895. <channel="#channel" logfile="channel.log">
  896. format = "bobot"
  897. show_legend = "0"
  898. </channel>
  899. <set show_legend="1">
  900. ]]>
  901. </programlisting></refsynopsisdiv>
  902. <refsect1>
  903. <title>Description</title>
  904. <para>
  905. By default, pisg shows a legend below the "Most Active Times" displaying
  906. what the different colors means. With this option it can be disabled.
  907. </para>
  908. </refsect1>
  909. <refsect1>
  910. <title>Default</title>
  911. <para> 1 (enabled) </para>
  912. </refsect1>
  913. </refentry>
  914. <!-- *** SHOW_KICKLINE *** -->
  915. <refentry id="showkickline">
  916. <refmeta> <refentrytitle>show_kickline</refentrytitle> </refmeta>
  917. <refnamediv>
  918. <refname>show_kickline</refname>
  919. <refpurpose>enable or disable the kickline</refpurpose>
  920. </refnamediv>
  921. <refsynopsisdiv><programlisting>
  922. <![CDATA[
  923. <channel="#channel" logfile="channel.log">
  924. format = "bobot"
  925. show_kickline = "0"
  926. </channel>
  927. <set show_kickline="1">
  928. ]]>
  929. </programlisting></refsynopsisdiv>
  930. <refsect1>
  931. <title>Description</title>
  932. <para>
  933. By default, pisg shows an example kickline in the "Most kicked"-stats.
  934. With this option it can be disabled.
  935. </para>
  936. </refsect1>
  937. <refsect1>
  938. <title>Default</title>
  939. <para> 1 (enabled) </para>
  940. </refsect1>
  941. </refentry>
  942. <!-- *** SHOW_ACTIONLINE *** -->
  943. <refentry id="showactionline">
  944. <refmeta> <refentrytitle>show_actionline</refentrytitle> </refmeta>
  945. <refnamediv>
  946. <refname>show_actionline</refname>
  947. <refpurpose>enable or disable the actionline</refpurpose>
  948. </refnamediv>
  949. <refsynopsisdiv><programlisting>
  950. <![CDATA[
  951. <channel="#channel" logfile="channel.log">
  952. format = "bobot"
  953. show_actionline = "0"
  954. </channel>
  955. <set show_actionline="1">
  956. ]]>
  957. </programlisting></refsynopsisdiv>
  958. <refsect1>
  959. <title>Description</title>
  960. <para>
  961. By default, pisg shows an example actionline in the "Most actions"-stats.
  962. With this option it can be disabled.
  963. </para>
  964. </refsect1>
  965. <refsect1>
  966. <title>Default</title>
  967. <para> 1 (enabled) </para>
  968. </refsect1>
  969. </refentry>
  970. <!-- *** SHOW_SHOUTLINE *** -->
  971. <refentry id="showshoutline">
  972. <refmeta> <refentrytitle>show_shoutline</refentrytitle> </refmeta>
  973. <refnamediv>
  974. <refname>show_shoutline</refname>
  975. <refpurpose>enable or disable the shoutline</refpurpose>
  976. </refnamediv>
  977. <refsynopsisdiv><programlisting>
  978. <![CDATA[
  979. <channel="#channel" logfile="channel.log">
  980. format = "bobot"
  981. show_shoutline = "0"
  982. </channel>
  983. <set show_shoutline="1">
  984. ]]>
  985. </programlisting></refsynopsisdiv>
  986. <refsect1>
  987. <title>Description</title>
  988. <para>
  989. By default, pisg shows an example shoutline in the "Most shouting
  990. people"-stats. With this option it can be disabled.
  991. </para>
  992. </refsect1>
  993. <refsect1>
  994. <title>Default</title>
  995. <para> 1 (enabled) </para>
  996. </refsect1>
  997. </refentry>
  998. <!-- *** SHOW_VIOLENTLINES *** -->
  999. <refentry id="showviolentlines">
  1000. <refmeta> <refentrytitle>show_violentlines</refentrytitle> </refmeta>
  1001. <refnamediv>
  1002. <refname>show_violentlines</refname>
  1003. <refpurpose>enable or disable the violentlines</refpurpose>
  1004. </refnamediv>
  1005. <refsynopsisdiv><programlisting>
  1006. <![CDATA[
  1007. <channel="#channel" logfile="channel.log">
  1008. format = "bobot"
  1009. show_violentlines = "0"
  1010. </channel>
  1011. <set show_violentlines="1">
  1012. ]]>
  1013. </programlisting></refsynopsisdiv>
  1014. <refsect1>
  1015. <title>Description</title>
  1016. <para>
  1017. By default, pisg shows example violentlines in the "Most aggresive"
  1018. and "Most attacked"-stats. With this option it can be disabled.
  1019. </para>
  1020. </refsect1>
  1021. <refsect1>
  1022. <title>Default</title>
  1023. <para> 1 (enabled) </para>
  1024. </refsect1>
  1025. </refentry>
  1026. <!-- *** SHOW_MUW *** -->
  1027. <refentry id="showmuw">
  1028. <refmeta> <refentrytitle>show_muw</refentrytitle> </refmeta>
  1029. <refnamediv>
  1030. <refname>show_muw</refname>
  1031. <refpurpose>enable or disable "Most used words"</refpurpose>
  1032. </refnamediv>
  1033. <refsynopsisdiv><programlisting>
  1034. <![CDATA[
  1035. <channel="#channel" logfile="channel.log">
  1036. format = "xchat"
  1037. show_muw = "0"
  1038. </channel>
  1039. <set show_muw="1">
  1040. ]]>
  1041. </programlisting></refsynopsisdiv>
  1042. <refsect1>
  1043. <title>Description</title>
  1044. <para>
  1045. By default, pisg adds an "Most used words" section to the stats page.
  1046. With this option you can disable it from being shown.
  1047. </para>
  1048. </refsect1>
  1049. <refsect1>
  1050. <title>Default</title>
  1051. <para> 1 (enabled) </para>
  1052. </refsect1>
  1053. </refentry>
  1054. <!-- *** SHOW_MRN *** -->
  1055. <refentry id="showmrn">
  1056. <refmeta> <refentrytitle>show_mrn</refentrytitle> </refmeta>
  1057. <refnamediv>
  1058. <refname>show_mrn</refname>
  1059. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1060. </refnamediv>
  1061. <refsynopsisdiv><programlisting>
  1062. <![CDATA[
  1063. <channel="#channel" logfile="channel.log">
  1064. format = "xchat"
  1065. show_mrn = "0"
  1066. </channel>
  1067. <set show_mrn="1">
  1068. ]]>
  1069. </programlisting></refsynopsisdiv>
  1070. <refsect1>
  1071. <title>Description</title>
  1072. <para>
  1073. By default, pisg adds an "Most referenced nicks" section to the stats
  1074. page. With this option you can disable it from being shown.
  1075. </para>
  1076. </refsect1>
  1077. <refsect1>
  1078. <title>Default</title>
  1079. <para> 1 (enabled) </para>
  1080. </refsect1>
  1081. </refentry>
  1082. <!-- *** SHOW_MRU *** -->
  1083. <refentry id="showmru">
  1084. <refmeta> <refentrytitle>show_mru</refentrytitle> </refmeta>
  1085. <refnamediv>
  1086. <refname>show_mru</refname>
  1087. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1088. </refnamediv>
  1089. <refsynopsisdiv><programlisting>
  1090. <![CDATA[
  1091. <channel="#channel" logfile="channel.log">
  1092. format = "xchat"
  1093. show_mru = "0"
  1094. </channel>
  1095. <set show_mru="1">
  1096. ]]>
  1097. </programlisting></refsynopsisdiv>
  1098. <refsect1>
  1099. <title>Description</title>
  1100. <para>
  1101. By default, pisg adds an "Most referenced URLs" section to the stats
  1102. page. With this option you can disable it from being shown.
  1103. </para>
  1104. </refsect1>
  1105. <refsect1>
  1106. <title>Default</title>
  1107. <para> 1 (enabled) </para>
  1108. </refsect1>
  1109. </refentry>
  1110. <!-- *** SHOW_VOICES *** -->
  1111. <refentry id="showvoices">
  1112. <refmeta> <refentrytitle>show_voices</refentrytitle> </refmeta>
  1113. <refnamediv>
  1114. <refname>show_voices</refname>
  1115. <refpurpose>enable or disable voice statistics</refpurpose>
  1116. </refnamediv>
  1117. <refsynopsisdiv><programlisting>
  1118. <![CDATA[
  1119. <channel="#channel" logfile="channel.log">
  1120. format = "xchat"
  1121. show_voices = "0"
  1122. </channel>
  1123. <set show_voices="1">
  1124. ]]>
  1125. </programlisting></refsynopsisdiv>
  1126. <refsect1>
  1127. <title>Description</title>
  1128. <para>
  1129. By default, pisg doesn't have voice statistics like it has op
  1130. statistics. Enabling this option will add a section to the "Most
  1131. interesting numbers" displaying who got most voices.
  1132. </para>
  1133. </refsect1>
  1134. <refsect1>
  1135. <title>Default</title>
  1136. <para> 0 (disabled) </para>
  1137. </refsect1>
  1138. </refentry>
  1139. <!-- *** SHOW_MOSTNICKS *** -->
  1140. <refentry id="showmostnicks">
  1141. <refmeta> <refentrytitle>show_mostnicks</refentrytitle> </refmeta>
  1142. <refnamediv>
  1143. <refname>show_mostnicks</refname>
  1144. <refpurpose>show who changed nick most often</refpurpose>
  1145. </refnamediv>
  1146. <refsynopsisdiv><programlisting>
  1147. <![CDATA[
  1148. <channel="#channel" logfile="channel.log">
  1149. format = "xchat"
  1150. show_mostnicks = "0"
  1151. </channel>
  1152. <set show_mostnicks="1">
  1153. ]]>
  1154. </programlisting></refsynopsisdiv>
  1155. <refsect1>
  1156. <title>Description</title>
  1157. <para>
  1158. By enabling this option, pisg will add a section to the stats showing
  1159. who had the most nicks, and what the nicks were. This option only works
  1160. properly when <command>nicktracking</command> is enabled.
  1161. </para>
  1162. </refsect1>
  1163. <refsect1>
  1164. <title>Default</title>
  1165. <para> 0 (disabled) </para>
  1166. </refsect1>
  1167. </refentry>
  1168. <!-- *** IGNOREWORDS *** -->
  1169. <refentry id="ignorewords">
  1170. <refmeta> <refentrytitle>ignorewords</refentrytitle> </refmeta>
  1171. <refnamediv>
  1172. <refname>ignorewords</refname>
  1173. <refpurpose>ignore specified words</refpurpose>
  1174. </refnamediv>
  1175. <refsynopsisdiv><programlisting>
  1176. <![CDATA[
  1177. <channel="#channel" logfile="channel.log">
  1178. format = "xchat"
  1179. ignorewords = "foo bar"
  1180. </channel>
  1181. <set ignorewords="you me">
  1182. ]]>
  1183. </programlisting></refsynopsisdiv>
  1184. <refsect1>
  1185. <title>Description</title>
  1186. <para>
  1187. Sometimes words in the "most used words" appears which you don't want to
  1188. see, with this option you can ignore these words. It also applies to the
  1189. "most referenced nicks" section. It's a space seperated list of words.
  1190. </para>
  1191. </refsect1>
  1192. <refsect1>
  1193. <title>Default</title>
  1194. <para> unset </para>
  1195. </refsect1>
  1196. </refentry>
  1197. <!-- *** FOUL *** -->
  1198. <refentry id="foul">
  1199. <refmeta> <refentrytitle>foul</refentrytitle> </refmeta>
  1200. <refnamediv>
  1201. <refname>foul</refname>
  1202. <refpurpose>specify words considered to be bad/foul language</refpurpose>
  1203. </refnamediv>
  1204. <refsynopsisdiv><programlisting>
  1205. <![CDATA[
  1206. <channel="#channel" logfile="channel.log">
  1207. format = "xchat"
  1208. foul = "ass bitch"
  1209. </channel>
  1210. <set foul="slaps beats kick">
  1211. ]]>
  1212. </programlisting></refsynopsisdiv>
  1213. <refsect1>
  1214. <title>Description</title>
  1215. <para>
  1216. There is a section in the "Most interesting numbers" which tells who had
  1217. a "dirty mouth" - here you can define which words are considered being
  1218. bad/foul. It is a space seperated list of words.
  1219. </para>
  1220. </refsect1>
  1221. <refsect1>
  1222. <title>Default</title>
  1223. <para> ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe </para>
  1224. </refsect1>
  1225. </refentry>
  1226. <!-- *** REGEXP_ALIASES *** -->
  1227. <refentry id="regexpaliases">
  1228. <refmeta> <refentrytitle>regexp_aliases</refentrytitle> </refmeta>
  1229. <refnamediv>
  1230. <refname>regexp_aliases</refname>
  1231. <refpurpose>use regular expressions in user aliases</refpurpose>
  1232. </refnamediv>
  1233. <refsynopsisdiv><programlisting>
  1234. <![CDATA[
  1235. <user nick="Joe" alias="Joe\d+">
  1236. <set regexp_aliases="1">
  1237. ]]>
  1238. </programlisting></refsynopsisdiv>
  1239. <refsect1>
  1240. <title>Description</title>
  1241. <para>
  1242. Enabling this option will make all aliases in &lt;user&gt; lines be
  1243. parsed as regular expressions.
  1244. </para>
  1245. </refsect1>
  1246. <refsect1>
  1247. <title>Default</title>
  1248. <para> 0 (disabled) </para>
  1249. </refsect1>
  1250. </refentry>
  1251. <!-- *** SILENT *** -->
  1252. <refentry id="silent">
  1253. <refmeta> <refentrytitle>silent</refentrytitle> </refmeta>
  1254. <refnamediv>
  1255. <refname>silent</refname>
  1256. <refpurpose>make pisg silent, suppress messages</refpurpose>
  1257. </refnamediv>
  1258. <refsynopsisdiv><programlisting>
  1259. <![CDATA[
  1260. <set silent="1">
  1261. ]]>
  1262. </programlisting></refsynopsisdiv>
  1263. <refsect1>
  1264. <title>Description</title>
  1265. <para>
  1266. This option is useful mainly from commandline when invoking pisg with
  1267. <command>--silent 1</command>. But it can also used in the configuration
  1268. file. It will suppress all standard output from pisg. Error messages
  1269. will still be sent.
  1270. </para>
  1271. </refsect1>
  1272. <refsect1>
  1273. <title>Default</title>
  1274. <para> 0 (disabled) </para>
  1275. </refsect1>
  1276. </refentry>
  1277. <!-- *** CHARSET *** -->
  1278. <refentry id="charset">
  1279. <refmeta> <refentrytitle>charset</refentrytitle> </refmeta>
  1280. <refnamediv>
  1281. <refname>charset</refname>
  1282. <refpurpose>charset to use for stats page</refpurpose>
  1283. </refnamediv>
  1284. <refsynopsisdiv><programlisting>
  1285. <![CDATA[
  1286. <channel="#channel" logfile="channel.log">
  1287. format = "xchat"
  1288. charset = "utf-8"
  1289. </channel>
  1290. <set charset="iso-8859-15">
  1291. ]]>
  1292. </programlisting></refsynopsisdiv>
  1293. <refsect1>
  1294. <title>Description</title>
  1295. <para>
  1296. The pisg stats page defines a charset in a meta tag, this can be used if
  1297. your country is using a different one than the default.
  1298. </para>
  1299. </refsect1>
  1300. <refsect1>
  1301. <title>Default</title>
  1302. <para> iso-8859-1 </para>
  1303. </refsect1>
  1304. </refentry>
  1305. <!-- *** USE_ACTIVETIME_ALT *** -->
  1306. <refentry id="useactivetimealt">
  1307. <refmeta> <refentrytitle>use_activetime_alt</refentrytitle> </refmeta>
  1308. <refnamediv>
  1309. <refname>use_activetime_alt</refname>
  1310. <refpurpose>alternative highlighting for "Most Active Times"</refpurpose>
  1311. </refnamediv>
  1312. <refsynopsisdiv><programlisting>
  1313. <![CDATA[
  1314. <channel="#channel" logfile="channel.log">
  1315. format = "xchat"
  1316. use_activetime_alt = "1"
  1317. </channel>
  1318. <set use_activetime_alt="0">
  1319. ]]>
  1320. </programlisting></refsynopsisdiv>
  1321. <refsect1>
  1322. <title>Description</title>
  1323. <para>
  1324. Use an alternative way to highlight the number under the time bars, if
  1325. set to 1, will highlight the hour in which the stats were generated
  1326. instead of the default where the most active hour is highlighted.
  1327. </para>
  1328. </refsect1>
  1329. <refsect1>
  1330. <title>Default</title>
  1331. <para> 0 (disabled) </para>
  1332. </refsect1>
  1333. </refentry>
  1334. <!-- *** MINQUOTE *** -->
  1335. <refentry id="minquote">
  1336. <refmeta> <refentrytitle>minquote</refentrytitle> </refmeta>
  1337. <refnamediv>
  1338. <refname>minquote</refname>
  1339. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  1340. </refnamediv>
  1341. <refsynopsisdiv><programlisting>
  1342. <![CDATA[
  1343. <channel="#channel" logfile="channel.log">
  1344. format = "xchat"
  1345. minquote = "10"
  1346. </channel>
  1347. <set minquote="5">
  1348. ]]>
  1349. </programlisting></refsynopsisdiv>
  1350. <refsect1>
  1351. <title>Description</title>
  1352. <para>
  1353. The random quotes displayed in the "Most Active Nicks" section has a
  1354. certain range specified. With this option you can change the minimum
  1355. number of letters required for a random quote. Also see the
  1356. <command>maxquote</command> option.
  1357. </para>
  1358. </refsect1>
  1359. <refsect1>
  1360. <title>Default</title>
  1361. <para> 25 </para>
  1362. </refsect1>
  1363. </refentry>
  1364. <!-- *** MAXQUOTE *** -->
  1365. <refentry id="maxquote">
  1366. <refmeta> <refentrytitle>maxquote</refentrytitle> </refmeta>
  1367. <refnamediv>
  1368. <refname>maxquote</refname>
  1369. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  1370. </refnamediv>
  1371. <refsynopsisdiv><programlisting>
  1372. <![CDATA[
  1373. <channel="#channel" logfile="channel.log">
  1374. format = "xchat"
  1375. maxquote = "70"
  1376. </channel>
  1377. <set maxquote="100">
  1378. ]]>
  1379. </programlisting></refsynopsisdiv>
  1380. <refsect1>
  1381. <title>Description</title>
  1382. <para>
  1383. The random quotes displayed in the "Most Active Nicks" section has a
  1384. certain range specified. With this option you can change the maximum
  1385. number of letters required for a random quote. Also see the
  1386. <command>minquote</command> option.
  1387. </para>
  1388. </refsect1>
  1389. <refsect1>
  1390. <title>Default</title>
  1391. <para> 65 </para>
  1392. </refsect1>
  1393. </refentry>
  1394. <!-- *** WORDLENGTH *** -->
  1395. <refentry id="wordlength">
  1396. <refmeta> <refentrytitle>wordlength</refentrytitle> </refmeta>
  1397. <refnamediv>
  1398. <refname>wordlength</refname>
  1399. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  1400. </refnamediv>
  1401. <refsynopsisdiv><programlisting>
  1402. <![CDATA[
  1403. <channel="#channel" logfile="channel.log">
  1404. format = "xchat"
  1405. wordlength = "10"
  1406. </channel>
  1407. <set wordlength="2">
  1408. ]]>
  1409. </programlisting></refsynopsisdiv>
  1410. <refsect1>
  1411. <title>Description</title>
  1412. <para>
  1413. The "Most Used Words" section on the stats page display the most used
  1414. words. The default is that a word only appears if it is longer than 5
  1415. characters. With this option you can change that minimum.
  1416. </para>
  1417. </refsect1>
  1418. <refsect1>
  1419. <title>Default</title>
  1420. <para> 5 </para>
  1421. </refsect1>
  1422. </refentry>
  1423. <!-- *** ACTIVENICKS *** -->
  1424. <refentry id="activenicks">
  1425. <refmeta> <refentrytitle>activenicks</refentrytitle> </refmeta>
  1426. <refnamediv>
  1427. <refname>activenicks</refname>
  1428. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  1429. </refnamediv>
  1430. <refsynopsisdiv><programlisting>
  1431. <![CDATA[
  1432. <channel="#channel" logfile="channel.log">
  1433. format = "mIRC"
  1434. activenicks = "50"
  1435. </channel>
  1436. <set activenicks="10">
  1437. ]]>
  1438. </programlisting></refsynopsisdiv>
  1439. <refsect1>
  1440. <title>Description</title>
  1441. <para>
  1442. With this option you can define how many nicks you want to appear in the
  1443. "Most Active Nicks" section on the stats page.
  1444. </para>
  1445. </refsect1>
  1446. <refsect1>
  1447. <title>Default</title>
  1448. <para> 25 </para>
  1449. </refsect1>
  1450. </refentry>
  1451. <!-- *** ACTIVENICKS2 *** -->
  1452. <refentry id="activenicks2">
  1453. <refmeta> <refentrytitle>activenicks2</refentrytitle> </refmeta>
  1454. <refnamediv>
  1455. <refname>activenicks2</refname>
  1456. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  1457. </refnamediv>
  1458. <refsynopsisdiv><programlisting>
  1459. <![CDATA[
  1460. <channel="#channel" logfile="channel.log">
  1461. format = "mIRC"
  1462. activenicks2 = "25"
  1463. </channel>
  1464. <set activenicks2="10">
  1465. ]]>
  1466. </programlisting></refsynopsisdiv>
  1467. <refsect1>
  1468. <title>Description</title>
  1469. <para>
  1470. With this option you can define how many nicks you want to appear in the
  1471. "These didn't make it" section on the stats page.
  1472. </para>
  1473. </refsect1>
  1474. <refsect1>
  1475. <title>Default</title>
  1476. <para> 30 </para>
  1477. </refsect1>
  1478. </refentry>
  1479. <!-- *** MOSTNICKSHISTORY *** -->
  1480. <refentry id="mostnickshistory">
  1481. <refmeta> <refentrytitle>mostnickshistory</refentrytitle> </refmeta>
  1482. <refnamediv>
  1483. <refname>mostnickshistory</refname>
  1484. <refpurpose>maximum number of nicks to show in "most nicks"</refpurpose>
  1485. </refnamediv>
  1486. <refsynopsisdiv><programlisting>
  1487. <![CDATA[
  1488. <channel="#channel" logfile="channel.log">
  1489. format = "mIRC"
  1490. mostnickshistory = "2"
  1491. </channel>
  1492. <set mostnickshistory="10">
  1493. ]]>
  1494. </programlisting></refsynopsisdiv>
  1495. <refsect1>
  1496. <title>Description</title>
  1497. <para>
  1498. With this option you can define how many nicks you want to appear in
  1499. the "Most used nicks" section.
  1500. </para>
  1501. </refsect1>
  1502. <refsect1>
  1503. <title>Default</title>
  1504. <para> 5 </para>
  1505. </refsect1>
  1506. </refentry>
  1507. <!-- *** TOPICHISTORY *** -->
  1508. <refentry id="topichistory">
  1509. <refmeta> <refentrytitle>topichistory</refentrytitle> </refmeta>
  1510. <refnamediv>
  1511. <refname>topichistory</refname>
  1512. <refpurpose>maximum number of topics to show</refpurpose>
  1513. </refnamediv>
  1514. <refsynopsisdiv><programlisting>
  1515. <![CDATA[
  1516. <channel="#channel" logfile="channel.log">
  1517. format = "mIRC"
  1518. topichistory = "2"
  1519. </channel>
  1520. <set topichistory="10">
  1521. ]]>
  1522. </programlisting></refsynopsisdiv>
  1523. <refsect1>
  1524. <title>Description</title>
  1525. <para>
  1526. With this option you can define how many topics you want to appear in
  1527. the "Latest topics" section.
  1528. </para>
  1529. </refsect1>
  1530. <refsect1>
  1531. <title>Default</title>
  1532. <para> 3 </para>
  1533. </refsect1>
  1534. </refentry>
  1535. <!-- *** URLHISTORY *** -->
  1536. <refentry id="urlhistory">
  1537. <refmeta> <refentrytitle>urlhistory</refentrytitle> </refmeta>
  1538. <refnamediv>
  1539. <refname>urlhistory</refname>
  1540. <refpurpose>maximum number of urls to show</refpurpose>
  1541. </refnamediv>
  1542. <refsynopsisdiv><programlisting>
  1543. <![CDATA[
  1544. <channel="#channel" logfile="channel.log">
  1545. format = "mIRC"
  1546. urlhistory = "2"
  1547. </channel>
  1548. <set urlhistory="10">
  1549. ]]>
  1550. </programlisting></refsynopsisdiv>
  1551. <refsect1>
  1552. <title>Description</title>
  1553. <para>
  1554. With this option you can define how many urls you want to appear in
  1555. the "Most referenced URLs" section.
  1556. </para>
  1557. </refsect1>
  1558. <refsect1>
  1559. <title>Default</title>
  1560. <para> 5 </para>
  1561. </refsect1>
  1562. </refentry>
  1563. <!-- *** WORDHISTORY *** -->
  1564. <refentry id="wordhistory">
  1565. <refmeta> <refentrytitle>wordhistory</refentrytitle> </refmeta>
  1566. <refnamediv>
  1567. <refname>wordhistory</refname>
  1568. <refpurpose>maximum number of words to show</refpurpose>
  1569. </refnamediv>
  1570. <refsynopsisdiv><programlisting>
  1571. <![CDATA[
  1572. <channel="#channel" logfile="channel.log">
  1573. format = "mIRC"
  1574. wordhistory = "5"
  1575. </channel>
  1576. <set wordhistory="15">
  1577. ]]>
  1578. </programlisting></refsynopsisdiv>
  1579. <refsect1>
  1580. <title>Description</title>
  1581. <para>
  1582. With this option you can define how many words you want to appear in
  1583. the "Most used words" section.
  1584. </para>
  1585. </refsect1>
  1586. <refsect1>
  1587. <title>Default</title>
  1588. <para> 10 </para>
  1589. </refsect1>
  1590. </refentry>
  1591. <!-- *** NICKHISTORY *** -->
  1592. <refentry id="nickhistory">
  1593. <refmeta> <refentrytitle>nickhistory</refentrytitle> </refmeta>
  1594. <refnamediv>
  1595. <refname>nickhistory</refname>
  1596. <refpurpose>maximum number of nicks to show</refpurpose>
  1597. </refnamediv>
  1598. <refsynopsisdiv><programlisting>
  1599. <![CDATA[
  1600. <channel="#channel" logfile="channel.log">
  1601. format = "mIRC"
  1602. nickhistory = "3"
  1603. </channel>
  1604. <set nickhistory="15">
  1605. ]]>
  1606. </programlisting></refsynopsisdiv>
  1607. <refsect1>
  1608. <title>Description</title>
  1609. <para>
  1610. With this option you can define how many nicks you want to appear in
  1611. the "Most referenced nicks" section.
  1612. </para>
  1613. </refsect1>
  1614. <refsect1>
  1615. <title>Default</title>
  1616. <para> 5 </para>
  1617. </refsect1>
  1618. </refentry>
  1619. <!-- *** LANGFILE *** -->
  1620. <refentry id="langfile">
  1621. <refmeta> <refentrytitle>langfile</refentrytitle> </refmeta>
  1622. <refnamediv>
  1623. <refname>langfile</refname>
  1624. <refpurpose>filename of language file</refpurpose>
  1625. </refnamediv>
  1626. <refsynopsisdiv><programlisting>
  1627. <![CDATA[
  1628. <set langfile="mylang.txt">
  1629. ]]>
  1630. </programlisting></refsynopsisdiv>
  1631. <refsect1>
  1632. <title>Description</title>
  1633. <para>
  1634. With this option you have an alternative way to define the name and/or
  1635. path to the language file. Usually you don't have to touch this option.
  1636. </para>
  1637. </refsect1>
  1638. <refsect1>
  1639. <title>Default</title>
  1640. <para> lang.txt </para>
  1641. </refsect1>
  1642. </refentry>
  1643. <!-- *** NICKTRACKING *** -->
  1644. <refentry id="nicktracking">
  1645. <refmeta> <refentrytitle>nicktracking</refentrytitle> </refmeta>
  1646. <refnamediv>
  1647. <refname>nicktracking</refname>
  1648. <refpurpose>track nickchanges and create aliases</refpurpose>
  1649. </refnamediv>
  1650. <refsynopsisdiv><programlisting>
  1651. <![CDATA[
  1652. <set nicktracking="1">
  1653. ]]>
  1654. </programlisting></refsynopsisdiv>
  1655. <refsect1>
  1656. <title>Description</title>
  1657. <para>
  1658. Enabling this option will track nickchanges as well as it can. It will
  1659. then automatically create aliases for these nicks.
  1660. </para>
  1661. </refsect1>
  1662. <refsect1>
  1663. <title>Default</title>
  1664. <para> 0 (disabled) </para>
  1665. </refsect1>
  1666. </refentry>
  1667. <!-- *** LOGTYPE *** -->
  1668. <refentry id="logtype">
  1669. <refmeta> <refentrytitle>logtype</refentrytitle> </refmeta>
  1670. <refnamediv>
  1671. <refname>logtype</refname>
  1672. <refpurpose>type of log (not the format of the log)</refpurpose>
  1673. </refnamediv>
  1674. <refsynopsisdiv><programlisting>
  1675. <![CDATA[
  1676. <set logtype="Logfile">
  1677. ]]>
  1678. </programlisting></refsynopsisdiv>
  1679. <refsect1>
  1680. <title>Description</title>
  1681. <para>
  1682. The type of logs kept for your channel. Currently only "Logfile" is
  1683. supported, so you don't need to change this option.
  1684. </para>
  1685. </refsect1>
  1686. <refsect1>
  1687. <title>Default</title>
  1688. <para> Logfile </para>
  1689. </refsect1>
  1690. </chapter>
  1691. </book>