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>
|
---|
15 | 10.1 Search And Replace
|
---|
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">
|
---|
27 | This section explains the search and replace functionality of the Librarian Interface.
|
---|
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 |
|
---|
61 | </td>
|
---|
62 | <td colspan="2">
|
---|
63 | <font face="Verdana" size="4">
|
---|
64 | Search and replace
|
---|
65 | </font>
|
---|
66 | </a>
|
---|
67 | </td>
|
---|
68 | </tr>
|
---|
69 | <tr>
|
---|
70 | <td colspan="3">
|
---|
71 | <font face="Verdana" size="4">
|
---|
72 | <strong>
|
---|
73 | <a href="#AI">Advanced instructions</a>
|
---|
74 | </strong>
|
---|
75 | </a>
|
---|
76 | </font>
|
---|
77 | </td>
|
---|
78 | </tr>
|
---|
79 | <tr>
|
---|
80 | <td>
|
---|
81 |
|
---|
82 | </td>
|
---|
83 | <td colspan="2">
|
---|
84 | <font face="Verdana" size="4">
|
---|
85 | Match case
|
---|
86 | </font>
|
---|
87 | </a>
|
---|
88 | </td>
|
---|
89 | </tr>
|
---|
90 | <tr>
|
---|
91 | <td>
|
---|
92 |
|
---|
93 | </td>
|
---|
94 | <td colspan="2">
|
---|
95 | <font face="Verdana" size="4">
|
---|
96 | Regular expressions
|
---|
97 | </font>
|
---|
98 | </a>
|
---|
99 | </td>
|
---|
100 | </tr>
|
---|
101 | <tr>
|
---|
102 | <td>
|
---|
103 |
|
---|
104 | </td>
|
---|
105 | <td colspan="2">
|
---|
106 | <font face="Verdana" size="4">
|
---|
107 | Search space
|
---|
108 | </font>
|
---|
109 | </a>
|
---|
110 | </td>
|
---|
111 | </tr>
|
---|
112 | </font>
|
---|
113 | </table>
|
---|
114 | </td>
|
---|
115 | </tr>
|
---|
116 | </table>
|
---|
117 | </td>
|
---|
118 | </tr>
|
---|
119 | <tr bgcolor="#E0F0E0">
|
---|
120 | <td colspan="3" width="100%">
|
---|
121 | <img height="20" src="gatherer_small.gif" width="20">
|
---|
122 | <font face="Verdana" size="4">
|
---|
123 | <u>
|
---|
124 | <a name="SI">Simple Instructions:</a>
|
---|
125 | </u>
|
---|
126 | <font size="3">
|
---|
127 | <p style="text-align:justify">
|
---|
128 | It becomes tedious to correct a spelling mistake in an metadata value one occurrence at time. Consequently the Librarian Interface includes a search and replace feature that allows text to be modified over the entire breadth of a collection. To search, click on the menu item [E]dit -> [S]earch, and to replace choose [E]dit- >Search and [R]eplace. Both prompts are essentially the same, but the former has the replace part disabled.
|
---|
129 | </p>
|
---|
130 | <p style="text-align:justify">
|
---|
131 | Type the term that you seek and press [F]ind to begin the search. The first matching text will be shown, in the appropriate view, using highlighting. Furthermore the [F]ind button is disabled and two new buttons become active. Find [N]ext carries on searching from the last match found, while re[S]tart causes the search position to be reset to the start so that pressing the re-enabled find button find the first match again.
|
---|
132 | </p>
|
---|
133 | <p style="text-align:justify">
|
---|
134 | If a replace prompt was chosen, you may type a text string to be substituted for any matches to the search term. When you enter a value in the 'Replace with' field, two new buttons become active. [R]eplace replaces the currently located text with the replacement text. If no text has yet been found, a find operation is run first. Replace [A]ll replaces all occurrences of the search term within the search space. Once you have performed a replace operation, the [U]ndo button becomes active. Clicking this will undo the most recent operation (or operations if you chose replace all). The Re[D]o button redoes something you've just undone. During any of these steps, Re[S]tart works exactly as described above (although the first match returned may not be the same if you have substituted it with replacement text).
|
---|
135 | </p>
|
---|
136 | <p style="text-align:justify">
|
---|
137 | At any time, in either prompt you may click the [C]lose button to hide the dialog prompt.
|
---|
138 | </p>
|
---|
139 |
|
---|
140 | </font>
|
---|
141 | </p>
|
---|
142 | </td>
|
---|
143 | </tr>
|
---|
144 | <tr bgcolor="#E0F0E0">
|
---|
145 | <td colspan="3" width="100%">
|
---|
146 | <img height="20" src="gatherer_small.gif" width="20">
|
---|
147 | <font face="Verdana" size="4">
|
---|
148 | <u>
|
---|
149 | <a name="AI">Advanced Instructions:</a>
|
---|
150 | </u>
|
---|
151 | <font size="3">
|
---|
152 | <p style="text-align:justify">
|
---|
153 | Below the text fields are several checkboxes that allow you to further customize the search. By default all searches are case insensitive, but you can change this by checking the match case box.
|
---|
154 | </p>
|
---|
155 | <p style="text-align:justify">
|
---|
156 | You can also use regular expressions within the search and replace text fields. Most standard regular expression functionality is supported, including capture groups. For instance you could choose to search for 'Re\(.*\)gees'. This will seek all the 'shortest' text fragments that match 're', followed by any number of characters, followed by 'gees' -- matching 'Refugees', for example. The 'any number of characters' is marked as a capture group (in this case capture group 1) by escaped parentheses. In the replace field you can type '\1\1', which if run would replace 'Refugees' with 'fufu'.
|
---|
157 | </p>
|
---|
158 | <p style="text-align:justify">
|
---|
159 | You can control just what gets searched by checking and unchecking the boxes called metadata elements, filenames and metadata values. Only those that are checked will be searched during a find operation.
|
---|
160 | </p>
|
---|
161 |
|
---|
162 | </font>
|
---|
163 | </p>
|
---|
164 | </td>
|
---|
165 | </tr>
|
---|
166 | </table>
|
---|
167 | <br>
|
---|
168 | <br>
|
---|
169 | <br>
|
---|
170 | <br>
|
---|
171 | <br>
|
---|
172 | <br>
|
---|
173 | <br>
|
---|
174 | <br>
|
---|
175 | <br>
|
---|
176 | <br>
|
---|
177 | <br>
|
---|
178 | <br>
|
---|
179 | <br>
|
---|
180 | <br>
|
---|
181 | <br>
|
---|
182 | <br>
|
---|
183 | <br>
|
---|
184 | <br>
|
---|
185 | <br>
|
---|
186 | <br>
|
---|
187 | <br>
|
---|
188 | <br>
|
---|
189 | <br>
|
---|
190 | <br>
|
---|
191 | <br>
|
---|
192 | <br>
|
---|
193 | <br>
|
---|
194 | <br>
|
---|
195 | <br>
|
---|
196 | <br>
|
---|
197 | <br>
|
---|
198 | <br>
|
---|
199 | </body>
|
---|
200 | </html>
|
---|