Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Remote Search - please help

Quote Reply
Remote Search - please help
A partner site of mine would like to display my search results.

1. I have installed the XML plugin for LinksSQL and tried to call search.cgi with a hidden tag:

<input type="hidden" name="xml_feed" value="1">

More than 50% of all queries return the following error:

Code:
Whitespace is not allowed at this location. Error processing resource.


Other users have reported this error, but obviously no solution has been found yet. Also, a high percentage of valid queries just returns the search template without search results (I have not altered the xml template).

2. Another solution is to use the remote_search.cgi script Alex has posted in this thread:

http://www.gossamer-threads.com/...orum.cgi?post=199494

Running the script I receive the following error message:

Code:
Missing right curly or square bracket at www/cgi-bin/remote_search.cgi line 84, at end of line
syntax error at www/cgi-bin/remote_search.cgi line 84, at EOF www/cgi-bin/remote_search.cgi had compilation errors.


Ok, after adding the curly bracket I get the msg:

Code:
Bareword "r" not allowed while "strict subs" in use at www/cgi-bin/remote_search.cgi line 84.


Does anyone have a working version of the script?

3. How to deal with queries that do not return any matching records?

Any help is highly appreciated!

Last edited by:

Thomas.: Mar 2, 2003, 3:25 AM
Subject Author Views Date
Thread Remote Search - please help Thomas. 5734 Mar 2, 2003, 3:23 AM
Thread Re: [Thomas.] Remote Search - please help
Andy 5623 Mar 3, 2003, 2:08 AM
Thread Re: [Andy] Remote Search - please help
Thomas. 5577 Mar 3, 2003, 2:48 AM
Thread Re: [Thomas.] Remote Search - please help
Andy 5600 Mar 3, 2003, 2:49 AM
Thread Re: [Andy] Remote Search - please help
Thomas. 5571 Mar 3, 2003, 2:53 AM
Post Re: [Thomas.] Remote Search - please help
Andy 5551 Mar 3, 2003, 2:54 AM
Thread Re: [Thomas.] Remote Search - please help
ccunet 5583 Mar 7, 2003, 2:42 PM
Thread Re: [ccunet] Remote Search - please help
Thomas. 5541 Mar 7, 2003, 3:08 PM
Thread Re: [Thomas.] Remote Search - please help
ccunet 5530 Mar 7, 2003, 5:19 PM
Thread Re: [ccunet] Remote Search - please help
klauslovgreen 5505 Mar 7, 2003, 10:17 PM
Post Re: [klauslovgreen] Remote Search - please help
ccunet 5507 Mar 8, 2003, 4:35 AM