DSpace 1.3.2 with Xena
After looking through the DSpace 1.3.2 source, the best place to make the diversion to the Xena normalisation process appears to be in the installItem method of the org.dspace.content.InstallItem class. At this point the submission has passed all the necessary review stages and is about to be archived. We have references to BitStreams representing the input files (from which we can retrieve an InputStream and pass it to Xena) and an InProgressSubmission object which contains information about the collection to which we are adding, the submitting user etc.
So it should be very easy to add code to normalise the files. But the question remains - where should the normalised file go? Should it be added back in as an extra file in the DSpace process, or stored in a separate repository of some sort?
So it should be very easy to add code to normalise the files. But the question remains - where should the normalised file go? Should it be added back in as an extra file in the DSpace process, or stored in a separate repository of some sort?
0 Comments:
Post a Comment
<< Home