At 10.23 19/02/99 -0500, Geoff wrote: >Yes, this is a point. Thanks for the code, though it would be great if you >sent patches rather than a whole file. That way we'll be able to see just >your changes. > >See http://dev.htdig.org/patches.html > OK. I'll keep it in mind, for the next time ... thanx. Probably I'll have some troubles the at the begininng, so be kind with me ! And patient ... > >Hmm. I'm a big fan of the no_excerpt_show_top attribute. If the search is >found in the description or normal excerpt, it highlights the search and >shows the exact context. > >If it's not found, it shows the top of the description or the normal >excerpt. With my patch, no_excerpt_show_top keeps on working. But I give high priority to the description. And so, for me, use_meta_description has more power than other options. Please tell me if it is not by you. If I found a description, it is always shown. And, if no excerpt has been found, and no_excerpt_show_top is set to true, it display the top. I think is right. if (config.Boolean("excerpt_show_top", 0) || use_meta_description ) first = 0; else first = allWordsPattern->FindFirstWord(head, which, length); if (first < 0 && config.Boolean("no_excerpt_show_top")) first = 0; // No excerpt, but we want to show the top. >IMHO, this is better than your patch since yours won't highlight the >search if it's found in the description. :-( > That's what it does !!! They are highlighted !!! :-)) >-Geoff > Please let me know !!! CIAO Gabriele ------------------------------------------------------ Gabriele Bartolini - Prato (PO) - Italy [EMAIL PROTECTED] http://space.tin.it/io/gabrbart http://www.po-net.prato.it ------------------------------------------------------ "When I was a kid, my grandfather used to say to me that a fella's life wasn't worth mentioning if he hadn't shared it with some folks along the way." -- Angus, giving his birthday speech -- ------------------------------------------------------ ------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to [EMAIL PROTECTED] containing the single word "unsubscribe" in the SUBJECT of the message.
