Re: In need of help please - how to exclude keywords when doing search

Jim <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
On Thu, 14 Jul 2005, DUI wrote:

> I'm a newbie to your script and in to scripting in general.  Our webhost WWM installed the htdig onto our site.  I've got it up and running at www.dui-online.com/test.htm .  BTW we make equipment for diving not for DUI related problems - lol.  OK so my problem is that I have keywords on all my pages and when I got to search for CF200, which is a patented product we have, it pulls up that page 2000+ times.  I want to exclude or lower the score in the keywords and meta tags but I cannot figure out how to change this.  From reading I thought I needed to change the htdig.conf file.  What I tried didn't seem to work.

If you are referring to meta keywords, you might want to start by
looking at the following two attributes.

http://www.htdig.org/attrs.html#keywords_meta_tag_names
http://www.htdig.org/attrs.html#keywords_factor

If you are using a 3.1.x version, you would need to rebuild your 
database after changing keywords_factor. For the 3.2.x versions this 
shouldn't be necessary.

As I recall, the _factor attributes only lower the score, so even if set
to 0 the results will still show up; they will just have lower scores.

If the keywords are being added dynamically, you might want to consider
using noindex tags. See the following for more information.

   http://www.htdig.org/attrs.html#noindex_start


Jim


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.