Changeset 24120

Show
Ignore:
Timestamp:
08.06.2011 13:36:42 (8 years ago)
Author:
ak19
Message:

Belongs with revision 24087: Dr Bainbridge fixed Papitha's problem with GS3 not embedding thumbnails of image collections in links that take one to the source document. Katherine explained that we will need to modify the config_format.xsl in interfaces to have process a gsf:link for type=source. Dr Bainbridge found that we needed to make use of the httpPath variable to help us construct the URL path for the link and that we additionally needed to request the assocfilepath metadata in order to get all the meta needed to complete the URL, so now the GS3 java code requests assocfilemeta as well. So now this GS3 collectionConfig.xml template refers to source not srclink.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/collect/modelcol/etc/collectionConfig.xml

    r24083 r24120  
    9191    </td> 
    9292    <td valign="top"> 
    93       <gsf:metadata name="srclink"/> 
     93      <gsf:metadata name="source"/> 
    9494      <gsf:choose-metadata> 
    9595        <gsf:metadata name="thumbicon"/> 
    9696        <gsf:metadata name="srcicon"/> 
    9797      </gsf:choose-metadata> 
    98       <gsf:metadata name="/srclink"/> 
     98      <gsf:metadata name="/source"/> 
    9999    </td> 
    100100    <td valign="top"> 
     
    121121    </td> 
    122122    <td valign="top"> 
    123       <gsf:metadata name="srclink"/> 
     123      <gsf:metadata name="source"/> 
    124124      <gsf:choose-metadata> 
    125125        <gsf:metadata name="thumbicon"/> 
    126126        <gsf:metadata name="srcicon"/> 
    127127      </gsf:choose-metadata> 
    128       <gsf:metadata name="/srclink"/> 
     128      <gsf:metadata name="/source"/> 
    129129    </td> 
    130130    <td valign="top">