On Saturday, October 26, 2002, at 12:38 AM, Jim Cole wrote:
I don't think there is any way to do this short of writing your own code to change the titles either as they are parsed on their way into the database or as they are returned from the database in response to a query.No, although either one doesn't require much in the way of code. Altering the search results is perhaps the easiest--hunt in htsearch/Display.cc for vars.Add("TITLE"...) and before this, you can alter the str variable to your whim, e.g.
else
{
str = new String(title);
str = str.sub(12); // I think that's the right offset for "The Onion | "
}
vars.Add("TITLE", str);
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
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

