source: trunk/gli/help/7-8.htm@ 4583

Last change on this file since 4583 was 4293, checked in by jmt12, 21 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 8.5 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<title>The Gatherer - Help Pages</title>
5</head>
6<body bgcolor="#E0F0E0" link="#000000" vlink="#000000">
7<table border="2" bgcolor="#B0D0B0" cellpadding="5" cellspacing="0" width="100%">
8 <tr>
9 <td align="center" width="15%">
10 <img height="45" src="gatherer_medium.gif" width="45">
11 </td>
12 <td align="center" width="*">
13 <font face="Verdana" size="5">
14 <strong>
157.8 Format Settings
16 </strong>
17 </font>
18 </td>
19 <td align="center" width="15%">
20 <img height="45" src="gatherer_medium.gif" width="45">
21 </td>
22 </tr>
23 <tr bgcolor="#E0F0E0">
24 <td colspan="3" width="100%">
25 <font face="Verdana" size="3">
26<p style="text-align:justify">
27This section discusses the dark art of format settings, and how the Librarian Interface simplifies and enhances access to this powerful feature of Greenstone.
28</p>
29
30 </font>
31 </td>
32 </tr>
33 <tr bgcolor="#E0F0E0">
34 <td align="center" colspan="3" width="100%">
35 <table border="2" cellpadding="2" width="480" bgcolor="#B0D0B0">
36 <tr>
37 <td align="center">
38 <font face="Verdana" size="4">
39 <strong>
40 Contents
41 </strong>
42 </font>
43 </td>
44 </tr>
45 <tr>
46 <td>
47 <table background="gatherer.gif" bgcolor="#FFFFFF" border="0" cellpadding="2" width="100%">
48 <tr>
49 <td colspan="3">
50 <font face="Verdana" size="4">
51 <strong>
52<a href="#SI">Simple instructions</a>
53 </strong>
54 </a>
55 </font>
56 </td>
57 </tr>
58 <tr>
59 <td>
60 &nbsp;
61 </td>
62 <td colspan="2">
63 <font face="Verdana" size="4">
64Format commands
65 </font>
66 </a>
67 </td>
68 </tr>
69 <tr>
70 <td>
71 &nbsp;
72 </td>
73 <td colspan="2">
74 <font face="Verdana" size="4">
75Static vs. Dynamic features
76 </font>
77 </a>
78 </td>
79 </tr>
80 <tr>
81 <td>
82 &nbsp;
83 </td>
84 <td colspan="2">
85 <font face="Verdana" size="4">
86Components
87 </font>
88 </a>
89 </td>
90 </tr>
91 <tr>
92 <td>
93 &nbsp;
94 </td>
95 <td colspan="2">
96 <font face="Verdana" size="4">
97Flag controls
98 </font>
99 </a>
100 </td>
101 </tr>
102 <tr>
103 <td>
104 &nbsp;
105 </td>
106 <td colspan="2">
107 <font face="Verdana" size="4">
108Format string editing
109 </font>
110 </a>
111 </td>
112 </tr>
113 <tr>
114 <td>
115 &nbsp;
116 </td>
117 <td colspan="2">
118 <font face="Verdana" size="4">
119Add format command
120 </font>
121 </a>
122 </td>
123 </tr>
124 <tr>
125 <td>
126 &nbsp;
127 </td>
128 <td colspan="2">
129 <font face="Verdana" size="4">
130Remove format command
131 </font>
132 </a>
133 </td>
134 </tr>
135 <tr>
136 <td>
137 &nbsp;
138 </td>
139 <td colspan="2">
140 <font face="Verdana" size="4">
141Editing assigned controls
142 </font>
143 </a>
144 </td>
145 </tr>
146 </font>
147 </table>
148 </td>
149 </tr>
150 </table>
151 </td>
152 </tr>
153 <tr bgcolor="#E0F0E0">
154 <td colspan="3" width="100%">
155 <img height="20" src="gatherer_small.gif" width="20">
156 <font face="Verdana" size="4">
157 <u>
158<a name="SI">Simple Instructions:</a>
159 </u>
160 <font size="3">
161<p style="text-align:justify">
162Format strings are how you control the appearance of your collection, from where buttons appear on the screen to what colours and icons are displayed in the horizontal component of a DateList classifier. The procedure of using formatting commands can be quite daunting.
163</p>
164<p style="text-align:justify">
165Below the instructions text area are several controls. The lower third of this control area depends on the type of feature you have selected, static vs. dynamic, flag vs. format string. The list at the top of the control area shows the format commands exactly as they appear in the collection configuration file. The two ComboBoxes in the centre (one of which may be disabled, again depending on feature selection) allow you to specify what feature and component are to be formatted.
166</p>
167<p style="text-align:justify">
168When you begin choosing what feature you wish to format, keep in mind that there are two (overlapping) types of feature: static and dynamic. Static features are always the same and are used to format more general parts of the Greenstone collection, such as whether documents show a cover image, or whether the collection should behave differently as it is exclusively HTML based???. Dynamic features are ones based upon the classifiers assigned to the collection. When a selection is made from the 'Choose feature' ComboBox, the controls below change to reflect the current selection.
169</p>
170<p style="text-align:justify">
171If the selected feature is associated with a browsable result page, such as the dynamic features or the static feature Search, there are several components of this page that may be formatted separately. The possible components are DateList, HList, Invisible or VList. For an explanation of these components please refer to the Greenstone Developers Guide. You may also apply a format to an entire feature by choosing the blank entry from the ComboBox. You may also decide to set a default format for all components of a certain type by choosing a blank entry for the features ComboBox.
172</p>
173<p style="text-align:justify">
174Many of the static featured are 'flags' that have only an on or off state. Selecting one of these changes the controls at the button of the view to toggle buttons titled 'True' and 'False'. Selecting one deselects the other. For example, to format DocumentArrowsBottom so that next and previous arrows are show at the bottom of the page, select DocumentArrowsBottom from the feature ComboBox and then click on the True button to prepare the appropriate format command.
175</p>
176<p style="text-align:justify">
177The second type of control provides you with a text area title 'Edit Format String' with a sidebar of controls titled 'Variables'. I will not go into the details of how to write format strings; again, refer to the Greenstone Developers Guide.
178</p>
179<p style="text-align:justify">
180To make string editing simpler a list of predefined 'variables', including the current assigned metadata elements, are provided in a ComboBox. To add a certain variable, first ensure that the editing caret is at the appropriate place within the text area. Next choose the variable from the ComboBox, then press [I]nsert to insert the variable at the cursor position.
181</p>
182<p style="text-align:justify">
183To add a new format command, fill out the details as explained above and click [A]dd Format. The new format command appears in the list of 'Currently Assigned Format Commands'.
184</p>
185<p style="text-align:justify">
186To remove a format command, select it from the list of assigned format commands, then click [R]emove Format.
187</p>
188<p style="text-align:justify">
189To alter an assigned format command, select it from the assigned commands list. The command's details appear in the editing controls; change them as desired. Any changes will be immediately reflected in the assigned command. Select a different feature to stop editing.
190</p>
191
192 </font>
193 </p>
194 </td>
195 </tr>
196</table>
197&nbsp;<br>
198&nbsp;<br>
199&nbsp;<br>
200&nbsp;<br>
201&nbsp;<br>
202&nbsp;<br>
203&nbsp;<br>
204&nbsp;<br>
205&nbsp;<br>
206&nbsp;<br>
207&nbsp;<br>
208&nbsp;<br>
209&nbsp;<br>
210&nbsp;<br>
211&nbsp;<br>
212&nbsp;<br>
213&nbsp;<br>
214&nbsp;<br>
215&nbsp;<br>
216&nbsp;<br>
217&nbsp;<br>
218&nbsp;<br>
219&nbsp;<br>
220&nbsp;<br>
221&nbsp;<br>
222&nbsp;<br>
223&nbsp;<br>
224&nbsp;<br>
225&nbsp;<br>
226&nbsp;<br>
227&nbsp;<br>
228&nbsp;<br>
229</body>
230</html>
Note: See TracBrowser for help on using the repository browser.