README 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. If you look in the example pisg.cfg, you will see a small working sample
  14. where you can insert your own data.
  15. The most important things to set is the name of the logfile, the channel
  16. name, the format of your logfile and the maintainers name.
  17. The commandline version has the disadvantage that you can only set up one
  18. channel to be run.
  19. NOTE: The stats will look best with a logfile which is at least one day
  20. long. Some stats (like smilies, exclamation marks, etc) doesn't get counted
  21. before a special amount of time.
  22. Also, pisg supports multiple languages so the texts on the stats page will
  23. be in your own language; look in lang.txt to see the supported languages.
  24. The language can be changed from within the pisg.cfg file.
  25. If you have any corrections to the language file, or you want to add a new
  26. translation, then send it to the mailing list.
  27. And a last note: there is some graphics in the gfx/ folder which pisg uses,
  28. you should put these in the same directory as your stats file(s) or use the
  29. 'pic_loc' configuration variable.
  30. RUNNING PISG
  31. ------------
  32. If you have setup everything inside the config file, then you just need to
  33. run it. If you're on a Linux/BSD/Unix system, this should do the work:
  34. $ ./pisg.pl
  35. Running pisg like this will just use the settings in pisg.cfg.
  36. If you want to specify things on commandline instead of in the config file,
  37. you could do:
  38. $ ./pisg.pl -ch \#channel -l logfile.log -f mIRC -o index.html
  39. The syntax and options is explained when doing:
  40. $ ./pisg.pl --help
  41. Setting settings on commandline, will override the relevant settings in
  42. pisg.cfg.
  43. CONTACT INFORMATION
  44. -------------------
  45. If you have any problems with setting up or running pisg, you should send an
  46. e-mail to the pisg mailing list:
  47. http://lists.sourceforge.net/mailman/listinfo/pisg-general
  48. You can report bugs or add feature requests here:
  49. http://sourceforge.net/tracker/?group_id=31862
  50. The pisg homepage is located at http://pisg.sourceforge.net/.
  51. If you use pisg, and have a permanent URL for the location of your generated
  52. stats, I'd be delighted if you'd add your page on the pisg homepage. Just go
  53. to the 'examples' page and follow the instructions.
  54. Have fun :)
  55. - Morten Brix Pedersen <morten@wtf.dk>