Changeset 32992
- Timestamp:
- 2019-04-05T16:52:39+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r32978 r32992 4541 4541 </Format> 4542 4542 </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><a href=[ex.dc.OrigURL]>...</a></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><a href=[ex.dc.OrigURL]>...</a></Format>.)</MajorVersion><MajorVersion number="3"><Format><gsf:link type="source">anchor text goes here</gsf:link></Format> instead of creating an <Format>a href</Format> with the value <Format><gsf:metadata name="ex.dc.OrigURL"/></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> 4544 4544 </NumberedItem> 4545 4545 <NumberedItem>
Note:
See TracChangeset
for help on using the changeset viewer.