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:
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:
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:
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!
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!