Changeset 32977


Ignore:
Timestamp:
2019-04-04T19:26:16+13:00 (5 years ago)
Author:
ak19
Message:

Dr Bainbridge worked out how to fix the broken format statements in the Paged Images collection for the (Advanced) scanned image collection tutorial and the OAI Service Provider collection of the OAI collection tutorial. For the advanced scanned image tutorial, searching at page level of the XML document didn't show the dates of the search results, only undated. This was because the date metadata was set at a higher level in the item file than the parent, being set at root level. For the OAI collection tutorial, the source link (ex.srclinkFile) no longer worked. It's now been replaced with gsf:link on meta=source, used for regular docs in regular collections. which links to the source image in the OAI collection just fine as well.

Location:
documentation/trunk/tutorial_sample_files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorial_sample_files/niupepa/formats/search_tweak_gs3.txt

    r26080 r32977  
    1212  <i>
    1313    <gsf:choose-metadata>
     14      <gsf:metadata name="Date" format="formatDate" />
    1415      <gsf:metadata name="Date" select="parent" format="formatDate" />
    15       <gsf:metadata name="Date" format="formatDate" />
     16      <gsf:metadata name="Date" select="root" format="formatDate" />     
    1617      <gsf:default>undated</gsf:default>
    1718    </gsf:choose-metadata>
  • documentation/trunk/tutorial_sample_files/oai/format_tweaks/document_content.txt

    r26074 r32977  
    1313      <td>Caption:</td>
    1414      <td><i><gsf:metadata name="ex.dc.Description"/></i><br/>
    15         <a><xsl:attribute name="href"><gsf:metadata name="ex.dc.OrigURL"/></xsl:attribute>
    16           original <gsf:metadata name="ImageWidth"/>x<gsf:metadata name="ImageHeight"/> <gsf:metadata name="ImageType"/> available
    17         </a>
     15        <gsf:link type="source">
     16      original <gsf:metadata name="ImageWidth"/>x<gsf:metadata name="ImageHeight"/> <gsf:metadata name="ImageType"/> available
     17    </gsf:link>
    1818      </td>
    1919    </tr>
Note: See TracChangeset for help on using the changeset viewer.