Re: How to avoid indexing of some part of pages

Mike Causer <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
On Fri, 08 Apr 2005 17:40:13 +0200 Luigi Panzeri <[email protected]> wrote:

> 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?

Enclose each section in
  <!--htdig_noindex-->
     html content you do not want indexed
  <!--/htdig_noindex-->


> 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.

It _is_ a little tricky to find in the documentation.  I've used it, and
knew what I was looking for, but it still took several minutes to find.  
If you look in the section on configuration file attributes
noindex_start and noindex_end describe the function.


Mike
-- 
Mike Causer                          Email - mailto:[email protected]
GPG KeyID 1C2DDA07                       WWW - http://www.mikecauser.com
Flood the fen again! - Wicken Fen enlargement - http://www.wicken.org.uk


-------------------------------------------------------
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.