Channel logs
Back to PHP-IRC Feature Requests
| Page: 1 |
| From User | Message Body |
|---|---|
| Flyste |
Post #270 |
|
Member Date: 12:02 pm, Jul 11 2006 Posts: 6 |
For my personnal use, I've made a php script which parse the logs made by the bot and transform them into html like : http://www.mazzu.com/irclog/screen1.png http://www.mazzu.com/irclog/screen2.png If someone is interested, I can share it to community. It's a bit badly coded so I want to know if I should make it more efficient and reusable or not. To generate one log a day, I've made a little hack in the log function of php-irc and added one line in the conf file for "logdir " (the directory which contain all log files). Features of this script : - Valid XHTML 1.0 Strict (or Transitionnal, I'm not too sure) - Valid CSS 1.0 - There is no cache, the html log is created on each http request. - Transform smileys to images which represents them (the ALT attribute in the IMG tag contains exactly what is typed). - Transform URLs into links - Take only lines for a specified channel, not all the lines of the log file Features that I can add : - Configuration flags for disable/enable replacement of smileys, disable/enable transform URL into link - Interpret bold, underline, colors ... in IRC and disable/enable this feature - Ignore nick and/or ident and/or some type of message and/or font transformation (bold, colors, ...) |
| Manick |
Post #273 |
|
Admin Date: 1:10 am, Jul 12 2006 Posts: 222 |
Hey, this actually sounds useful.. I'd like a send of it if you wouldn't mind! My email is manick _______AT___ manekian.com. Thanks! --Manick PHP-IRC Developer |
| jcrawford |
Post #339 |
|
Member Date: 11:07 pm, Sep 29 2006 Posts: 11 |
yes this could be useful as a module maybe even a way to search the logs by channel command !search log <phrases go here> |
| aragno |
Post #454 |
|
Member Date: 11:42 pm, Feb 9 2007 Posts: 15 |
I can't find this script any where. Is it posted on the site? // aragno // aragno you'll find me in #5thelement on netgamers |
| Manick |
Post #455 |
|
Admin Date: 12:52 am, Feb 10 2007 Posts: 222 |
doesn't look like it :-/ --Manick PHP-IRC Developer |
| cl58 |
Post #1017 |
|
Member Date: 4:13 am, Feb 21 2010 Posts: 1 |
I know this is three years late, but is this still available? |
