A "GET" form that only returns one argument usually results in a URL like
this:
http://example.com/page.html?name=data
But there is ONE exception. If the name of that single argument is
"isindex", then the resulting URL looks like this:
http://example.com/page.html?data
Analog 5.01 doesn't recognise this.
INTSEARCHENGINE /page.html isindex
I believe that the logfile parser should quietly convert "?data" into
"?isindex=data". I've had a long look through the source code but I'm
afraid to say I was thoroughly humiliated. My C skills are not up to the
job. Speaking as a Perl programmer, what I'd want to do is add this line
somewhere:
s/\?([^=]*)$/?isindex=$1/;
This would have the added benefit of normalising the data since some
browsers (*cough*IE5*cough*) intermittently fail to throw out the "isindex="
and thus submit the expanded URL. I would expect that this would also apply
to external search engines.
P.S, there is a minor typo in anlghea2.h:
#define FIVESUM (FALSE) /* Five-Minute Saummry */
--
| Neil D. Fraser, Programmer & Wizard, [EMAIL PROTECTED]
| Digital Routes, Inverness, Scotland, www.digitalroutes.co.uk
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------