- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: Using DataparkSearch to show "Related Pages"

DataparkSearch doesn't support related search directly, but can emulate it by 
conducting a search request with looser search options (i.e. the "any" search 
mode with spells and synonyms enabled) and query words from header or subject 
of a page.

Take look at 43n39e.htm.en template in doc/samples directory of dpsearch 
distribution. There are two javascript functions myCopyContent and 
showBooksAndVideo. The second one contruct a search query with different 
template (books8.htm.en, also is in doc/samples directory) and show result in a 
div with id="resultArea".

To get this work, you need to download 
http://www.43n39e.ru/htmlhttprequest_commented.js script and include it in your 
search template.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=03;topic_id=1201564351

Ответить