Thanks for the update, the script works well now. I made a little mod to the
script which some of you might find useful. This mod will turn a date from
the existing format (Aug 5, 2001 for example) into 8/5/2001, which you might
find better for importing into spreadsheets or databases.

Just change the while loop at the end to this:

   {
    my $this_line = "$3\t$1\t$2\t$4.$5";
    my $new_line = "$3\t$1\t$2\t$4.$5";
        
    $new_line =~ s/Jan +/1\//g;
    $new_line =~ s/Feb +/2\//g;
    $new_line =~ s/Mar +/3\//g;
    $new_line =~ s/Apr +/4\//g;
    $new_line =~ s/May +/5\//g;
    $new_line =~ s/Jun +/6\//g;
    $new_line =~ s/Jul +/7\//g;
    $new_line =~ s/Aug +/8\//g;
    $new_line =~ s/Sep +/9\//g;
    $new_line =~ s/Oct +/10\//g;
    $new_line =~ s/Nov +/11\//g;
    $new_line =~ s/Dec +/12\//g;
    $new_line =~ s/, +/\//g;
        
    print qq~$this_line = "$3\t$1\t$2\t$4.$5" \n~ if ($opt_d);

    print F "$new_line\n" if ($prior_line ne $this_line);
    $prior_line = $this_line;
    $found = 1;
   }

and the output file will be of a format more easily comprehended by
spreadsheets and databases.

-- 
John Keegan
[EMAIL PROTECTED]
http://RackShare.com


> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 3 Apr 2001 12:22:35 -0700 (PDT)
> To: Will Stoffel <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: looking for working opensrs.sslbot - Help?
> 
> 
> It appears OpenSRS changed the RWI again which broke the page parsing
> logic.  I have modified the opensrs.sslbot (available at the URL below) to
> compensate for the change.
> 
> Now for my gripe to OpenSRS:  If you are not going to provide an official
> function to dump the complete list of active domains, PLEASE stop changing
> the RWI active domains logic which in turn breaks this script.  I have
> noted several times on the mailing list that OpenSRS staff recommends the
> use of the opensrs.sslbot program.  Please be aware that you break this
> program when you change the logic for displaying active domains.
> 
> On Mon, 2 Apr 2001, Will Stoffel wrote:
> 
>> This script is stopping at the first page. Do you have any mods to make it
>> get "everything" ... not just the first page?
>> 
>> Kind Regards,
>> Will
>> 
>> At 11:51 AM 4/2/01 -0700, you wrote:
>>> John,
>>> 
>>> It's possible that he didn't send the latest version to the mailing
>>> list.  I just found a copy of his version and have posted it at
>>> http://www.daze.net/opensrs/opensrs.sslbot.txt for anyone that wants it.
>>> 
>>> Regards,
>>> Bill
>> 
>> 
> 

Reply via email to