Re: [htdig] 3.1.1: Does noindex_start, noindex_stop work?


Marjolein Katsma (webmaster@javawoman.com)
Fri, 26 Feb 1999 18:11:49 +0100


At 10:30 1999-02-26 -0600, Gilles Detillieux wrote:
>
>According to Frank Richter:
>> > Yes, it works. As of release version 3.1.0 (or 3.1.1)
>>
>> Hmm, I doesn't work for me...
>>
>> > >I'm trying to use the noindex_start, noindex_stop options to eliminate
>> > >some HTML code from digging, but with no success. Does this really work?
>> > >I've setup a test page at http://www.tu-chemnitz.de/~fri/test/htdig.html
>> > >and tried to ignore words within [...]
>> > ><!--htdig-noindex--> ... but with no success.
>>
>> This page contains:
>> <!--htdig-noindex-->
>> htdig - don't dig this silly text!
>> <!--/htdig-noindex-->
>>
>> "noindex_start" and "..._stop" aren't defined in htdig-build.conf
>> (<!--htdig-noindex--> should be default).
>
>D'oh!! The code and the documentation disagree on what the default is!
>In htdoc/attrs.html, it shows the defaults as <!--htdig-noindex--> and
><!--/htdig-noindex-->, but in htcommon/defaults.cc, they're actually
>defined as <!--htdig_noindex--> and <!--/htdig_noindex-->. Note the
>underscore (_) instead of the hyphen (-). I'd recommend defining them
>in your htdig.conf to what you really want them to be, until we get
>our story straight. :-( I think this was Marjolein's addition, so maybe
>she can recommend which it should be.

Doh indeed... I admit I was totally stumped.

Yes it was my addition - but I sent several patches with this and did not
myself enter it into the CVS tree (I still have to learn CVS). Maybe I sent
different versions using different strings... (my own code, still edited
3.1.0b4 worked ok)

As to what it should be - no preference (as long as it's a legal SGML
comment declaration); but it's probably easier to change the documentation?
 

>
>--
>Gilles R. Detillieux E-mail: <grdetil@scrc.umanitoba.ca>
>Spinal Cord Research Centre WWW:
http://www.scrc.umanitoba.ca/~grdetil
>Dept. Physiology, U. of Manitoba Phone: (204)789-3766
>Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
>------------------------------------
>To unsubscribe from the htdig mailing list, send a message to
>htdig@htdig.org containing the single word "unsubscribe" in
>the SUBJECT of the message.
>

Marjolein Katsma webmaster@javawoman.com
Java Woman - http://javawoman.com/
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Feb 26 1999 - 14:34:13 PST