Re: Help related to excerpt - long.html (and short.html)
Jim <[email protected]>
| Newsgroups | gmane.comp.web.htdig.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 13 Jul 2005, umesh rawar wrote: > I would like to ask you a following question related > to the htdig and excerpt used in long.html/short.html. > > In htdig long.html (and short.html), we display the > excerpt up to 80 chars (bytes) and > then we display the complete except (based on > no_excerpt_show_top defined in htdig.conf) > > Now is it possible to display the value of column from > mysql database (search the database and get the > corresponding column value) in place of excerpt 80 > chars ? I don't think that there is any simple way to do this. You would either need to hack the source code that performs the template substitution or move the search into some sort of custom wrapper script that handled all of the presentation, including any necessary database calls. Although somewhat dated, the following article contains some useful information on wrapping searches. http://www.devshed.com/c/a/PHP/Search-This/ Jim ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general