]> matita.cs.unibo.it Git - helm.git/commitdiff
added begin list and end list comments to help moogle search engine plugin
authorEnrico Tassi <enrico.tassi@inria.fr>
Mon, 10 Jan 2005 10:47:47 +0000 (10:47 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Mon, 10 Jan 2005 10:47:47 +0000 (10:47 +0000)
helm/searchEngine/mooglePp.ml
helm/searchEngine/searchEngine.ml

index dd3b63ded91ba40e5f8d436a519b26258e486e9a..50809a45940bc9f05383d2c70c9298df8e9aea00 100644 (file)
@@ -35,7 +35,8 @@ let theory_of_result (req: Http_types.request) page result =
   let query_kind = pp_request req in
   let template query_kind summary results =
     sprintf
-      "<div class='resultsbar'>
+      "<!-- MOZILLA SEARCH PLUGIN: BEGIN LIST -->
+       <div class='resultsbar'>
         <table width='100%%'>
          <tr>
           <td class='left'><b class='query_kind'>%s</b></td>
@@ -46,7 +47,8 @@ let theory_of_result (req: Http_types.request) page result =
        <br />
        <div>
        %s
-       </div>"
+       </div>
+       <!-- MOZILLA SEARCH PLUGIN: END LIST -->"
        query_kind summary results
   in
   if results_no > 0 then
index 57c90f068272516aa6dc9889644500153194ea28..0bb29ec495dde61b29813f92b41cfe346051fc26 100644 (file)
@@ -37,6 +37,7 @@ exception Invalid_action of string  (* invalid action for "/search" method *)
 
 let daemon_name = "Moogle"
 let configuration_file = "/projects/helm/etc/moogle.conf.xml" 
+(*let configuration_file = "searchEngine.conf.xml" *)
 
 let placeholders = [
   "EXPRESSION"; "ACTION"; "ADVANCED"; "ADVANCED_CHECKED"; "SIMPLE_CHECKED";