Changes between Version 10 and Version 11 of adeiSEARCH

Show
Ignore:
Author:
csa (IP: 217.112.40.22)
Timestamp:
09/11/09 20:04:36 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adeiSEARCH

    v10 v11  
    133133 * The global options 
    134134 
     135The special search engines intended to return custom XHTML content should use following approach in the ''Search'' function: 
     136{{{ 
     137  $result = new SEARCHResults(NULL, $this, $module, ""); 
     138  $result->Append("<XHTML content>"); 
     139  return $result; 
     140}}} 
     141 
     142The <?xml?> should not be included into the content. 
     143 
     144 
    135145== INTERVALSearch Engine == 
    136146'''Provided Modules''': 
    155165== PROXYSearch Engine == 
    156166'''Provided Modules''': 
    157  * ''proxy'' -  
     167 * ''proxy'' - downloads XML document from the specified location and applying XSLT stylesheet to convert it into the XHTML. Accepts several parameters: 
     168  * ''xml'' - the service to obtain XML document from (mandatory) 
     169  * ''xslt'' - the stylesheet to apply to XML, could be omitted if the service returns XHTML directly 
     170  * ''noprops'' - instructs ADEI to not add current properties when calling the service, otherwise the passsed ''db_server'', ''db_name'', and other properties would be added in the end of service request. 
    158171 
    159172'''Supported Filters''': 
    160  * ''interval''' 
     173 * ''interval''' - adds ''window'' property to the XML service request 
     174 
     175'''Example usage''': 
     176{{{ 
     177proxy(xml=katrin.php?target=runs;xslt=katrinsearch;noprops)} interval:1218431322-1253472677 
     178}}} 
     179 
    161180 
    162181== String Analysis == 
     182At the moment performed by ''DetectModule'' funcion defined in classes/search.php. Should be extended by searchengines claiming the search string.