Changeset 32992


Ignore:
Timestamp:
2019-04-05T16:52:39+13:00 (5 years ago)
Author:
ak19
Message:

Forgot to commit. In the OAI collection tutorial, shifting an instance of GS2 specific text to be output only for GS2 and writing equivalent for GS3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/xml-source/tutorial_en.xml

    r32978 r32992  
    45414541</Format>
    45424542</MajorVersion>
    4543 <Text id="0730">This format statement alters how the document view is presented. It includes a screen-sized version of the image that hyperlinks back to the original larger version available on the web. (Unfortunately, the original versions of the images in this sample collection are no longer available on the web. If you want the link to lead to the local copy of the full size image, then use <Format>[ex.srclink]...[/ex.srclink]</Format> in place of <Format>&lt;a href=[ex.dc.OrigURL]&gt;...&lt;/a&gt;</Format>.) Image property information extracted from the image, such as width, height and type, is also displayed as a consequence of using the above format statement.<MajorVersion number="3"> It uses XSLT to construct the hyperlink which makes use of the greenstone metadata containing the link to the original image.</MajorVersion></Text>
     4543<Text id="0730">This format statement alters how the document view is presented. It includes a screen-sized version of the image that hyperlinks back to the original larger version available on the web. (Unfortunately, the original versions of the images in this sample collection are no longer available on the web. If you want the link to lead to the local copy of the full size image, then use <MajorVersion number="2"><Format>[ex.srclink]...[/ex.srclink]</Format> in place of <Format>&lt;a href=[ex.dc.OrigURL]&gt;...&lt;/a&gt;</Format>.)</MajorVersion><MajorVersion number="3"><Format>&lt;gsf:link type=&quot;source&quot;&gt;anchor text goes here&lt;/gsf:link&gt;</Format> instead of creating an <Format>a href</Format> with the value <Format>&lt;gsf:metadata name=&quot;ex.dc.OrigURL&quot;/&gt;</Format>. The use of both is demonstrated in the above format statement, where the smaller screen-size image is hyperlinked to the original image's (defunct, in this case) URL denoted by <Format>ex.dc.OrigURL</Format>, whereas the link in the <i>Caption</i> section leads to the local copy.</MajorVersion> Image property information extracted from the image, such as width, height and type, is also displayed as a consequence of using the above format statement.<MajorVersion number="3"> It uses XSLT to construct the hyperlink which makes use of the greenstone metadata containing the link to the original image.</MajorVersion></Text>
    45444544</NumberedItem>
    45454545<NumberedItem>
Note: See TracChangeset for help on using the changeset viewer.