Changeset 24121


Ignore:
Timestamp:
2011-06-08T13:42:36+12:00 (13 years ago)
Author:
ak19
Message:

Fix to previous commit 24120. 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.

File:
1 edited

Legend:

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

    r24120 r24121  
    9191    </td>
    9292    <td valign="top">
    93       <gsf:metadata name="source"/>
     93      <gsf:link type="source"/>
    9494      <gsf:choose-metadata>
    9595        <gsf:metadata name="thumbicon"/>
    9696        <gsf:metadata name="srcicon"/>
    9797      </gsf:choose-metadata>
    98       <gsf:metadata name="/source"/>
     98      <gsf:link/>
    9999    </td>
    100100    <td valign="top">
     
    121121    </td>
    122122    <td valign="top">
     123          <gsf:link type="source"/>
    123124      <gsf:metadata name="source"/>
    124125      <gsf:choose-metadata>
     
    126127        <gsf:metadata name="srcicon"/>
    127128      </gsf:choose-metadata>
    128       <gsf:metadata name="/source"/>
     129          <gsf:link/>
    129130    </td>
    130131    <td valign="top">
Note: See TracChangeset for help on using the changeset viewer.