Changeset 27121

Show
Ignore:
Timestamp:
25.03.2013 12:13:39 (6 years ago)
Author:
jlwhisler
Message:

Changes to dspace and gems tutorials. Fixed format statements for EquivDoc? links in GS3. Corrected format statements for GS3 in dspace to Greenstone tutorial. Added |3.05 to Version’s current attribute. Added Auto Text for GS3 to correspond with GS2’s coredm keys – so tutorials for GS3 can be generated properly from a Greenstone 3 installation. Corrected file path to Gems for GS3.

Files:
1 modified

Legend:

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

    r27118 r27121  
    34493449    </gsf:switch> 
    34503450</Format> 
    3451 <Text id="0686b-31a">with this:</Text> 
     3451<Text id="0686b-31a">with this, which can also be copied from the file <Path>titles_tweak_gs3.txt</Path>:</Text> 
    34523452<Format> 
    34533453  &lt;/td&gt;<br /> 
     
    371737171:images/12_3_6_1.gif:text/12_3_6_1.txt 
    37183718</Format> 
    3719 <Text id="sc16">Note that if there is no text file, you can leave that space blank. You need to add a line for each page in the document. Make sure you increment the page number as well as the image number for each line. (The full text for this file can be copied from <Path>sample_files &rarr; niupepa &rarr; formats &rarr; 12item_text.txt</Path>.)</Text> 
     3719<Text id="sc16">Note that if there is no text file, you can leave that space blank. You need to add a line for each page in the document. Make sure you increment the page number as well as the image number for each line. (The full text for this file can be copied from <Path>sample_files &rarr; niupepa &rarr; formats &rarr; 12_3_6.item</Path>.)</Text> 
    37203720</NumberedItem> 
    37213721<NumberedItem> 
     
    42734273</NumberedItem> 
    42744274<NumberedItem> 
    4275 <Text id="0768">In the <AutoText key="glidict::GUI.Gather"/> panel, locate the folder <Path>sample_files &rarr; dspace</Path>. It contains five example items exported from a DSpace institutional repository. Copy them into your collection by dragging them over to the right-hand side of the panel. Cancel out of any dialog offering to add plugins.</Text> 
     4275<Text id="0768">In the <AutoText key="glidict::GUI.Gather"/> panel, locate the folder <Path>sample_files &rarr; dspace</Path>. It contains five example items exported from a DSpace institutional repository. Copy them into your collection by dragging them over to the right-hand side of the panel. Cancel out any dialog offering to add plugins.</Text> 
    42764276</NumberedItem> 
    42774277<NumberedItem> 
     
    42794279</NumberedItem> 
    42804280<Comment> 
    4281 <Text id="0770">If you browse by <AutoText key="coredm::_Global:labelTitle_" type="italics"/>, you will find 7 documents listed, though only 5 items were exported from DSpace. Two of the original items had alternative forms in their directory folder. The DSpace plug-in options control what happens in such situations: the default is to treat them as separate Greenstone documents.</Text> 
     4281<Text id="0770">If you browse by <MajorVersion number="2"><AutoText key="coredm::_Global:labelTitle_"/></MajorVersion><MajorVersion number="3"><AutoText key="gs3::metadata_names::Title.buttonname" /></MajorVersion>, you will find 7 documents listed, though only 5 items were exported from DSpace. Two of the original items had alternative forms in their directory folder. The DSpace plug-in options control what happens in such situations: the default is to treat them as separate Greenstone documents.</Text> 
    42824282</Comment> 
    42834283<Comment> 
     
    43074307</NumberedItem> 
    43084308<NumberedItem> 
    4309 <Text id="0780">Now select the <AutoText key="glidict::CDM.GUI.Formats"/> section of the <AutoText key="glidict::GUI.Format"/> panel, and select the <MajorVersion number="2"><AutoText text="VList" /></MajorVersion><MajorVersion number="3"><AutoText key="coredm::_Global:labelBrowse_"/></MajorVersion> format statement in the list of assigned format statements. Add the following text before the final <Format>&lt;/td&gt;</Format><MajorVersion number="3"> of the <AutoText text="documentNode"/> template</MajorVersion>:</Text> 
     4309<Text id="0780">Now select the <AutoText key="glidict::CDM.GUI.Formats"/> section of the <AutoText key="glidict::GUI.Format"/> panel, and select the <MajorVersion number="2"><AutoText text="VList" /></MajorVersion><MajorVersion number="3"><AutoText text="browse"/></MajorVersion> format statement in the list of assigned format statements. Add the following text before the final <Format>&lt;/td&gt;</Format><MajorVersion number="3"> of the <AutoText text="documentNode"/> template</MajorVersion>:</Text> 
    43104310<Format> 
    43114311<MajorVersion number="2">{If}{[ex.equivlink],&lt;br&gt;Also available as:[ex.equivlink]}</MajorVersion> 
     
    43144314        <Tab n="1"/>&lt;gsf:metadata name=&quot;equivDocLink&quot;/&gt;<br /> 
    43154315        <Tab n="1"/>&lt;gsf:when test=&quot;exists&quot;&gt;<br /> 
    4316       <Tab n="2"/>&lt;br/&gt;Also available as:&lt;gsf:equivlinkgs3/&gt;<br /> 
     4316      <Tab n="2"/>&lt;br/&gt;Also available as: <br /> 
     4317      <Tab n="2"/>&lt;gsf:metadata name=&quot;equivDocLink&quot;/&gt;<br/> 
     4318      <Tab n="2"/>&lt;gsf:metadata name=&quot;equivDocIcon&quot;/&gt;<br/> 
     4319      <Tab n="2"/>&lt;gsf:metadata name=&quot;/equivDocLink&quot;/&gt;<br/> 
    43174320        <Tab n="1"/>&lt;/gsf:when&gt;<br /> 
    43184321      &lt;/gsf:switch&gt; 
     
    43274330</NumberedItem> 
    43284331<NumberedItem> 
    4329 <Text id="0783"><MajorVersion number="2">Leave <AutoText text="VList" /> as the <AutoText key="glidict::CDM.FormatManager.Part"/> and click</MajorVersion><MajorVersion number="3">Click</MajorVersion> <AutoText key="glidict::CDM.FormatManager.Add" type="button"/>. Edit the text in the <AutoText key="glidict::CDM.FormatManager.Editor"/> box. <MajorVersion number="3">Adjust the <AutoText text="documentNode"/> template of this format statement to make reference to <Format>&lt;gsf:equivlinkgs3/&gt;</Format> too, exactly as in the previous step. Then replace</MajorVersion><MajorVersion number="2">Replace</MajorVersion></Text> 
     4332<Text id="0783"><MajorVersion number="2">Leave <AutoText text="VList" /> as the <AutoText key="glidict::CDM.FormatManager.Part"/> and click</MajorVersion><MajorVersion number="3">Click</MajorVersion> <AutoText key="glidict::CDM.FormatManager.Add" type="button"/>. <MajorVersion number="3">Adjust the <AutoText text="documentNode"/> template of this format statement to make reference to <Format>&lt;gsf:equivDocLink/&gt;</Format>  too, exactly as in the previous step. Then replace</MajorVersion><MajorVersion number="2">Edit the text in the <AutoText key="glidict::CDM.FormatManager.Editor"/> box.  Replace</MajorVersion></Text> 
    43304333<Format> 
    43314334<MajorVersion number="2">{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}</MajorVersion> 
     
    43424345</Format> 
    43434346<MajorVersion number="3"> 
    4344 <Text id="0783b">Then scroll down to the <AutoText text="classifierNode"/> template for <AutoText text="VList" />s. Here too, locate the same <Format>&lt;gsf:choose-metadata&gt; ... &lt;/gsf:choose-metadata&gt;</Format> format statement as before, but this time replace it with the following:</Text> 
    4345 <Format> 
    4346 &lt;gsf:metadata name=&quot;Title&quot;/&gt;(&lt;gsf:metadata name=&quot;numleafdocs&quot;/&gt;) 
    4347 </Format> 
    4348 </MajorVersion> 
    4349 <Text id="0784">This will display the number of documents for each bookshelf in the <AutoText key="coredm::_Global:labelContributor_" type="italics"/> classifier. 
     4347<Text id="0783b">Then scroll down to the <AutoText text="classifierNode"/> template for <AutoText text="VList" />s. Here, replace:</Text> 
     4348<Format> 
     4349&lt;gsf:metadata name=&quot;Title&quot;/&gt; 
     4350</Format> 
     4351<Text id="0783c">with</Text> 
     4352<Format> 
     4353&lt;gsf:metadata name=&quot;Title&quot;/&gt; (&lt;gsf:metadata name=&quot;numleafdocs&quot;/&gt;) 
     4354</Format> 
     4355</MajorVersion> 
     4356<Text id="0784">This will display the number of documents for each bookshelf in the <MajorVersion number="2"><AutoText key="coredm::_Global:labelContributor_" type="italics"/></MajorVersion><MajorVersion number="3"><AutoText text="Contributors" type="italics"/></MajorVersion> classifier. 
    43504357<MajorVersion number="3">And for individual documents within each bookshelf, it will display the <AutoText text="ex.dc.Title"/>.</MajorVersion></Text> 
    43514358</NumberedItem> 
     
    43634370</Title> 
    43644371<Prerequisite id="dspace_to_greenstone"/> 
    4365 <Version initial="2.60" current="2.85"/> 
     4372<Version initial="2.60" current="2.85|3.05"/> 
    43664373<Content> 
    43674374<Comment> 
     
    44134420<Text id="gems-1">Editing metadata sets</Text> 
    44144421</Title> 
    4415 <Version initial="2.70w" current="2.85"/> 
     4422<Version initial="2.70w" current="2.85|3.05"/> 
    44164423<Content> 
    44174424<Text id="gems-2">GEMS (Greenstone Editor for Metadata Sets) can be used to modify existing metadata sets or create new ones. GEMS is launched from the Librarian Interface when you want to create a new metadata set, or edit an existing one. In this exercise, we run GEMS outside of the Librarian Interface.</Text> 
     
    44214428<NumberedItem> 
    44224429<Text id="gems-4">Start the Greenstone Editor for Metadata Sets (GEMS)</Text> 
    4423 <Text id="gems-5"><Menu>Start &rarr; All Programs &rarr; Greenstone-2.85 &rarr; Metadata Set Editor (GEMS)</Menu></Text> 
     4430<Text id="gems-5"><MajorVersion number="2"><Menu>Start &rarr; All Programs &rarr; Greenstone-2.85 &rarr; Metadata Set Editor (GEMS)</Menu></MajorVersion><MajorVersion number="3"><Menu>Start &rarr; All Programs &rarr; Greenstone-3.05 &rarr; Greenstone Editor for Metadata Sets (GEMS)</Menu></MajorVersion></Text> 
    44244431<Text id="gems-5a">(If you're on Linux, use a terminal to run the <Command>gli/gems.sh</Command> start-up script.) </Text> 
    44254432</NumberedItem>