| 3395 | </Format> |
| 3396 | </MajorVersion> |
| 3397 | <MajorVersion number="3"> |
| 3398 | <Text id="0719">In the <AutoText key="glidict::GUI.Format"/> panel, select <AutoText key="glidict::CDM.GUI.Formats"/>. First, in the <AutoText text="browse" /> format statement, replace the templates for <AutoText text="documentNode"/> and <AutoText text="classifierNode"/> for <AutoText text="VList"/>s with the following.</Text> |
| 3399 | <Format> |
| 3400 | <gsf:template match="documentNode"><br /> |
| 3401 | <Tab n="1"/><td valign="top"><br /> |
| 3402 | <Tab n="2"/><gsf:link type="document"><br /> |
| 3403 | <Tab n="3"/><gsf:metadata name="thumbicon"/><br /> |
| 3404 | <Tab n="2"/></gsf:link><br /> |
| 3405 | <Tab n="1"/></td><br /> |
| 3406 | <Tab n="1"/><td valign="middle"><br /> |
| 3407 | <Tab n="2"/><i><br /> |
| 3408 | <Tab n="3"/><gsf:metadata name="ex.dc.Description"/><br /> |
| 3409 | <Tab n="2"/></i><br /> |
| 3410 | <Tab n="1"/></td><br /> |
| 3411 | </gsf:template> |
| 3412 | </Format> |
| 3413 | <Format> |
| 3414 | <gsf:template match="classifierNode[@classifierStyle = 'VList']"><br /> |
| 3415 | <Tab n="1"/><td valign="top"><br /> |
| 3416 | <Tab n="2"/><gsf:link type="classifier"><br /> |
| 3417 | <Tab n="3"/><gsf:icon type="classifier"/><br /> |
| 3418 | <Tab n="2"/></gsf:link><br /> |
| 3419 | <Tab n="1"/></td><br /> |
| 3420 | <Tab n="1"/><td valign="top"><br /> |
| 3421 | <Tab n="2"/><xsl:call-template name="choose-title"/><br /> |
| 3422 | <Tab n="1"/></td><br /> |
| 3423 | </gsf:template> |
| 3424 | </Format> |
| 3425 | </MajorVersion> |
| 3426 | <Comment> |
| 3427 | <Text id="0721">This format statement customizes the appearance of vertical lists such as the search results and captions lists to show a thumbnail icon followed by Description metadata.</Text> |
| 3428 | </Comment> |
| 3429 | </NumberedItem> |
| 3430 | <NumberedItem> |
| 3431 | <Text id="0722">Next, select <MajorVersion number="2"><AutoText text="DocumentHeading"/></MajorVersion><MajorVersion number="3">the <AutoText text="documentHeading"/> in the <AutoText text="display"/> format statement </MajorVersion> from the <AutoText key="glidict::CDM.GUI.Formats"/> list and change its format statement to:</Text> |
| 3432 | <MajorVersion number="2"> |
| 3433 | <Format><h3>[ex.dc.Subject]</h3></Format> |
| 3434 | </MajorVersion> |
| 3435 | <MajorVersion number="3"> |
| 3436 | <Format> |
| 3437 | <gsf:template name="documentHeading"><br /> |
| 3438 | <h3><br /> |
| 3439 | <gsf:metadata name="ex.dc.Subject"/><br /> |
| 3440 | </h3><br /> |
| 3441 | </gsf:template> |
3395 | | <Comment> |
3396 | | <Text id="0721">This format statement customizes the appearance of vertical lists such as the search results and captions lists to show a thumbnail icon followed by Description metadata.</Text> |
3397 | | </Comment> |
3398 | | </NumberedItem> |
3399 | | <NumberedItem> |
3400 | | <Text id="0722">Next, select <AutoText text="DocumentHeading"/> from the <AutoText key="glidict::CDM.FormatManager.Feature"/> pull-down list and change its format statement to: </Text> |
3401 | | <Format><h3>[ex.dc.Subject]</h3></Format> |
3402 | | <Comment> |
3403 | | <Text id="0723">The document heading appears above the <AutoText key="coredm::_document:textDETACH_" type="italics"/> and <AutoText key="coredm::_document:textNOHIGHLIGHT_" type="italics"/> buttons when you get to a document in the collection. By default <AutoText text="DocumentHeading"/> displays the document's <AutoText key="metadata::ex.Title"/> metadata. In this particular set of OAI exported records, titles are filenames of JPEG images, and the filenames are particularly uninformative (for example, 01dla14). You can see them in the <AutoText key="glidict::GUI.Enrich"/> panel if you select an image in <Path>oai → JCDLPICS → srcdocs</Path> and check its <AutoText key="metadata::ex.Source"/> and <AutoText key="metadata::ex.Title"/> metadata. The above format statement displays <AutoText key="metadata::ex.dc.Subject"/> metadata instead.</Text> |
3404 | | </Comment> |
3405 | | </NumberedItem> |
3406 | | <NumberedItem> |
| 3443 | </MajorVersion> |
| 3444 | <Comment> |
| 3445 | <Text id="0723"><MajorVersion number="2">The document heading appears above the <AutoText key="coredm::_document:textDETACH_" type="italics"/> and <AutoText key="coredm::_document:textNOHIGHLIGHT_" type="italics"/> buttons when you get to a document in the collection.</MajorVersion> By default <MajorVersion number="2"><AutoText text="DocumentHeading"/></MajorVersion><MajorVersion number="3"><AutoText text="documentHeading"/></MajorVersion> displays the document's <AutoText key="metadata::ex.Title"/> metadata. In this particular set of OAI exported records, titles are filenames of JPEG images, and the filenames are particularly uninformative (for example, 01dla14). You can see them in the <AutoText key="glidict::GUI.Enrich"/> panel if you select an image in <Path>oai → JCDLPICS → srcdocs</Path> and check its <AutoText key="metadata::ex.Source"/> and <AutoText key="metadata::ex.Title"/> metadata. The above format statement displays <AutoText key="metadata::ex.dc.Subject"/> metadata instead.</Text> |
| 3446 | </Comment> |
| 3447 | </NumberedItem> |
| 3448 | <NumberedItem> |
| 3449 | <MajorVersion number="2"> |
3416 | | <tr><td>Rights:<td> [ex.dc.Rights]</td></tr><br/> |
3417 | | </table></center></Format> |
3418 | | <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. Factual information extracted from the image, such as width, height and type, is also displayed.</Text> |
| 3459 | <tr><td>Rights:</td><td> [ex.dc.Rights]</td></tr><br/> |
| 3460 | </table></center></Format> |
| 3461 | </MajorVersion> |
| 3462 | <MajorVersion number="3"> |
| 3463 | <Text id="0727">Finally, select <AutoText text="display"/> in the <AutoText key="glidict::CDM.GUI.Formats"/> list and use the following as its format statement:</Text> |
| 3464 | <Format> |
| 3465 | <gsf:template name="documentContent"><br /> |
| 3466 | <Tab n="1"/><table><br /> |
| 3467 | <Tab n="2"/><tr><br /> |
| 3468 | <Tab n="3"/><td colspan="2" align="center"><br /> |
| 3469 | <Tab n="4"/><a><xsl:attribute name="href"><br /> |
| 3470 | <Tab n="5"/><gsf:metadata name="ex.dc.OrigURL"/><br /> |
| 3471 | <Tab n="5"/></xsl:attribute><br /> |
| 3472 | <Tab n="5"/><gsf:metadata name="screenicon"/><br /> |
| 3473 | <Tab n="4"/></a><br /> |
| 3474 | <Tab n="3"/></td><br /> |
| 3475 | <Tab n="2"/></tr><br /> |
| 3476 | <Tab n="2"/><tr><br /> |
| 3477 | <Tab n="3"/><td>Caption:</td><br /> |
| 3478 | <Tab n="3"/><td><i><gsf:metadata name="ex.dc.Description"/></i><br/><br /> |
| 3479 | <Tab n="3"/><a><xsl:attribute name="href"><gsf:metadata name="ex.dc.OrigURL"/></xsl:attribute><br /> |
| 3480 | <Tab n="4"/>original <gsf:metadata name="ImageWidth"/>x<gsf:metadata name="ImageHeight"/> <gsf:metadata name="ImageType"/> available<br /> |
| 3481 | <Tab n="3"/></a><br /> |
| 3482 | <Tab n="3"/></td><br /> |
| 3483 | <Tab n="2"/></tr><br /> |
| 3484 | <Tab n="2"/><tr><br /> |
| 3485 | <Tab n="3"/><td>Subject:</td><br /> |
| 3486 | <Tab n="3"/><td><gsf:metadata name="ex.dc.Subject"/></td><br /> |
| 3487 | <Tab n="2"/></tr><br /> |
| 3488 | <Tab n="2"/><tr><br /> |
| 3489 | <Tab n="3"/><td>Publisher:</td><br /> |
| 3490 | <Tab n="3"/><td><gsf:metadata name="ex.dc.Publisher"/></td><br /> |
| 3491 | <Tab n="2"/></tr><br /> |
| 3492 | <Tab n="2"/><tr><br /> |
| 3493 | <Tab n="3"/><td>Rights:</td><br /> |
| 3494 | <Tab n="3"/><td><gsf:metadata name="ex.dc.Rights"/></td><br /> |
| 3495 | <Tab n="2"/></tr><br /> |
| 3496 | <Tab n="1"/></table><br /> |
| 3497 | </gsf:template> |
| 3498 | </Format> |
| 3499 | </MajorVersion> |
| 3500 | <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. Factual information extracted from the image, such as width, height and type, is also displayed.<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> |