Ok after hooouuuurrrs of wrangling with this, I've solved it!

Nobody told me that you can ONLY have text between the tags you're using to
exclude the content. It seemed perfectly rational to me to mark out the
entire block of HTML that defines the side navigation. Indeed it doesn't
make this clear in the documenation.

I kept trying various different tags/comments/words/godknowswhatelse.
Finally I tried just enclosing each element of the navigation in the comment
tags and it worked.

Fortunately for me, I built a templating system, so I only have to insert
the comment tags once, but if I was building each page manually, it would be
a nightmare!

It seems weird that htdig doesn't support encasing a block of code, doesn't
it?

Antun









> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Geoff
> Hutchison
> Sent: Thursday, July 11, 2002 6:31 PM
> To: Antun Karlovac
> Cc: [EMAIL PROTECTED]
> Subject: Re: [htdig] Getting too many results
>
>
> > So can I do something to the HTML code (some attribute/comment perhaps)
> > that
> > tells htdig to ignore this bit of text?
>
> Yes, of course. You can put in comment tags that will tell ht://Dig to
> ignore everything between them.
>
> By default, the strings are  <!--htdig_noindex-->  <!--/htdig_noindex-->
> But this can be changed:
> <http://www.htdig.org/attrs.html#noindex_start>
>
> --
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> PC Mods, Computing goodies, cases & more
> http://thinkgeek.com/sf
> _______________________________________________
> 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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
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