Author: mickw
Date: 2006-04-10 14:30:21 +0200 (Mon, 10 Apr 2006)
New Revision: 2750

Modified:
   trunk/pom.xml
   trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java
Log:
- linkpulse cleanup
- aksje rules and command


Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml       2006-04-10 11:50:47 UTC (rev 2749)
+++ trunk/pom.xml       2006-04-10 12:30:21 UTC (rev 2750)
@@ -247,9 +247,9 @@
       
                 <!-- Linkpulse -->
 
-                <tokenevaluator.linkpulse>false</tokenevaluator.linkpulse>
-                
<tokenevaluator.linkpulseToUrl>http://go.sesam.no/</tokenevaluator.linkpulseToUrl>
-                
<tokenevaluator.linkpulseSesam>http://localhost:8080/search/</tokenevaluator.linkpulseSesam>
+                <linkpulse.enable>false</linkpulse.enable>
+                <linkpulse.url>http://go.sesam.no/</linkpulse.url>
+                
<linkpulse.sesam>http://localhost:8080/search/</linkpulse.sesam>
 
                 <!-- Mail -->
 
@@ -290,9 +290,9 @@
       
                 <!-- Linkpulse -->
 
-                <tokenevaluator.linkpulse>true</tokenevaluator.linkpulse>
-                
<tokenevaluator.linkpulseToUrl>http://go.sesam.no/</tokenevaluator.linkpulseToUrl>
-                
<tokenevaluator.linkpulseSesam>http://bleedingsearch.schibstedsok.no/search/</tokenevaluator.linkpulseSesam>
+                <linkpulse.enable>true</linkpulse.enable>
+                <linkpulse.url>http://go.sesam.no/</linkpulse.url>
+                
<linkpulse.sesam>http://bleedingsearch.schibstedsok.no/search/</linkpulse.sesam>
 
                 <!-- Mail -->
 
@@ -346,9 +346,9 @@
       
                 <!-- Linkpulse -->
 
-                <tokenevaluator.linkpulse>true</tokenevaluator.linkpulse>
-                
<tokenevaluator.linkpulseToUrl>http://go.sesam.no/</tokenevaluator.linkpulseToUrl>
-                
<tokenevaluator.linkpulseSesam>http://sesam.no/search/</tokenevaluator.linkpulseSesam>
+                <linkpulse.enable>true</linkpulse.enable>
+                <linkpulse.url>http://go.sesam.no/</linkpulse.url>
+                <linkpulse.sesam>http://sesam.no/search/</linkpulse.sesam>
 
                 <!-- Mail -->
 

Modified: 
trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java
===================================================================
--- trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java     
2006-04-10 11:50:47 UTC (rev 2749)
+++ trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java     
2006-04-10 12:30:21 UTC (rev 2750)
@@ -24,9 +24,9 @@
         String toUrl = "";
 
         //linkpulse property is set to true only in the production build
-        if (props.getProperty("tokenevaluator.linkpulse").equals("true")) {
+        if (props.getProperty("linkpulse.enable").equals("true")) {
 
-            toUrl = props.getProperty("tokenevaluator.linkpulseToUrl") + 
script + "/";
+            toUrl = props.getProperty("linkpulse.url") + script + "/";
 
             //click attributes comes as a string seperated by ';'
             String[] paramArr = paramString.split(";");
@@ -42,7 +42,7 @@
 
             }
             //adds the original url
-            toUrl = toUrl + "/" + 
props.getProperty("tokenevaluator.linkpulseSesam") + orgUrl;
+            toUrl = toUrl + "/" + props.getProperty("linkpulse.sesam") + 
orgUrl;
         } else
             if (indexpage.equals("true"))
                 toUrl = "search/" + orgUrl;

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to