Ignore:
Timestamp:
2010-09-17T17:24:19+12:00 (14 years ago)
Author:
ak19
Message:

More updates for the upcoming GS 2.84 release

File:
1 edited

Legend:

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

    r22920 r22922  
    16901690<NumberedItem>
    16911691<Text id="0533-11"><b>Rebuild</b> and <b>preview</b> the collection. You will notice that the <AutoText key="coredm::_Global:labelSubject_" type="italics"/> classifier is empty, searching no longer returns any results, and the document display is useless.</Text>
    1692 <Text id="0533-11b">Although the <AutoText key="coredm::_Global:labelTitle_" type="italics"/> classifier was built on <AutoText key="metadata::ex.Title"/>, it still displays the correct titles, but in the <AutoText key="glidict::GUI.Enrich"/> panel you can see the <AutoText key="metadata::ex.Title"/> metadata are actually the filenames rather than titles of the MARC records. This is because the default <AutoText text="VList"/> format uses the <AutoText key="metadata::exp.Title"/> metadata. In the <AutoText key="glidict::CDM.GUI.Formats"/> section of the <AutoText key="glidict::GUI.Format"/> panel, select <AutoText text="VList"/> in the list of assigned format statements. The resulting format statement looks like:</Text>
     1692<Text id="0533-11b">Although the <AutoText key="coredm::_Global:labelTitle_" type="italics"/> classifier was built on <AutoText key="metadata::ex.Title"/>, it still displays the correct titles, but in the <AutoText key="glidict::GUI.Enrich"/> panel you can see the <AutoText key="metadata::ex.Title"/> metadata are actually the filenames rather than titles of the MARC records. This is because the default <AutoText text="VList"/> format uses the <AutoText key="metadata::exp.Title"/> metadata. In the <AutoText key="glidict::CDM.GUI.Formats"/> section of the <AutoText key="glidict::GUI.Format"/> panel, select <AutoText text="VList"/> in the list of assigned format statements. The format statement looks like:</Text>
    16931693<Format>
    16941694&lt;td valign="top"&gt;[link][icon][/link]&lt;/td&gt;<br/>
     
    17191719</NumberedItem>
    17201720<NumberedItem>
    1721 <Text id="0533-15">To explicitly use the <AutoText key="metadata::exp.Title"/> metadata, in the <AutoText key="glidict::CDM.GUI.Classifiers"/> section, change the <AutoText text="dc.Title;Title"/> <AutoText text="List"/> to use <AutoText key="metadata::exp.Title"/> metadata. Double click the <AutoText text="dc.Title;Title"/> <AutoText text="List"/> in the <AutoText key="glidict::CDM.ClassifierManager.Assigned"/> list, and change the <AutoText text="metadata"/> option to use <AutoText key="metadata::exp.Title"/>. Click <AutoText key="glidict::General.OK" type="button"/>. Do the same thing for the Subject <AutoText text="AZCompactList"/>, changing <AutoText key="metadata::dc.Subject"/> to <AutoText key="metadata::exp.Subject"/>.</Text>
     1721<Text id="0533-15">To explicitly use the <AutoText key="metadata::exp.Title"/> metadata, in the <AutoText key="glidict::CDM.GUI.Classifiers"/> section, change the <AutoText text="dc.Title;ex.Title"/> <AutoText text="List"/> to use <AutoText key="metadata::exp.Title"/> metadata. Double click the <AutoText text="dc.Title;ex.Title"/> <AutoText text="List"/> in the <AutoText key="glidict::CDM.ClassifierManager.Assigned"/> list, and change the <AutoText text="metadata"/> option to use <AutoText key="metadata::exp.Title"/>. Click <AutoText key="glidict::General.OK" type="button"/>. Do the same thing for the Subject <AutoText text="AZCompactList"/>, changing <AutoText key="metadata::dc.Subject"/> to <AutoText key="metadata::exp.Subject"/>.</Text>
    17221722</NumberedItem>
    17231723<NumberedItem>
     
    19681968<Format>
    19691969&lt;style type="text/css"&gt;<br/>
    1970 body.bgimage \{ background-image: url("_httpimg_/chalk.gif"); \}<br/>
     1970body.bgimage \{ background-image: url("_httpimg_/chalk.gif"); scroll repeat-y left top; \}<br/>
    19711971</Format>
    19721972<Text id="mf-12">Use copy and paste on the <Format>body.bgimage</Format> line to make it look like this: </Text>
    19731973<Format>
    19741974&lt;style type="text/css"&gt;<br/>
    1975 /*body.bgimage \{ background-image: url("_httpimg_/chalk.gif"); \}*/<br/>
    1976 body.bgimage \{ background-image: url("_httpimg_/newbgimg.gif"); \}<br/>
     1975/*body.bgimage \{ background-image: url("_httpimg_/chalk.gif"); scroll repeat-y left top; \}*/<br/>
     1976body.bgimage \{ background-image: url("_httpimg_/newbgimg.gif"); scroll repeat-y left top; \}<br/>
    19771977</Format>
    19781978<Text id="mf-13">Here we are changing the background image for the <Format>bgimage</Format> section of the <Format>body</Format> of the page to <Format>newbgimg.gif</Format>.</Text>
     
    20202020</NumberedItem>
    20212021<NumberedItem>
    2022 <Text id="mf-67">Once you have identified the names of the images to be replaced, you need to find out where they occur in the macro files. To do this, search the macro files for the image names using the <AutoText text="find"/> program, which is run in a command prompt. Open a command prompt using <Menu>Start &rarr; Programs &rarr; Accessories &rarr; Command Prompt</Menu>, or <Menu>Start &rarr; Run</Menu> and enter <Command>cmd</Command> as the name of the program to run.</Text>
     2022<Text id="mf-67">Once you have identified the names of the images to be replaced, you need to find out where they occur in the macro files. To do this on Windows, you would search the macro files for the image names using the <AutoText text="find"/> program, which is run in a command prompt. Open a command prompt using <Menu>Start &rarr; Programs &rarr; Accessories &rarr; Command Prompt</Menu>, or <Menu>Start &rarr; Run</Menu> and enter <Command>cmd</Command> as the name of the program to run.</Text>
    20232023<Text id="mf-68">You can type <Command>find/?</Command> to see a description of the program and its arguments.</Text>
    20242024<Text id="mf-69">To search the macro files for <i><AutoText text="gsdlhead.gif" /></i> type</Text>
     
    20502050</NumberedItem>
    20512051<NumberedItem>
    2052 <Text id="0544">On Windows, if the Greenstone Digital Library Local Library Server is already running, re-start it by clicking the world icon on the task bar and then pressing <i>Restart Library</i>. On Linux and Mac, just do a forced reload/refresh of the web browser. On Linux and Mac, just do a forced reload/refresh of the web browser (eg. by pressing Ctrl and the refresh button in Firefox to do a forced reload). If the Local Library Server hasn't been started yet, start it up by selecting <i>Greenstone Digital Library</i> from the <i>Start</i> menu on Windows, or run <Path>./gs-server.sh</Path> on Linux and Mac.</Text>
     2052<Text id="0544">On Windows, if the Greenstone Digital Library Local Library Server is already running, re-start it by clicking the world icon on the task bar and then pressing <i>Restart Library</i>. On Linux and Mac, just do a forced reload/refresh of the web browser (eg. by pressing Shift and the refresh button in Firefox to do a forced reload). If the Local Library Server hasn't been started yet, start it up by selecting <i>Greenstone Digital Library</i> from the <i>Start</i> menu on Windows, or run <Path>./gs-server.sh</Path> on Linux and Mac.</Text>
    20532053</NumberedItem>
    20542054<NumberedItem>
     
    21882188[srclink][srcicon][/srclink],<br/>
    21892189{If}{[dc.Format] eq 'Images',<br/>
    2190 [srclink][thumbicon][/srclink],<br/>
    2191 [link][icon][/link]}}&lt;/td&gt; <br/>
     2190[srclink][thumbicon][/srclink],<br/>
     2191{If}{[dc.Format] eq 'Supplementary',<br/>
     2192[srclink][srcicon][/srclink] [link][icon][/link],
     2193[link][icon][/link]}}}&lt;/td&gt; <br/>
    21922194&lt;td valign=top&gt;[highlight]<br/>
    21932195{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}<br/>
     
    22322234{If}{[dc.Format] eq 'Images',<br/>
    22332235[srclink][thumbicon][/srclink],<br/>
    2234 [link][icon][/link]}}&lt;/td&gt;<br/>
     2236{If}{[dc.Format] eq 'Supplementary',
     2237[srclink][srcicon][/srclink] [link][icon][/link],
     2238[link][icon][/link]}}}&lt;/td&gt;<br/>
    22352239<highlight>&lt;td&gt;{If}{[numleafdocs],([numleafdocs])}&lt;/td&gt;</highlight><br/>
    22362240&lt;td valign=top&gt;[highlight]<br/>
Note: See TracChangeset for help on using the changeset viewer.