Hi, just to add to Claudia's response, you don't have to "go it alone" when 
creating this SAF (Simple Archive Format) structure, there are several very 
nice tools to make this task much easier. Here are two, but I'm sure there are 
more:

http://georgetown-university-libraries.github.io/File-Analyzer/
https://github.com/peterdietz/SAFBuilder
File-Analyzer  is very handy if you're in need of a desktop application to help 
you visualize the process, SAFBuilder is a good fit if you're already in the 
habit of using CSV files for working with metadata.

--Hardy
________________________________________
From: Claudia Jürgen [claudia.juer...@ub.tu-dortmund.de]
Sent: Tuesday, December 02, 2014 8:54 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] How to develop manually for importing an item to 
collection

Hello,

the item importer expects a certain structure for the source (-s) to be
imported. The source specified must contain one directory per item. Your
/home/administrator/dspace-ingest contains the files belonging to a
single import item.

e.g. just create
/home/administrator/dspace-ingest/001
and move the files contained in
/home/administrator/dspace-ingest to
/home/administrator/dspace-ingest/001

Then run the command as you've listed it below an it should work.

Hope this helps

Claudia Jürgen


Am 02.12.2014 um 14:58 schrieb P.Hadadan (NW):
> Dears,
>
> Unfortunately I can’t import any Item ☹.
>
> After unsuccessful importing, I do linux Dspace (ubuntu 14.04 LTS,Postgre) 
> fresh installation and try it.
> Command:
>   /dspace/bin/dspace import -a -e knitosp...@gmail.com -c 123456789/8826 -s 
> /home/administrator/dspace-ingest -m 
> /home/administrator/dspace-ingest/Importlog
>
> Log:
> Destination collections:
> Owning  Collection: import collection
> Adding items from directory: /home/administrator/dspace-ingest
> Generating mapfile: /home/administrator/dspace-ingest/Importlog
> Started: 1417525165741
> Ended: 1417525165941
> Elapsed time: 0 secs (200 msecs)
>
> The line after Generating mapfile… did not appear ! mapfile also is empty 
> (size:0). The importing folder attached.
>
> Terry, Your command did not start by dspace why? What is your dspace version? 
> I use dspace-4.2-src-release.
>
> How to develop manually for importing an item to collection?
>
>
>
> From: Terry Brady [mailto:terry.br...@georgetown.edu]
> Sent: Wednesday, November 26, 2014 7:44 PM
> To: P.Hadadan (NW)
> Subject: Re: [Dspace-tech] Importing command did not work
>
> Here are my results (excluding PubMed metadata).  Since I do not have the 
> PubMed schema registered, I could not load that file.  I believe you will 
> want to name it metadata_PubMed.xml.
>
>
> Command: import -a -e 
> terry.br...@georgetown.edu<mailto:terry.br...@georgetown.edu> -c 
> 10822.1/707103 -s /var/data/dspace/dspace-ingest/article3 -m 
> /var/www/batch-tools/mapfile/20141125_12.22.51
>
> Destination collections:
>
> Owning  Collection: 2014 October Terry
>
> Adding items from directory: /var/data/dspace/dspace-ingest/article3
>
> Generating mapfile: /var/www/batch-tools/mapfile/20141125_12.22.51
>
> Adding item from directory article
>
>          Loading dublin core from 
> /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml
>
>          Schema: dc Element: title Qualifier: none Value: Amirkabir 
> International Journal of Electrical _ Electronics Engineering
>
>          Schema: dc Element: date Qualifier: issued Value: 2009
>
>          Processing contents file: 
> /var/data/dspace/dspace-ingest/article3/article/contents
>
>          Bitstream: A Fast Localization and Feature Extract_.pdf      Bundle: 
> ORIGINAL
>
>          Bitstream: A Fast Localization and Feature Extract_.xml      Bundle: 
> ORIGINAL
>
> Processing handle file: handle
>
> It appears there is no handle file -- generating one
>
> 0 article
>
>
>
> Here is my ingest folder structure...
>
>
>
> [dspace@dspace-dev-1 ~]$ find /var/data/dspace/dspace-ingest/article3 -type f 
> -p
>
> rint
>
> /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and 
> Feature Extract_.pdf
>
> /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and 
> Feature Extract_.xml
>
> /var/data/dspace/dspace-ingest/article3/article/contents
>
> /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml
> I hope this helps.  Once you get one item to load, the rest are very easy!
>
> Terry
>
> On Wed, Nov 26, 2014 at 6:09 AM, P.Hadadan (NW) 
> <p.hada...@notionwave.com<mailto:p.hada...@notionwave.com>> wrote:
> By following this step, unfortunately my problem did not solved. Mapfile also 
> is empty.
> I work on Dspace version 4.2 . how to resolve problem without any log? 
> Requires certain settings? Are you using below command?
> dspace import --add --eperson=a...@b.com<mailto:a...@b.com> 
> --collection=123456789/74 --source=c:\Temp\article --mapfile=c:\Impoort
> the metadata_[PubMed].xml file contain metadata base on registered schema 
> (http://www.ncbi.nlm.nih.gov/corehtml/query/static/PubMed.dtd) for concurrent 
> importing, not for add to repository.My reference is 
> https://wiki.duraspace.org/display/DSDOC4x/Importing+and+Exporting+Items+via+Simple+Archive+Format
>
> From: Terry Brady 
> [mailto:terry.br...@georgetown.edu<mailto:terry.br...@georgetown.edu>]
> Sent: Tuesday, November 25, 2014 9:00 PM
> To: P.Hadadan (NW); 
> dspace-tech@lists.sourceforge.net<mailto:dspace-tech@lists.sourceforge.net>
>
> Subject: Re: [Dspace-tech] Importing command did not work
>
> I realized that I did not CC the list on my last reply.  I am including the 
> list.
>
> Looking at your sample zip file, I was able to add the item to my test 
> repository by making the following changes.
>
> 1. rename contents.txt to contents
> 2. for each line in the contents file, add <tab>bundle:ORIGINAL
> 3. Make sure that you upload the items in a containing folder (one folder per 
> item to be added)
> 4. Eliminate the metadata_[PubMed].xml file unless you intend to add it to 
> the repository (in which case you will need to add it to contents)
>
> A Fast Localization and Feature Extract_.pdf     bundle:ORIGINAL
> A Fast Localization and Feature Extract_.xml     bundle:ORIGINAL
>
> Terry
>
> On Tue, Nov 25, 2014 at 5:29 AM, P.Hadadan (NW) 
> <p.hada...@notionwave.com<mailto:p.hada...@notionwave.com>> wrote:
> Dear Terry,
>
> Thanks in advance,
> My source folder attached. I use below command in command line:
> “dspace import --add --eperson=a...@b.com<mailto:a...@b.com> 
> --collection=123456789/74 --source=c:\Temp\article\ --mapfile=c:\Impoort.txt”
>
>
> From: Terry Brady 
> [mailto:terry.br...@georgetown.edu<mailto:terry.br...@georgetown.edu>]
> Sent: Monday, November 24, 2014 10:16 PM
> To: P.Hadadan (NW)
> Subject: Re: [Dspace-tech] Importing command did not work
>
> What are the contents of your source folder?
>
> Do you intend to add the XML file you described as a bitstream or is it 
> intended to be item metadata?
>
> I have typically used this command to import an image file or pdf with 
> accompanying dublin core metadata.  In those instances, my ingest folder 
> contains a "contents" file and a dublin_core.xml file along with the 
> image/pdf.
>
> On Sun, Nov 23, 2014 at 3:57 AM, P.Hadadan (NW) 
> <p.hada...@notionwave.com<mailto:p.hada...@notionwave.com>> wrote:
>
> Dear All,
>
> “dspace import --add --eperson=a...@b.com<mailto:--eperson=a...@b.com> 
> --collection=123456789/74 --source=c:\Temp\article\ --mapfile=c:\Impoort”
>
> I use this command for importing an Item to Dspace, but without any error 
> Item did not import, also mapfile is empty.
> Item is a xml file contain :
>
> <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE ArticleSet PUBLIC 
> "-//NLM//DTD PubMed 2.6//EN" 
> "http://www.ncbi.nlm.nih.gov/corehtml/query/static/PubMed.dtd";>
> <Article>
> <Journal>
>                                                              
> <PublisherName>University of Technology</PublisherName>
>                                                              <JournalTitle> 
> Journal of Electrical &amp; Electronics Engineering</JournalTitle>
>                                                              <Issn/>
>                                                              
> <Volume>41</Volume>
>                                                              <Issue>1</Issue>
>                                                              <PubDate 
> PubStatus="epublish">
>                                                                             
> <Year>2009</Year>
>                                                                             
> <Month>04</Month>
>                                                                             
> <Day>01</Day>
>                                                              </PubDate>
>                                               </Journal>
> <ArticleTitle>A Fast Localization and Feature Extraction Method Based on 
> Wavelet Transform in Iris Recognition</ArticleTitle><FirstPage 
> LZero="delete">55</FirstPage>
>                                               <LastPage>62</LastPage>
>                                               <Language>en</Language>
> <AuthorList>
> <Author>
>                                                                             
> <FirstName EmptyYN="N">Samira </FirstName>
>                                                                             
> <LastName>Kooshkestanii</LastName>
>                                                                             
> <Affiliation/>
>                                                              </Author>
> <Author>
>                                                                             
> <FirstName EmptyYN="N">Hamed </FirstName>
>                                                                             
> <LastName>Sadjediii</LastName>
>                                                                             
> <Affiliation/>
>                                                              </Author>
> <Author>
>                                                                             
> <FirstName EmptyYN="N">Mohammad </FirstName>
>                                                                             
> <LastName>Pooyaniii</LastName>
>                                                                             
> <Affiliation/>
>                                                              </Author>
> </AuthorList>
>                                               <History>
>                                                              <PubDate 
> PubStatus="received">
>                                                                             
> <Year>2014</Year>
>                                                                             
> <Month>03</Month>
>                                                                             
> <Day>17</Day>
>                                                              </PubDate>
>                                               </History>
>                                <Abstract><![CDATA[With an increasing emphasis 
> on security, automated personal identification based on biometrics has been 
> receiving extensive attention. Iris recognition, as an emerging biometric 
> recognition approach.]]></Abstract>
>                                <ObjectList>
>                                               <Object Type="keyword">
>                                               <Param 
> Name="value">Biometrics</Param>
>                                               </Object>
>                                               <Object Type="keyword">
>                                               <Param Name="value">iris 
> recognition</Param>
>                                               </Object>
>                                               <Object Type="keyword">
>                                               <Param 
> Name="value">localizing</Param>
>                                               </Object>
>                                               <Object Type="keyword">
>                                               <Param Name="value">feature 
> extraction</Param>
>                                               </Object>
>                                </ObjectList><ArchiveCopySource 
> DocType="pdf">http://pdf_278_64cb5be28a06d750d20bfe835ca6410e.html</ArchiveCopySource<http://pdf_278_64cb5be28a06d750d20bfe835ca6410e.html%3c/ArchiveCopySource>>
> </Article>
>
> What do you do to solve this problem?
>
> Sincerely,
> P.Hadadan | Senior Software Developer
> NotionWave | Toronto, Canada
> P.Hadadan [at] notionwave [dot] com
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498<tel:425-298-5498>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498<tel:425-298-5498>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der
für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den
Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential.
It is solely intended for the recipient. If you are not the intended
recipient of this e-mail please contact the sender and delete this
message. Thank you.
Without prejudice of e-mail correspondence our statements are only
legally binding when they are made in the conventional written form
(with personal signature) or when such documents are sent by fax.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to