Re: How to avoid indexing of some part of pages

"Dan Langille" <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <42567825.11586.87FE8F5@localhost>
On 8 Apr 2005 at 17:40, Luigi Panzeri wrote:

> I have to install a search engine for a website, built with a
> template. So every html page has lateral menu, header and footer
> written in, without server-side processing.
> 
> If I search a term that is in a menu link, i get as a result every
> page, because in fact every page has the menu containing that word.
> 
> How can i avoid that the menu, the header and the footer could be
> excluded from indexing? Is there an hack, also involving scripting and
> apache RewriteRule?
> 
> Sorry if it is a FAQ, but i didnt found any answer to this question in
> the doc/google maybe due to difficulty for me, as non English speaker,
> to formulate a good query.

Perhaps http://www.htdig.org/FAQ.html#q4.15 is useful.  Note the  
noindex_start and noindex_end features:

   http://www.htdig.org/attrs.html#noindex_start
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
   NEW brochure available at http://www.bsdcan.org/2005/advocacy/



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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.