Thanks, Jose:

You confirmed what Brian Freels-Stendel said.

Looks like I have my work cut out or me.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: Blanco, Jose [mailto:blan...@umich.edu]
Sent: Thursday, October 20, 2011 2:59 PM
To: George S Kozak; dspace-tech@lists.sourceforge.net
Subject: RE: Turning an item into a collection

George,

This is a bit tricky, but I think it can be done.  Perhaps someone else can OK 
this since I've never done it.  If you have a test environment, try it there 
and see how it works first.


(1)    Make a collection a community.

I would create an new community and give it the name of the collection.

Now, that new community will have a handle but you want the handle to be the 
one from the collection.  So go into the handle table and update the handle 
value so that the new community has the handle of the collection.  You'll need 
to know the community_id which will be the same as resource_id in the handle 
table to do this.

Now go into Dspace and delete the collection you  just put in the community. 
Hopefully that will work just fine.



(2)    Make an item into a collection
Create a new collection, and make it look like the item ( I guess you don't 
care about the bitstream )

To give the collection the same handle as the item, go into the handle table 
and give the new collection the handle value of the item.  Again, resource_id = 
collection_id.

Now go into Dspace and remove the item.

Then run
./dspace idex-init

You'll have created handles which will not exists in your system, but I think 
that's just the price you have to pay to do this.  I think this makes sense to 
me, but if anyone sees some fault in this please let George and me know.

-Jose


From: George S Kozak [mailto:g...@cornell.edu]
Sent: Thursday, October 20, 2011 2:30 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Turning an item into a collection

Hi...

I have a collections which has items that contain multiple PDF bitstreams.    
We are thinking of breaking these items up so that I have multiple items with a 
single bitstream, to make searching easier for the user.  I know how to do 
that, but the other thing I have been asked to do, I am not so sure about.

I was asked to take the existing collection and turn it into a sub-community 
with the same handle as the original collection.  Also, to take the existing 
items and turn them into collections with the same handles as the original 
items.

So, if a I have a collection: "Cornell Reports" with handle 1813/7754 and an 
item:  "Cornell Reports Vol. 1, No. 1 - No. 4, 1967" with handle 1813/7755, I 
would like to create a sub-community called "Cornell Reports" with the handle 
1813/7754 and a collection called "Cornell Reports Vol. 1, No. 1 - No. 4, 1967" 
with the handle 1813/7755.

Can I do that in postgres?  I am not sure how to link an old handle to a new 
collection or to move a collection into the community table and an item into 
the collection table.  Any suggestions?

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to