I am using Microsoft Search Server 2010 Express to spider a web site and provide search facilities to the site users. In the html of the site, we have various elements that are hidden by means of a css class. For example:
<p class="hidden">Go to <a href="#mainNav" title="main menu">main menu</a></p>
Such text is intended to provide additional assistance for the visually impaired, and is not meaningful in the context of search results.
How can I configure Search Server so that it doesn't include text like this in the hit context of a result?
I was able to resolve this with some help from a colleague. The solution was to create an ASP.NET control which detects the user agent. If it's the search crawler, the output is not rendered.