[htdig] Parsing htsearch results


Subject: [htdig] Parsing htsearch results
From: Ravindra Wankar (rwankar@iname.com)
Date: Thu Jun 01 2000 - 18:20:30 PDT


Say u wanted to search a product catalog, and the result is a list of
products formatted in a table matching u'r search criteria. Not a bunch
of links.

Basically,
a) The searchable data need not be "HTML" i.e does not have HTML tags.
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
<product>
    <id = ".....">
    <name = "....">
    <description = ".....">
</product>

If I index data like this, is there a way to get the "product id" field
when a product matches a search criteria?

How does one do this? Any examples?

-- Ravi.

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Thu Jun 01 2000 - 16:08:10 PDT