Changeset 22922
- Timestamp:
- 2010-09-17T17:24:19+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r22920 r22922 1690 1690 <NumberedItem> 1691 1691 <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 resultingformat 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> 1693 1693 <Format> 1694 1694 <td valign="top">[link][icon][/link]</td><br/> … … 1719 1719 </NumberedItem> 1720 1720 <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> 1722 1722 </NumberedItem> 1723 1723 <NumberedItem> … … 1968 1968 <Format> 1969 1969 <style type="text/css"><br/> 1970 body.bgimage \{ background-image: url("_httpimg_/chalk.gif"); \}<br/>1970 body.bgimage \{ background-image: url("_httpimg_/chalk.gif"); scroll repeat-y left top; \}<br/> 1971 1971 </Format> 1972 1972 <Text id="mf-12">Use copy and paste on the <Format>body.bgimage</Format> line to make it look like this: </Text> 1973 1973 <Format> 1974 1974 <style type="text/css"><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/> 1976 body.bgimage \{ background-image: url("_httpimg_/newbgimg.gif"); scroll repeat-y left top; \}<br/> 1977 1977 </Format> 1978 1978 <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> … … 2020 2020 </NumberedItem> 2021 2021 <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 → Programs → Accessories → Command Prompt</Menu>, or <Menu>Start → 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 → Programs → Accessories → Command Prompt</Menu>, or <Menu>Start → Run</Menu> and enter <Command>cmd</Command> as the name of the program to run.</Text> 2023 2023 <Text id="mf-68">You can type <Command>find/?</Command> to see a description of the program and its arguments.</Text> 2024 2024 <Text id="mf-69">To search the macro files for <i><AutoText text="gsdlhead.gif" /></i> type</Text> … … 2050 2050 </NumberedItem> 2051 2051 <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 Ctrland 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> 2053 2053 </NumberedItem> 2054 2054 <NumberedItem> … … 2188 2188 [srclink][srcicon][/srclink],<br/> 2189 2189 {If}{[dc.Format] eq 'Images',<br/> 2190 [srclink][thumbicon][/srclink],<br/> 2191 [link][icon][/link]}}</td> <br/> 2190 [srclink][thumbicon][/srclink],<br/> 2191 {If}{[dc.Format] eq 'Supplementary',<br/> 2192 [srclink][srcicon][/srclink] [link][icon][/link], 2193 [link][icon][/link]}}}</td> <br/> 2192 2194 <td valign=top>[highlight]<br/> 2193 2195 {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}<br/> … … 2232 2234 {If}{[dc.Format] eq 'Images',<br/> 2233 2235 [srclink][thumbicon][/srclink],<br/> 2234 [link][icon][/link]}}</td><br/> 2236 {If}{[dc.Format] eq 'Supplementary', 2237 [srclink][srcicon][/srclink] [link][icon][/link], 2238 [link][icon][/link]}}}</td><br/> 2235 2239 <highlight><td>{If}{[numleafdocs],([numleafdocs])}</td></highlight><br/> 2236 2240 <td valign=top>[highlight]<br/>
Note:
See TracChangeset
for help on using the changeset viewer.