At 10:20 AM 4/28/2004, Garvin Hicking wrote:
Hi!

We use HTDig successful on a larger-scale project with many nested directory
levels. Now we want to print a certain path/category information for each item
in the HTDig result list.

We need to display that additional to the description/excerpt and the document
title.

The best thing would be that our content-management System inserts '<meta
name="category" value="Category: Garden / Green / Grass" />' into each HTML
file. In the "long.html" template file we would then use $&(META_CATEGORY) or
something like that.

I am not very familar with C/C++ code, but it seems to me that all meta values
are already parsed in HTDig and optionally evaluated. So I guess it must be
easily possible to propagate those keys on the output somehow?

Regards,
Garvin.

use_meta_description: true


put this line in your .conf file to have the meta data displayed as the excerpt. This doesn't display it as "additional" data but as the only data in the excerpt. What I do on product pages is to put a "breadcrumb" trail in the title along with the product's name and then add the product's description in the meta tags. The output that htsearch displays is then quite clear and useful to the user...


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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

Reply via email to