[greenstone-users] MARCXMLPlug and MetadataXMLPlug

From Diego Spano
DateThu Mar 20 10:48:53 2008
Subject [greenstone-users] MARCXMLPlug and MetadataXMLPlug
In-Reply-To (47E17B62-6090800-yale-edu)
Hi Arthur,

Are you running:

perl -S import.pl -OIDtype assigned -OIDmetadata dc.Identifier col_name

It should work....

Diego J. Spano
Direcci?n General de Gesti?n Inform?tica
Ministerio de Justicia, Seg. y DD. HH.
Tel.: 4328.3015 (int.1404)
4322.6122 (directo)

-----Mensaje original-----
De: greenstone-users-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] En nombre de
Arthur R. Belanger
Enviado el: Mi?rcoles, 19 de Marzo de 2008 05:45 p.m.
Para: greenstone-users@list.scms.waikato.ac.nz
Asunto: [greenstone-users] MARCXMLPlug and MetadataXMLPlug


I am trying to build a collection of Marc XML records. I would like to
assign dc.Identifiers so I can use -OIDtype assigned on import. I have
created a metadata.xml file in the import directory with an entry for each
marc xml file in the directory. I am trying this with just 2 files. My
plugin list is as

plugin GAPlug
plugin MARCXMLPlug
plugin MetadataXMLPlug
plugin ArcPlug
plugin RecPlug

My metadata.xml file is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE DirectoryMetadata SYSTEM
<Metadata name="dc.Identifier">6885021</Metadata>
<Metadata name="dc.Identifier">6885002</Metadata>

I have tried switching the order of the plugins but keep getting the
following messages from import.pl:

Removing current contents of the archives directory...
RecPlug: getting directory import/test
MetadataXMLPlug: processing metadata.xml
MARCXMLPlug: processing 6885021.xml
no dc.Identifier metadata found, generating hash id Record 1 - MARCXMLPlug:
processing 6885021.xml
MARCXMLPlug: processing 6885002.xml
no dc.Identifier metadata found, generating hash id Record 2 - MARCXMLPlug:
processing 6885002.xml

How can I get the system to use the dc.Identifier metadata in the
metadata.xml file for each of the marc xml files? The 2 marc xml files and
the metadata.xml files are in the collection's import/test directory.

I am running from the command line in RedHat Linux AS4 with Greenstone

Arthur Belanger
Medical Library System Manager
ITS Academic Media & Technology
Yale University
PO Box 208065
New Haven, CT 06520-8065

(203) 785-6928
(203) 737-2859, fax


greenstone-users mailing list