Nice work Sezai. I find WGET excellent for this purpose also (for what it's
worth many sites abuse google crawls using UserAgent methods like this)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Sezai KOMUR
Sent: Thursday, 3 July 2008 3:22 PM
To: [email protected]
Subject: RE: [OzMOSS] Custom Menu text appearing in search results

See this :
http://sharepoint.microsoft.com/blogs/LKuhn/Lists/Posts/Post.aspx?ID=49

You could possibly implement your own exclusion system by building in
"cloaking" for your navigation controls.
http://en.wikipedia.org/wiki/Cloaking

1. Implement code in your navigation control to detect the User Agent string
of the current request which will determine if the page is being indexed by
the Enterprise Search Crawler. You can get the crawler user agent string
from the following registry key.

        [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office
Server\12.0\Search\Global\Gathering Manager]

        "UserAgent"="Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS
Search 5.0 Robot)"

2. If the user agent matches the above than this.Visible = false; in your
navigation control will hide it completely and the text will not be indexed.


It's quite complicated to test and implement this sort of thing - Firefox
has a User Agent Switcher add-on which you can use to test your code is
working correctly.

https://addons.mozilla.org/en-US/firefox/addon/59




------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com


Reply via email to