On Fri, Jun 13, 2003 at 01:22:22PM +0100, S?rgio Monteiro Basto wrote:
> Sorry, Can you tell me,  how you do it?  or better can you show me an
> example? ,
> I just like to do the same thing.


This was already in teh bottom of the email:
> > > 
> > > You can decide not to index the menu (maybe just follow the links); give
> > > a look at the noindex tag (which is not DTD compliant though - so if you
> > > wanna validate your HTML code this must be skipped).
> > > 
> > > My suggestion is to put all the links in the head section (giving them
> > > structure information - see HTML specification), and to use the
> > > 'htdig_noindex' comment to enclose the menu. For instance
> > > 
> > > <html>
> > > <head>
> > > ....
> > > 
> > > <link href="sect1.htm" rel="next">
> > > <...>
> > > </head>
> > > 
> > > <body>
> > > blah blah ...
> > > 
> > > <!-- htdig_noindex -->
> > > <map>
> > > <div>
> > > <strong>Menu</strong><br>
> > > <ul>
> > > <li><a href="sect1.htm">Sezione 1</a></li>
> > > </ul>
> > > <div>
> > > </map>
> > > <!-- htdig_noindex -->

Or use the following:
http://htdig.org/FAQ.html#q4.15
4.15. Can I use meta tags to prevent htdig from indexing certain files?

Yes, in each HTML file you want to exclude, add the following between the
<HEAD> and </HEAD> tags:

    <META NAME="robots" CONTENT="noindex, follow"> 

    Doing so will allow htdig to still follow links to other documents,
    but will prevent this document from being put into the index itself.
    You can also use "nofollow" to prevent following of links. See the
    section on Recognized META information for more details. For documents
    produced automatically by MhonArc, you can have that line inserted
    automatically by putting it in the MhonArc resource file, in the
    sections IDXPGBEGIN and TIDXPGBEGIN.

    You can also use the noindex_start and noindex_end attributes to
    define one set of tags which will mark sections to be stripped out of
    documents, so they don't get indexed, or you can mark sections with
    the non-DTD <noindex> and </noindex> tags. The noindex_start and
    noindex_end attributes can also be used to suppress in-line JavaScript
    code that wasn't properly enclosed in HTML comment tags (see question
    4.26). In 3.1.6, you can also put a section between <noindex follow>
    and </noindex> tags to turn off indexing of text but still allow htdig
    to follow links.

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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