At 14:41 on Wednesday, 24 Mar 2004, Simon Biela wrote:

Hi everyone,

I would like to exclude a special part of my page while building the index. I have a very large navigation and a sitemap which are always found in the search results when looking for keywords. I would need some command in my HTML like

<Dont't look here>
</continue looking here>

is there a possibility to do something like that? Thanks for help.

wrap the text you don't want indexed with:


<!--htdig_noindex-->

text not to be indexed

<!--/htdig_noindex-->

explanation from the manual (in configuration):


noindex_start, noindex_end


type:string
used by: htdig
default:<!--htdig_noindex--> <!--/htdig_noindex-->
description:

The text encompassing a section of an HTML file that should be completely ignored when indexing. As in the defaults, this can be SGML comment declarations that can be inserted anywhere in the documents to exclude different sections from being indexed. However, existing tags can also be used; this is especially useful to exclude some sections from being indexed where the files to be indexed can not be edited. The example shows how SCRIPT sections in 'uneditable' documents can be skipped; note how noindex_start does not contain an ending >: this allows for all SCRIPT tags to be matched regardless of attributes defined (different types or languages). Note that the match for this string is case insensitive.

example:
noindex_start: <SCRIPT
noindex_end: </SCRIPT>


NB: if you change this setting in your configuration file you need to match it with whatever you use in your html....




hth


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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

Reply via email to