Oops I forgot to attach the script as promised didn't I. I also meant
to say that this is a fine place to discuss questions about eprints
too. Although I imagine it might be good to ask on eprints specific
lists where there might be more eprints eyes.
//Ed
test.pl
Description: Binary data
Hi Michele:
Yes, I see a UTF-8 encoding error in that file when I try to check it
with xmllint (from the libxml2 package):
e...@curry:~/Downloads$ xmllint marc.xml
marc.xml:1: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE0 0x20 0x3A 0x3C
ld code="b">le infrastrutture, l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Ed,
i've did some tests and all works correctly as you said. At this point i
have some troubles importing MARC record into EPrints with MARC plugin
developed by Jose Miguel. But...maybe this is not the right place where
ask about it :-)
Thanks, Mi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear Ed,
yes, it works as expected ! I've just tried again with my marc.xml (as
attached) and seems to be encoding problems. Maybe Aleph don't export in
UTF-8 ?
Thanks for your help,
Michele
Ed Summers ha scritto:
> Hi Michele:
>
> I copied and past
Hi Michele:
I copied and pasted the XML from your email and ran it through a
simple test script (both attached) and the record seemed to be parsed
ok. What do you see if you run the attached test.pl?
//Ed
test.pl
Description: Binary data
http://www.loc.gov/MARC21/slim";
xmlns:xsi="http://ww
>
> my $file = MARC::Record->new_from_xml($marc->serialize(),"UTF-8","MARC21");
> $epdata = $plugin->EPrints::Plugin::Import::MARC::convert_input(
> $file );
>
> and here come troubles: only few metadatas will be interpreted
> correctly, losing a lot of datas.
Ummm, so what metdata makes it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
im'm working on a perl plugin for EPrints that let user importing from
Aleph simply using system id. It use Aleph OAI-PMH service that export
metadata in MARC21 format:
http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/O