Tue, 19 Jan 1999 12:05:25 -0800 (PST)
>From firstname.lastname@example.org Tue Jan 19 12:05:22 1999
Received: from mail0.mailsender.net (mail0.mailsender.net [184.108.40.206])
by sdsu.edu (8.8.7/8.8.7) with SMTP id MAA05386
for <email@example.com>; Tue, 19 Jan 1999 12:05:22 -0800 (PST)
Received: from simplenet.com (220.127.116.11) by mail0.mailsender.net; 19 Jan 1999 12:03:57 -0800
Date: Tue, 19 Jan 1999 12:04:51 -0800
From: Doug <DougB@simplenet.com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
To: Users <firstname.lastname@example.org>
Subject: htsearch interception in and out possible?
Content-Type: text/plain; charset=us-ascii
The saga continues. :) I know have a working htdig installation on my
site, thanks much to all concerned for the help. Now we're in the phase
where the boss looks at it and says, "Hey, if you can do all of that,
can you also do this other thing that would be really cool?"
So the other thing is like this... when people visit our main site they
are assigned a tracking number that is tacked on to their URL as a GET
query string. So what I probably need to be able to do is write a script
(most likely in perl) to pass my query string as a variable, to htsearch
in the htsearch query string, then write a script that parses htsearch's
results and rewrites the URL's that come from the index so that the
tracking number that the user came in with gets appended to each URL.
Alternatively, I suppose I could do this in the htsearch code, but my
perl is better than my c++, and in my initial examination of the
htsearch code the spot where the URL it retrieves is spit out to the
browswer didn't leap out at me.
The EWS script in the contrib directory looks like it can easily be
adapted to be my front end, has anyone done work on a script that parses
the results from htsearch before they are sent to the browser? My search
of the archives didn't reveal anything along this line, so any help
would be greatly appreciated. Alternatively, if someone could point me
to the right location in the htsearch code where I could rewrite the
URL's in place right before they go to the browser I'd be very grateful.
This archive was generated by hypermail 2.0b3 on Wed Jan 20 1999 - 08:37:47 PST