--- loncom/interface/lonsearchcat.pm 2001/03/21 02:09:38 1.50 +++ loncom/interface/lonsearchcat.pm 2001/03/21 02:27:11 1.53 @@ -593,7 +593,7 @@ sub output_results { $replyfile=$r->dir_config('lonDaemons').'/tmp/'.$1; $reply=~/(.*?)\_/; my $hostname=$1; - + sleep 3; # temporary fix, need to check for completion and status { while (1) { last if -e $replyfile; @@ -615,8 +615,9 @@ sub output_results { $creationdate,$lastrevisiondate,$owner,$copyright)=@fields; my $shortabstract=$abstract; $shortabstract=substr($abstract,0,200) if length($abstract)>200; + $fields[7]=$shortabstract; $compiledresult.=< +

($title) END $compiledresult.=<$url +DETAILED +URL: $url
Title: $title
Author(s): $author
@@ -787,10 +793,12 @@ END # ---------------------------------------------------------------- Summary View sub summary_view { my ($title,$author,$subject,$url,$keywords,$version, - $notes,$abstract,$mime,$lang, - $creationdate,$lastrevisiondate,$owner,$copyright)=@_; + $notes,$shortabstract,$mime,$lang, + $creationdate,$lastrevisiondate,$owner,$copyright, + $hostname,$httphost)=@_; my $result=<URL: $url +SUMMARY +URL: $url
Title: $title
Author(s): $author
@@ -813,10 +821,12 @@ END # -------------------------------------------------------------- Fielded Format sub fielded_format_view { my ($title,$author,$subject,$url,$keywords,$version, - $notes,$abstract,$mime,$lang, - $creationdate,$lastrevisiondate,$owner,$copyright)=@_; + $notes,$shortabstract,$mime,$lang, + $creationdate,$lastrevisiondate,$owner,$copyright, + $hostname,$httphost)=@_; my $result=<URL: $url +FIELDED +URL: $url
Title: $title
Author(s): $author
@@ -839,10 +849,12 @@ END # -------------------------------------------------------------------- XML/SGML sub xml_sgml_view { my ($title,$author,$subject,$url,$keywords,$version, - $notes,$abstract,$mime,$lang, - $creationdate,$lastrevisiondate,$owner,$copyright)=@_; + $notes,$shortabstract,$mime,$lang, + $creationdate,$lastrevisiondate,$owner,$copyright, + $hostname,$httphost)=@_; my $result=<URL: $url +XML/SGML +URL: $url
Title: $title
Author(s): $author