Changeset 25772 for documentation/trunk/tutorials/xml-source
- Timestamp:
- 2012-06-06T18:58:39+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r25468 r25772 574 574 <Text id="0274">Close the collection by clicking <Menu><AutoText key="glidict::Menu.File"/> → <AutoText key="glidict::Menu.File_Close"/></Menu>. This automatically saves the collection to disk.</Text> 575 575 </NumberedItem> 576 <MajorVersion number="2"> 576 577 <Heading> 577 578 <Text id="0275">Viewing the internal links and external links</Text> … … 581 582 <Text id="0257b">Go back to the web browser and click the <Path>titles</Path> link near the top of the page. Open the file <Path>boleyn.html</Path> and look for the link to <Path>Katharine of Aragon</Path> (in the 5th paragraph of the <Path>Biography</Path> section). This links to a document inside the collection--<Path>aragon.html</Path>. View this document by clicking the link. For an external link, click <Path>letters written by Anne</Path> (in the <Path>Primary Sources</Path> section). This takes you out on to the web. If you want a warning message to be displayed first, you can open <Path>Greenstone → etc → main.cfg</Path> file and uncomment the line <Format>cgiarg shortname=el argdefault=prompt</Format> (remove the # at the start of a line to uncomment it). Note, that if you are already browsing a collection, then you will need to go back to the home page and re-enter the collection to see this take effect (due to caching of the el argument).</Text> 582 583 </NumberedItem> 584 </MajorVersion> 583 585 <Heading> 584 586 <Text id="0277">Setting up a shortcut in the Librarian interface</Text> … … 597 599 <Content> 598 600 <NumberedItem> 599 <Text id="0338">In the Librarian Interface, start a new collection (<Menu><AutoText key="glidict::Menu.File"/> → <AutoText key="glidict::Menu.File_New"/></Menu>) called <b>backdrop</b>. Fill out the fields with appropriate information. For <AutoText key="glidict::NewCollectionPrompt.Base_Collection"/>, select the item <b>Simple image collection</b> from the pull-down menu.</Text> 600 <Comment> 601 <Text id="0338a">This will only be available if the documented example collections are installed. If you don't have this collection, select <AutoText key="glidict::NewCollectionPrompt.NewCollection"/>. You can still build an image collection, but some of the tutorial will not match exactly.</Text> 601 <Text id="0338">In the Librarian Interface, start a new collection (<Menu><AutoText key="glidict::Menu.File"/> → <AutoText key="glidict::Menu.File_New"/></Menu>) called <b>backdrop</b>. Fill out the fields with appropriate information. 602 <MajorVersion number="2">For <AutoText key="glidict::NewCollectionPrompt.Base_Collection"/>, select the item <b>Simple image collection</b> from the pull-down menu.</MajorVersion> 603 <MajorVersion number="3">For <AutoText key="glidict::NewCollectionPrompt.Base_Collection"/>, select the item <b>Other Collections</b> from the pull-down menu and choose the <b>image-e</b> collection (Simple image collection) from the dialog that opens.</MajorVersion> 604 </Text> 605 <Comment> 606 <Text id="0338a">This will only be available if the documented example collections are installed. If you don't have this collection, select <AutoText key="glidict::NewCollectionPrompt.NewCollection"/>. You can still build an image collection, but some of the tutorial will not match exactly. </Text> 602 607 <Text id="0340a">When you base a collection on an existing one, it inherits all the settings of the old one, including which metadata sets (if any) the collection uses.</Text> 603 608 </Comment> … … 641 646 </Heading> 642 647 <NumberedItem> 643 <Text id="0358">Now we customize the collection's appearance. Go to the <AutoText key="glidict::GUI.Format"/> panel and select <AutoText key="glidict::CDM.GUI.Formats"/> from the left-hand list. Leave the feature selection controls at their default values, so that <AutoText key="glidict::CDM.FormatManager.AllFeatures" type="italics"/> is selected for <AutoText key="glidict::CDM.FormatManager.Feature"/>, and <AutoText text="VList" /> is selected as the <AutoText key="glidict::CDM.FormatManager.Part"/>. In the <AutoText key="glidict::CDM.FormatManager.Editor"/>, edit the text as follows:</Text> 648 <Text id="0358">Now we customize the collection's appearance. Go to the <AutoText key="glidict::GUI.Format"/> panel and select <AutoText key="glidict::CDM.GUI.Formats"/> from the left-hand list.</Text> 649 <MajorVersion number="2"><Text id="0359c">Leave the feature selection controls at their default values, so that <AutoText key="glidict::CDM.FormatManager.AllFeatures" type="italics"/> is selected for <AutoText key="glidict::CDM.FormatManager.Feature"/>, and <AutoText text="VList" /> is selected as the <AutoText key="glidict::CDM.FormatManager.Part"/>. In the <AutoText key="glidict::CDM.FormatManager.Editor"/>, edit the text as follows:</Text></MajorVersion> 650 <MajorVersion number="3"><Text id="0359d">Click on the <b>browse</b> Format Feature. Find the section under <b>documentNode</b> where it says</Text> 651 <Format><td valign="top"><gsf:displayText name="ImageName"/>:<gsf:metadata name="Image"/><br/><gsf:displayText name="Width"/>:<gsf:metadata name="ImageWidth"/><br/><gsf:displayText name="Height"/>:<gsf:metadata name="ImageHeight"/><br/><gsf:displayText name="Size"/>:<gsf:metadata name="ImageSize"/></td></Format><Text id="0395d">Edit the text as follows:</Text></MajorVersion> 644 652 <BulletList> 645 653 <Bullet> 646 <Text id="0359">Change <Format>_ImageName_:</Format> to <Format>Title:</Format></Text> 647 </Bullet> 648 <Bullet> 649 <Text id="0359a">Change <Format>[Image]</Format> to <Format>[dc.Title]</Format></Text> 650 </Bullet> 651 <Bullet> 652 <Text id="0359b">After <Format>[dc.Title]<br></Format> add <Format>Description: [dc.Description]<br></Format></Text> 654 <MajorVersion number="2"><Text id="0359">Change <Format>_ImageName_:</Format> to <Format>Title:</Format></Text></MajorVersion> 655 <MajorVersion number="3"><Text id="0359e">Change <Format><gsf:displayText name="ImageName"/>:</Format> to <Format>Title:</Format></Text></MajorVersion> 656 </Bullet> 657 <Bullet> 658 <Text id="0359a"> 659 <MajorVersion number="2">Change <Format>[Image]</Format> to <Format>[dc.Title]</Format></MajorVersion> 660 <MajorVersion number="3">Change <Format><gsf:metadata name="Image"/></Format> to <Format><gsf:metadata name="dc.Title"/></Format></MajorVersion> 661 </Text> 662 </Bullet> 663 <Bullet> 664 <Text id="0359b"> 665 <MajorVersion number="2">After <Format>[dc.Title]<br></Format> add <Format>Description: [dc.Description]<br></Format></MajorVersion> 666 <MajorVersion number="3">After <Format><gsf:metadata name="dc.Title"/><br/></Format> add <Format>Description: <gsf:metadata name="dc.Description"/><br/></Format></MajorVersion> 667 </Text> 653 668 </Bullet> 654 669 </BulletList> … … 658 673 </NumberedItem> 659 674 <NumberedItem> 660 <Text id="0361a"> The new format statement is displayed in the list of assigned format statements.The first substitution alters the fragment of text that appears to the right of the thumbnail image, the second alters the item of metadata that follows it. The addition displays the description after the Title.</Text>675 <Text id="0361a"><MajorVersion number="2">The new format statement is displayed in the list of assigned format statements. </MajorVersion>The first substitution alters the fragment of text that appears to the right of the thumbnail image, the second alters the item of metadata that follows it. The addition displays the description after the Title.</Text> 661 676 </NumberedItem> 662 677 <NumberedItem>
Note:
See TracChangeset
for help on using the changeset viewer.