source: trunk/gli/help/6-8.htm@ 4629

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

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 7.9 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>
156.8 Importing Previously Assigned Metadata
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 details the process for importing previously assigned metadata, and how to install parsers to handle various metadata types.
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">
64While adding files
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 &nbsp;
82 </td>
83 <td colspan="2">
84 <font face="Verdana" size="4">
85New parsers
86 </font>
87 </a>
88 </td>
89 </tr>
90 <tr>
91 <td colspan="3">
92 <font face="Verdana" size="4">
93 <strong>
94<a href="#QA">Problems and solutions</a>
95 </strong>
96 </a>
97 </font>
98 </td>
99 </tr>
100 <tr>
101 <td>
102 &nbsp;
103 </td>
104 <td colspan="2">
105 <font face="Verdana" size="4">
106"What if I accidentally import information to the wrong element?"
107 </font>
108 </a>
109 </td>
110 </tr>
111 </font>
112 </table>
113 </td>
114 </tr>
115 </table>
116 </td>
117 </tr>
118 <tr bgcolor="#E0F0E0">
119 <td colspan="3" width="100%">
120 <img height="20" src="gatherer_small.gif" width="20">
121 <font face="Verdana" size="4">
122 <u>
123<a name="SI">Simple Instructions:</a>
124 </u>
125 <font size="3">
126<p style="text-align:justify">
127If metadata has been previously assigned to a certain file, and that metadata is in a form recognized by the Librarian Interface, the metadata will be imported when you add the file. This sometimes happens without any user intervention. However, if the Librarian Interface does not know how to map previously assigned metadata onto the metadata sets available in the collection, it prompts the user on how to do so.
128</p>
129<p style="text-align:justify">
130The prompt contains brief instructions on what must be done. Below the instruction box are three text fields. The first shows the name of the metadata element that the Librarian Interface is importing, just as it appears in whatever source file the Librarian Interface has found. This field cannot be edited or changed. The second control allows you to choose what metadata set this element should map to, and contains all the sets available in the collection. The third control allows you to choose which metadata element the original element should map to if you intend to merge elements.
131</p>
132<p style="text-align:justify">
133When this display is created the Librarian Interface makes an educated guess about which element and set should be chosen. For instance, if the element being imported were called 'Publisher' and there existed only one element within the available sets called 'dls.Publisher', then the Librarian Interface would guess the metadata set to be the Development Library Subset (dls) and the element to be Publisher. However this doesn't always work as intended, so be sure to check the fields before committing any changes.
134</p>
135<p style="text-align:justify">
136The actions allowed are: [A]dd, [M]erge or [I]gnore. The add button allows you to add a new element to the chosen metadata set with the name as given in the original. This control is only enabled if there is no element of the same name within the chosen set. Merging maps the original element to the element chosen by the user. Finally, ignore skips importing any metadata which has an element as named in the original element field.
137</p>
138<p style="text-align:justify">
139Once you have advised the Librarian Interface how to import a certain piece of metadata from a certain source location, it retains this information for the lifetime of the collection.
140</p>
141
142 </font>
143 </p>
144 </td>
145 </tr>
146 <tr bgcolor="#E0F0E0">
147 <td colspan="3" width="100%">
148 <img height="20" src="gatherer_small.gif" width="20">
149 <font face="Verdana" size="4">
150 <u>
151<a name="AI">Advanced Instructions:</a>
152 </u>
153 <font size="3">
154<p style="text-align:justify">
155When attempting to find metadata, the Librarian Interface consults a series of dynamically loaded metadata file parsers for information about where to find metadata and how to read it once it is found. For instance, the directory '<gatherer install directory>\classes\org\greenstone\gatherer\msm\parsers' contains a file named 'GreenstoneMetadataParser.class'. This, and the other files starting with the same name, instructs the Librarian Interface how to read Greenstone metadata files, or metadata.xml files. Any new parser must implement the org.greenstone.gatherer.msm.MetadataParser interface. If this is done it is simply a matter of placing the file in the directory named above and restarting the Librarian Interface. Thus you are able to parse metadata from any source you have installed a parser for.
156</p>
157
158 </font>
159 </p>
160 </td>
161 </tr>
162 <tr bgcolor="#E0F0E0">
163 <td colspan="3" width="100%">
164 <img height="20" src="gatherer_small.gif" width="20">
165 <font face="Verdana" size="4">
166 <u>
167<a name="QA">Problems And Solutions:</a>
168 </u>
169 <font size="3">
170 <i>
171<p style="text-align:justify">
172"What if I accidentally import information to the wrong element?"
173</p>
174
175 </i>
176<p style="text-align:justify">
177Currently the solution is the edit the profile.xml file located in the collection's metadata directory, to remove any erroneous entries. Once this is done, remove the files affected then re-import them. Eventually an 'import profile' editor will be included with the option of re-importing metadata.
178</p>
179
180 </font>
181 </td>
182 </tr>
183</table>
184&nbsp;<br>
185&nbsp;<br>
186&nbsp;<br>
187&nbsp;<br>
188&nbsp;<br>
189&nbsp;<br>
190&nbsp;<br>
191&nbsp;<br>
192&nbsp;<br>
193&nbsp;<br>
194&nbsp;<br>
195&nbsp;<br>
196&nbsp;<br>
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</body>
217</html>
Note: See TracBrowser for help on using the repository browser.