Skip to main content.
home | support | download

Back to List Archive

Re: Show rank score in percentage

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Fri Aug 26 2005 - 13:01:36 GMT
Dominique Arpin scribbled on 8/26/05 7:37 AM:

>>>I will like to change the scale factor of 0 to 1000 by 0,0% to 100,0%

> 
> I use search.cgi
> 


@@ -1895,14 +1894,14 @@
      $props->{swishdocpath_href} = $link_href;  # backwards compatible
      $props->{link_property} = $link_href;  # backwards compatible

+    $props->{swishrank} =~ s,(\d)$,\.$1\%,;  # show rank as percentage
+}
-
-}




-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
Received on Fri Aug 26 06:01:37 2005