[greenstone-users] Images appear in browse but not search

From Andy Carter
DateThu Mar 13 05:44:40 2008
Subject [greenstone-users] Images appear in browse but not search
Hello,

I am testing Greenstone 3.03 on my Windows XP desktop (a localsite). I'm
building a new test collection of 10 scanned images (using the GLI), just to
figure out the functionality.

I can use browsing classifiers to return results that display the
thumbnails. But when I simply search - via dc.title, creator, or subject - I
return blank documents.
I know there is some problem with the search results not linking, but I
can't figure it out.


here is my search xml:

<gsf:template match="documentNode">
<td valign="top">
<gsf:link type="document">
<gsf:icon type="document"/>
</gsf:link>
</td>
<td>
<gsf:switch>
<gsf:metadata name="Title" select="ancestors" separator=": "/>
<gsf:when test="exists">
<gsf:metadata name="Title" select="ancestors" separator=": "/>:
</gsf:when>
</gsf:switch>
<gsf:link type="document">
<gsf:metadata name="Title"/>
</gsf:link>
</td>
</gsf:template>

Here is my browse xml:

<gsf:template match="documentNode">
<td valign="top">
<gsf:link type="document">
<gsf:icon type="document"/>
</gsf:link>
</td>
<td valign="top">
<gsf:metadata name="srclink"/>
<gsf:choose-metadata>
<gsf:metadata name="thumbicon"/>
<gsf:metadata name="srcicon"/>
</gsf:choose-metadata>
<gsf:metadata name="/srclink"/>
</td>
<td valign="top">
<gsf:choose-metadata>
<gsf:metadata name="dc.Title"/>
<gsf:metadata name="exp.Title"/>
<gsf:metadata name="Title"/>
<gsf:default> Untitled
</gsf:default>
</gsf:choose-metadata>
<gsf:switch>
<gsf:metadata name="Source"/>
<gsf:when test="exists">
<br/>
<i>(
<gsf:metadata name="Source"/>)
</i>
</gsf:when>
</gsf:switch>
</td>
</gsf:template>
<gsf:template match="classifierNode">
<td valign="top">
<gsf:link type="classifier">
<gsf:icon type="classifier"/>
</gsf:link>
</td>
<td valign="top">
<gsf:metadata name="srclink"/>
<gsf:choose-metadata>
<gsf:metadata name="thumbicon"/>
<gsf:metadata name="srcicon"/>
</gsf:choose-metadata>
<gsf:metadata name="/srclink"/>
</td>
<td valign="top">
<gsf:choose-metadata>
<gsf:metadata name="dc.Title"/>
<gsf:metadata name="exp.Title"/>
<gsf:metadata name="Title"/>
<gsf:default> Untitled
</gsf:default>
</gsf:choose-metadata>
<gsf:switch>
<gsf:metadata name="Source"/>
<gsf:when test="exists">
<br/>
<i>(
<gsf:metadata name="Source"/>)
</i>
</gsf:when>
</gsf:switch>
</td>
</gsf:template>
<gsf:template match="classifierNode" mode="horizontal">
<gsf:link type="horizontal">
<gsf:metadata name="Title"/>
</gsf:link>
</gsf:template>


Thanks for any help.

Andy Carter
Digital Projects Manager
Memphis Public Library
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080312/e228a8ca/attachment.html