Re: htdig: max length of titles ?


Geoff Hutchison (ghutchis@wso.williams.edu)
Thu, 17 Dec 1998 10:56:47 -0500


At 10:40 PM -0500 12/16/98, Tom wrote:
>I'd like to keep the title down to 5-8 words if i could or a certain
>number of bytes or characters..

If you don't mind patching the code, it's pretty easy. You'd go into
htdig/Retriever.cc and look for the "Retriever::got_title" method. Then you
put in a test for the length of the title and insert a null in the
appropriate place if it's too long.

I'd supply a short patch, but I should get back to work.
Good luck!

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:29:53 PST