[greenstone-users] MARCXMLPlug and MetadataXMLPlug

From Arthur R. Belanger
DateFri Mar 21 04:56:56 2008
Subject [greenstone-users] MARCXMLPlug and MetadataXMLPlug
In-Reply-To (000d01c88a0b$cf2cc430$7c3401c8-diegos)
Thanks for your reply Diego.

I was doing just what you suggested. Unfortunately, it does not work. This
strategy does work in an image collection I have which is why I tried it.

It appears that the dc.Identifier metadata from the metadata.xml file is not
getting passed along. Perhaps this is a problem in MARCXMLPlug or some option
that I have failed to specify or the order of the plugins.

Does anyone have any ideas?

Diego Spano wrote:
> 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
>
> Hi.
>
> 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
> follows:
>
>
> 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
> "http://greenstone.org/dtd/DirectoryMetadata/1.0/DirectoryMetadata.dtd">
> <DirectoryMetadata>
> <FileSet>
> <FileName>6885021.xml</FileName>
> <Description>
> <Metadata name="dc.Identifier">6885021</Metadata>
> </Description>
> </FileSet>
> <FileSet>
> <FileName>6885002.xml</FileName>
> <Description>
> <Metadata name="dc.Identifier">6885002</Metadata>
> </Description>
> </FileSet>
> </DirectoryMetadata>
>
> I have tried switching the order of the plugins but keep getting the
> following messages from import.pl:
>
> /usr/local/gsdltest/gsdl/perllib/strings.properties
> 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
> VERSION 2.75.
>
> tHANKS VERY MUCH.
> --
> 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
>
> mailto:Arthur.Belanger@Yale.Edu
> http://www.yale.edu/its/about/amt
> http://info.med.yale.edu/library
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

--
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

mailto:Arthur.Belanger@Yale.Edu
http://www.yale.edu/its/about/amt
http://info.med.yale.edu/library