Hi Shashank,<br><br>To answer your queries -<br><br>1. Each item would need a sub-directory &amp; each sub-directory would have the actual song in addition to dublin_core.xml &amp; contents files. <br>2. The collection id number is everything after the handle part in url. In your specific case, collection id will be 123456789/2 <a href="http://localhost:8180/jspui/handle/123456789/2" target="_blank"></a><br>
<br>Harish<br><br>Harish Maringanti<br>Systems Analyst<br>K-State Libraries<br>(785)532-3261<br><br><div class="gmail_quote">2008/11/7 Shashank Sahni <span dir="ltr">&lt;<a href="mailto:shredder12@gmail.com">shredder12@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Claudia,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks for the tutorial..it was very helpful..But i am having a problem while executing the import script..correct me if i am wrong somewhere..<br>
I took a directory of 10 songs..well here i was not clear whether i have to create a separate sub directory for each item..so i decided to continue without making any..then i created a dublin_core.xml file in the directory which looked something like this..<br>

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>

&lt;dublin_core&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dcvalue element=&quot;contributor&quot; qualifier=&quot;other&quot;&gt;some person&lt;/dcvalue&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dcvalue element=&quot;language&quot; qualifier=&quot;iso&quot;&gt;Hindi&lt;/dcvalue&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dcvalue element=&quot;type&quot; qualifier=&quot;none&quot;&gt;Song&lt;/dcvalue&gt;<br>&lt;/dublin_core&gt;<br>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

then i created a contents file which had list of all the songs in the directory followed by /tbundle:ORIGINAL at the end of each item..<br>so i don&#39;t think i am having any problem there..<br>Then i got confused regarding the collection Id....i was having a collection named &quot;audio&quot; which when opened has the following url..<br>

<br><a href="http://localhost:8180/jspui/handle/123456789/2" target="_blank">http://localhost:8180/jspui/handle/123456789/2</a><br><br>so i decided to go with the collection id as 2..<br><br>then i executed the following command.<br>
<br>
sh /dspace/bin/import -t --add&nbsp; -e <a href="mailto:shredder12@gmail.com" target="_blank">shredder12@gmail.com</a> -c -2 -s path_of_the_directory_to_be_ingested -m path_of_the_mapfile<br><br>on executing it gave the following message.<br>

<br>-----------------------------------------------------------------------------------------------<br>**Test Run** - not actually importing items.<br>Destination collections:<br>Owning&nbsp; Collection: <br>Adding items from directory: /home/ftp/Songs/hindi/rock/<br>

Generating mapfile: /dspace/mapfile<br>***End of Test Run***<br>-----------------------------------------------------------------------------------------------------<br>well i think this means that everything is working fine..so i decided to now actually try adding the folder..so i executed the following command..<br>

<br>sh /dspace/bin/import --add&nbsp; -e <a href="mailto:shredder12@gmail.com" target="_blank">shredder12@gmail.com</a> -c -2 -s path_of_the_directory_to_be_ingested -m path_of_the_mapfile<br>
<br>It gave the following message..<br>--------------------------------------------------------------------------------------<br>Destination collections:<br>Owning&nbsp; Collection: <br>Adding items from directory: /home/ftp/Songs/hindi/rock/<br>

Generating mapfile: /dspace/mapfile<br>--------------------------------------------------------------------------------------<br>after that when i checked the audio collection in which i was trying to add the songs,&nbsp; i found no song added...<br>

i even tried the command with collection id 123456789/2 but even it doesn&#39;t seem to work..<br><br>Please help me figure out this problem..<br><br>Regards,<br><font color="#888888"><br>Shashank Sahni..<br>
</font><br>_______________________________________________<br>
Dspace-general mailing list<br>
<a href="mailto:Dspace-general@mit.edu">Dspace-general@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/dspace-general" target="_blank">http://mailman.mit.edu/mailman/listinfo/dspace-general</a><br>
<br></blockquote></div><br>