Subject: Re: [htdig] Parsing htsearch results
From: Harold Sinclair (firstname.lastname@example.org)
Date: Fri Jun 02 2000 - 06:29:05 PDT
On Thu, 1 Jun 2000, Ravindra Wankar wrote:
> b) The htsearch results need to be parsed (e.g. fetch product warranty
> based on product id) and then formatted before the user sees it.
> e.g. a product sheet could be
> <id = ".....">
> <name = "....">
> <description = ".....">
> If I index data like this, is there a way to get the "product id" field
> when a product matches a search criteria?
I am working with a programmer on a site and we discussed doing this in
ASP. You are talking about grabbing the data from another table cell from
the page that yeilded a hit. I see maybe two ways to do this -- hack the
htsearch code for your specific needs, or get the returned URL, source the
page and parse that with ASP (or something) before returning the final
result to the client.
Maybe Geoff has already been thinking about this. But it would be great if
it was customizable. In particular, I need to rank the returned results in
1) matches (based on method, and all that)
I would like to be able to provide the name of a text file (a list of URLs
of our important affiliate sites) as a CGI option, and have the search
results be ranked by putting those URLs at the top, and include graphic
images next to the result based on the URL they're from. Perhaps a tall
order, but I'm wondering if this has been considered or is being worked on
by anyone out there.
To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Jun 02 2000 - 04:18:27 PDT