my $no_zsi;
+use strict;
+
BEGIN {
$no_zsi = 0;
eval "use LWP::UserAgent";
my $res_return = 5;
my $ua = new LWP::UserAgent;
- $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam("httpProxy"));
+ $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam("httpProxy"));
$ua->timeout(10);
my ($name, $href, $desc) = split(/\|/,$line);
if ($res_count < $res_return) {
- $result .= "$name ($desc) $href\n";
+ $result .= "$name ($desc) $href : ";
$res_display ++;
}
$res_count ++;
}
if (($query) && ($res_count > $res_display)) {
- $result .= "$res_display of $res_count shown. All at http://killefiz.de/zaurus/search.php?q=$query\n";
+ $result .= "$res_display of $res_count shown. All at http://killefiz.de/zaurus/search.php?q=$query";
}
return $result;
sub query {
my ($args) = @_;
&::performStrictReply(&queryText($args));
- return;
+ return;
}
1;