According to Sprietsma, Rene:
> Is there a way to avoid displaying JavaScript in the search results? 
> As you can see in the example result below there is some JavaScript. I like to hide 
>it?! 
> Is there documentation about this subject on the site? Or does someone know a 
>solution for this ugly problem? 

The standard solution, which should work for all search engines, is to
put the JavaScript code inside an HTML comment, thus:

        <script ...>
        <!--
        javascript code here
        // -->
        </script>

If it's too much effort to fix all your HTML pages, you may want to try
the 3.1.6 snapshot in http://www.htdig.org/files/snapshots/, which should
turn off indexing between <script ...> and </script> tags, as well as
fixing lots of other known bugs in 3.1.5.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to