Hi Pedro

Check out this wiki page for some help tips.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Import_and_Export

Cheers

hg

On 07/09/2010 13:48, Pedro Sebastián wrote:
Hi.
Anybody know if I can import items to dspace 1.4.1 from METS-XML format files (Mets-xml version 1.8) and bitstream_files?
Example file structure as follows:
/import/item_1.xml
/import/item_2.xml
/import//bitstream/item_1-bitstream1.pdf
/import//bitstream/item_1-bitstream2.pdf
/import/bitstream/item_2-bitstream1.pdf
/import/bitstream/item_2-bitstream2.pdf
/import/bitstream/item_2-bitstream3.jpg

Besides the xml headers and metadata mets, these files contain information on the location of the bitstreams, something like this: (only bitstreams locations in item1_.xml)
/<mets:file ID="FID00000001" MIMETYPE="/application/pdf/" SEQ="1" SIZE="28824555" 
CREATED="2010-07-16T08:04:11">
                                <mets:FLocat LOCTYPE="URL" xlink:type="simple" 
xlink:href="file://..//bitstream/item_1-bitstream1.pdf/"/>
                        </mets:file>

<mets:file ID="FID00000002" MIMETYPE="/application/pdf/" SEQ="2" SIZE="29940075" 
CREATED="2010-07-16T08:04:12">
                                <mets:FLocat LOCTYPE="URL" xlink:type="simple" 
xlink:href="file://../bitstream/item_1-bitstream2.pdf/"/>
                        </mets:file>
/
and in item_2.xml
/<mets:file ID="FID00000001" MIMETYPE="/application/pdf/" SEQ="1" SIZE="293894" 
CREATED="2010-07-16T08:04:12">
                                <mets:FLocat LOCTYPE="URL" xlink:type="simple" 
xlink:href="file://..//bitstream/item_2-bitstream1.pdf/"/>
                        </mets:file>

<mets:file ID="FID00000002" MIMETYPE="/application/pdf/" SEQ="2" SIZE="847547" 
CREATED="2010-07-16T08:04:13">
                                <mets:FLocat LOCTYPE="URL" xlink:type="simple" 
xlink:href="file://../bitstream/item_2-bitstream2.pdf/"/>
                        </mets:file>/
/<mets:file ID="FID00000003" MIMETYPE="/image/jpeg/" SEQ="3" SIZE="8747547" 
CREATED="2010-07-16T08:04:14">
                                <mets:FLocat LOCTYPE="URL" xlink:type="simple" 
xlink:href="file://../bitstream/item_2-bitstream3.jpg/"/>
                        </mets:file>/

Escribe texto o la dirección de un sitio web o traduce un documento <http://translate.google.es/?tr=f&hl=es>.
Cancelar <http://translate.google.es/?tr=t&hl=es>

Would be to import dozens of items. And each in a different collection.
The correct is use this instructions?:
*http://scm.dspace.org/svn/repo/dspace/tags/dspace-1_4_1/dspace/docs/application.html#packager*
*I understand that this instructions is only for export to METS.*

*Please one example of use?*

*Or only can import by "DSpace simple archive format"? described in:*
*http://scm.dspace.org/svn/repo/dspace/tags/dspace-1_4_1/dspace/docs/application.html#itemimporter*


Thanks.



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Hilton Gibson
Systems Administrator
JS Gericke Library Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to