]> git.donarmstrong.com Git - infobot.git/commitdiff
cleanup
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 26 Feb 2014 21:46:56 +0000 (21:46 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 26 Feb 2014 21:46:56 +0000 (21:46 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1934 c11ca15a-4712-0410-83d8-924469b57eb5

scripts/irclog2html.pl

index ad7cb1b2034b4dbe097b71edd69fa77e6ccfed17..b19a1dbd5916887e11466dea00d9448e022db0b0 100755 (executable)
@@ -9,13 +9,13 @@
 # Contributors:
 #   Rick Welykochy <rick@praxis.com.au>
 #   Alexander Else <aelse@uu.net>
+#   Tim Riker <Tim@Rikers.org>
 
 # Released under the terms of the GNU GPL
 # http://www.gnu.org/copyleft/gpl.html
 
 # Modified by Tim Riker <Tim@Rikers.org>
 # to work with infobot logs
-# then modified again for infobot
 
 # Usage: irclog2html <date> < logfile
 
@@ -62,13 +62,12 @@ sub header {
       qq{<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
- <title>irclog2html for $channel on $date</title>
- <meta name="generator" content="irclog2html.pl by Jeff Waugh">
- <meta name="version" content="Version 1.5 - 11th May 2000">
+ <title>IRC log for $channel on $date</title>
+ <meta name="generator" content="irclog2html.pl">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 </head>
 <body text="#000000" bgcolor="#ffffff">
-<h1>irclog2html for $channel on $date</h1>
+<h1>IRC log for $channel on $date</h1>
 };
 
     if ( $STYLE =~ /table/ ) {
@@ -84,11 +83,9 @@ sub footer {
     }
 
     $return .= qq{
-<br>Generated by irclog2html.pl by
-<a href="mailto:jdub\@NOSPAMaphid.net">Jeff Waugh</a> - find it at
-<a href="http://freshmeat.net/appindex/2000/03/28/954251322.html">freshmeat.net</a>!
-Modified by <a href="http://www.Rikers.org">Tim Riker</a> to work with
-<a href="http://infobot.sourceforge.net/">infobot</a> logs, split per channel, etc.
+<br>Generated by irclog2html.pl
+Modified by <a href="http://Rikers.org">Tim Riker</a> to work with
+<a href="http://infobot.sourceforge.net/">infobot</a>.
 </body></html>
 };
     return $return;
@@ -369,7 +366,7 @@ sub main {
 if ( !scalar @ARGV ) {
     print "Usage: irclog2html.pl <date> < logfile\n";
     print
-      "Example: bzcat log/infobot.log-20021104.bz2 | irclog2html.pl 20021104\n";
+      "Example: bzcat log/2002/1104.bz2 | irclog2html.pl 20021104\n";
     exit 0;
 }
 my $date = shift;