Re: [greenstone-users] Two problems to change in my collection

From Richard Managh
DateWed, 03 Jan 2007 15:13:50 +1300
Subject Re: [greenstone-users] Two problems to change in my collection
In-Reply-To (BAY135-F30CC73E9CB9FD1AA9B8D40D6C00-phx-gbl)
Hi César,

I'm not sure I understand your first problem, but I think I can help with the second.


 
2- The second problem is I want that in the search appeares a metadata I am using, "dc.Descripcion", which describes the content of the act (Today there appeares only the metadata "title" and after the name of the file. I suppose I must change in FORMAT, but I don't know if in which one of these:
 
format datelist
<td>[link][icon][/link]</td>
<td>[highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight]</td>
<td>[ex.Date]</td>
 
format hlist
[link][highlight][ex.Title][/highlight][/link]
 
format vlist
<td valign="top">[link][icon][/link]</td>
<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
<td valign="top">[highlight]
{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>
 
format Document Heading
<td valign="top">[link][icon][/link]</td>
<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
<td valign="top">[highlight]
{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>
 
format DocumentText
[Text]
 
format DocumentButtons
Detach|Highlight

I'm assuming you want your dc.description to appear in your search results.

You need to change: format SearchVList to do this.


if your format SearchVList was

format SearchVList "<td valign='top'>[link][icon][/link]</td><td valign='top'>[Title]</td>"

You might change it to:

format SearchVList "<td valign='top'>[link][icon][/link]</td><td valign='top'>[Title]</td><td>Description: [dc.description]</td>"

Or if it doesnt exist, Greenstone is using format vlist instead, so add a format SearchVList line.



Regards,

Richard.

--
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com