2 # this short script is for making the HTML for the top50 report monthly
3 # Copyright (c)2001 M. Drew Streib
4 # This code is released under the GPL version 2 or later.
6 # NOTE: this is designed to be run one directory up, from analyze.sh
8 while ($line = <STDIN
>) {
9 $line =~ /\s+(\d+)\s+((\w|\d)+)\s+((\w|\d)+)\s+((\d|\.)+)/;
14 $command = 'wget -O - -q "http://pgp.dtype.org:11371/pks/lookup?search=0x'
17 $command = 'grep "'.$key.'" scripts/top50comments.txt';
18 $rawcomments = `$command`;
19 if (!($wget =~ /\d\d\d\d\/\d\d\
/\d\d (.*)( \<.*)\n/)) {
20 $wget =~ /\d\d\d\d\/\d\d\
/\d\d (.*)/;
27 $rawcomments =~ /(\w|\d)+\s(.*)/;
32 print "<TR><TD>$rank</TD><TD><A href=\"http://pgp.dtype.org:11371/pks/lookup?search=0x$key\&op=vindex\">$key</A></TD><TD>$name</TD><TD><I>$comments</I></TD><TD align=\"right\">$msd</TD></TR>\n";