--- loncom/publisher/lonpublisher.pm 2001/08/24 13:33:37 1.44 +++ loncom/publisher/lonpublisher.pm 2001/10/08 19:00:50 1.47 @@ -11,7 +11,8 @@ # 04/16/2001 Scott Harrison # 05/03,05/05,05/07 Gerd Kortemeyer # 05/28/2001 Scott Harrison -# 06/23,08/07,08/11,8/13,8/17,8/18,8/24 Gerd Kortemeyer +# 06/23,08/07,08/11,8/13,8/17,8/18,8/24,9/26 Gerd Kortemeyer +# 10/3,10/8 Scott Harrison package Apache::lonpublisher; @@ -154,7 +155,6 @@ sub urlfixup { } sub publish { - my ($source,$target,$style)=@_; my $logfile; my $scrout=''; @@ -480,12 +480,29 @@ sub publish { $textonly=~s/[^a-z\s]//g; my %keywords=(); - map { - unless ($nokey{$_}) { - $keywords{$_}=1; - } - } ($textonly=~m/(\w+)/g); + my $j=0; + my $word; + for (my $i=0; $i