Re: [greenstone-users] Highlighting search result

From Katherine Don
DateFri, 04 Feb 2005 09:52:29 +1300
Subject Re: [greenstone-users] Highlighting search result
In-Reply-To (200502020119-j121JB0d023017-hkuhp12-hku-hk)
Hi Dave

Perhaps you need to tell me what you are trying to do.

What I am suggesting is very basic. For example, if you are displaying
say the Title and Source metadata in your format statement, and you want
to bold the Title, then you put <b></b> tags around the Title:

format SearchVList "<td>[link][icon][/link]</td><td><b>[Title]</b>
([Source])</td>"

<b></b> bolds the contents, <i></i> italicises the contents, and <u></u>
underlines.

Is this what you are wanting?

Regards,
Katherine

Dave wrote:
> Hi Katherine,
>
> Could you give me some examples?
> Thanks.
>
> Dave
>
>>-----Original Message-----
>>From: Katherine Don [mailto:kjdon@cs.waikato.ac.nz]
>>Sent: Wednesday, February 02, 2005 5:24 AM
>>To: Dave
>>Cc: greenstone-users@list.scms.waikato.ac.nz
>>Subject: Re: [greenstone-users] Highlighting search result
>>
>>Hi Dave
>>
>>You need to use html tags in your SearchVList format statement to
>>highlight parts of each entry in the search results list.
>>
>>Regards,
>>Katherine Don
>>
>>Dave wrote:
>>
>>>Dear all,
>>>
>>>
>>>
>>>Do there any method that we can highlight the search result list?
>>>
>>>The description of highlighting seems to have no such option:
>>>
>>>[highlight][/highlight] These are used for 'highlighting' (actually
>>>bolding) the selected section in a hierarchical table of contents, and
>>>the selected node in a classifier. Apart from those two cases, this has
>>>no effect. If you actually want to highlight/bold/italicise something in
>>>a list, and have it apply to all items in the list, then use actual html
>>>tags, like <b></b>, <u></u> and <i></i>
>>>
>>>
>>>
>>>Dave
>>>
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>greenstone-users mailing list
>>>greenstone-users@list.scms.waikato.ac.nz
>>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
>