Re: [Dspace-tech] Dspace Bulk Upload

2007-09-07 Thread Dorothea Salo
On 9/7/07, Nandita Chaudhri [EMAIL PROTECTED] wrote:
 If one is not using the submission UI to load items one by one but is using
 the bulk upload facility is there a way to have two bitstreams with only one
 as the 'primary' one which will be displayed when the item is retrived using
 a search? I knoe with the submission UI it is possible. Regards,

Not directly, no, not without hacking the importer. After import, you
can log in as an administrator, Edit the item, and set the primary
bitstream from the Edit screen.

It can also be done by SQL query in the database once you have the
item's handle, but I don't necessarily recommend that (unless you're
automating the process externally to DSpace), as the query is a bit
complicated. See

http://cavlec.yarinareth.net/archives/2006/04/04/gonzo-sql-statement/
http://cavlec.yarinareth.net/archives/2006/04/03/dspace-tip-setting-a-primary-bitstream/

Dorothea

-- 
Dorothea Salo[EMAIL PROTECTED]
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Bulk Upload

2007-09-07 Thread Larry Stone
 On 9/7/07, Nandita Chaudhri [EMAIL PROTECTED] wrote:
  If one is not using the submission UI to load items one by one but is using
  the bulk upload facility is there a way to have two bitstreams with only one
  as the 'primary' one which will be displayed when the item is retrived using
  a search? I knoe with the submission UI it is possible. Regards,

The METS package ingester (as of 1.4.2, at least) can set the primary
bitstream. It must be mentioned in the METS manifest;  the profile
document says how to do this, search for Primary bitstream in:
http://wiki.dspace.org/index.php/DSpaceMETSSIPProfile

You can ingest packages through the LNI or the prototype command-line
class, org.dspace.app.packager.Packager  - the system documentation has
all the details.

-- Larry


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech