From: Geoff H. <ghu...@ws...> - 2002-05-10 16:27:54
|
On Tuesday, May 7, 2002, at 02:33 PM, Ravi Starzl wrote: > how I would do this/What I would need to change... It seems like I > should > be able to copy the meta-description code through the htDig source, and > just > modify it to match my "origin" meta tag instead of the "description" > meta > tag? Yes, this would be the way to do it, if you can't adapt another field to your will. To start, you'll need to add the field to htcommon/DocumentRef.h and the supporting code to htcommon/DocumentRef.cc. Add in some code in the parsers (i.e. htdig/HTML) and the htdig/Retriever class. That's most of what you'll need for indexing and you'll want to retrieve it in htsearch/Display. -Geoff |