README 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. README, pisg - by me and others (see CREDITS file)
  2. ------------------
  3. pisg - Perl IRC Statistics Generator, is a Perl script which takes IRC
  4. logfiles and turns them into nice looking stats, which can be amusing to
  5. show for the users of your channel.
  6. The supported logfile formats is explained in the FORMATS file included with
  7. this distribution in the 'docs' directory.
  8. SETTING UP PISG
  9. ---------------
  10. It's quite simple to set up pisg. You have 2 choices:
  11. * Set settings from commandline (try pisg.pl --help)
  12. * Configure pisg from the pisg.cfg file (more flexible and configurable)
  13. The most important here is the name of the logfile, the maintainers name,
  14. and then the format of your logfile.
  15. You cannot set up everything on the commandline, only the important things.
  16. The 'pisg.cfg' file controls a lot of things, you should read CONFIG-README.
  17. NOTE: The stats will look best with a logfile which is at least one day
  18. long. Some stats (like smilies, exclamation marks, etc) doesn't get counted
  19. before a special amount of time.
  20. Also, pisg supports multiple languages so the texts on the stats page will
  21. be in your own language; look in lang.txt to see the supported languages.
  22. The language can be changed from within the pisg.cfg file.
  23. If you have any corrections to the language file, or you want to add a new
  24. translation, then send it to the mailing list.
  25. And a last note: there is some graphics in the gfx/ folder which pisg uses,
  26. you should put these in the same directory as your stats file(s) or use the
  27. 'pic_loc' configuration variable.
  28. RUNNING PISG
  29. ------------
  30. If you have setup everything inside the config file, then you just need to
  31. run it. If you're on a Linux/BSD/Unix system, this should do the work:
  32. $ ./pisg.pl
  33. Running pisg like this will just use the settings in pisg.cfg.
  34. If you want to specify things on commandline instead of in the config file,
  35. you could do:
  36. $ ./pisg.pl -ch \#channel -l logfile.log -f mIRC -o index.html
  37. The syntax and options is explained when doing:
  38. $ ./pisg.pl --help
  39. Setting settings on commandline, will override the relevant settings in
  40. pisg.cfg.
  41. CONTACT INFORMATION
  42. -------------------
  43. If you have any problems with setting up or running pisg. Then you can send
  44. a mail to the pisg mailing list:
  45. http://lists.sourceforge.net/mailman/listinfo/pisg-general
  46. Or you can try contacting me personally via e-mail (morten@wtf.dk).
  47. The pisg homepage is located at http://pisg.sourceforge.net/.
  48. If you use pisg, and have a permanent URL for the location of your generated
  49. stats, I'd be delighted if you'd send the URL to me. Just to see how many
  50. people uses it, and so I can link to it from the pisg homepage.
  51. Have fun :)
  52. - Morten Brix Pedersen <morten@wtf.dk>