Re: [Dspace-tech] importing to the db directly

2013-04-09 Thread helix84
As an example, put the following code on line 75 here: https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl#L75 filename Regards, ~~helix8

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
xmlui and 3.0. -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, April 8, 2013 1:14 PM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] importing to the db directly Which DSpace version, UI and theme are you using

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread helix84
ist ? > > -Matt > > -Original Message- > From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 > Sent: Monday, April 8, 2013 12:25 PM > To: Drover, Matt > Cc: dspace-tech > Subject: Re: [Dspace-tech] importing to the db directly > > S

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
But how do I get it to show up in the bitstreasm list ? -Matt -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, April 8, 2013 12:25 PM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] importing to the db directly

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread helix84
Simply include the bitstream URL in a metadata field and then render that metadata field as a clickable link. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ---

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
lix84 Sent: Monday, April 8, 2013 11:44 AM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] importing to the db directly On Mon, Apr 8, 2013 at 4:09 PM, Drover, Matt wrote: > Looks easy enough. Do I leave out the id column if I'm just adding? Also, how > do I add the

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread helix84
On Mon, Apr 8, 2013 at 4:09 PM, Drover, Matt wrote: > Looks easy enough. Do I leave out the id column if I'm just adding? Also, how > do I add the metadata info of the bitstream (size, name, etc) as the file > resides out side of dspace? No, you put in a "+". This is the best tutorial on the to

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
lf Of helix84 Sent: Monday, April 8, 2013 10:09 AM To: Drover, Matt Cc: dspace-tech Subject: Re: [Dspace-tech] importing to the db directly Hi Matt, why not use the CSV importer ([dspace]/bin/dspace/dspace metadata-import) and let it do the heavy-lifting for you? I'd prefer that approach (a

Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread helix84
Hi Matt, why not use the CSV importer ([dspace]/bin/dspace/dspace metadata-import) and let it do the heavy-lifting for you? I'd prefer that approach (and I'm not afraid to do SQL changes when necessary). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace

[Dspace-tech] importing to the db directly

2013-04-08 Thread Drover, Matt
I need to import many items to dspace and instead of importing them via cmd line, I'ld like to write them directly to the database. There are no bitstreams to work with as the files reside elsewhere and are just linked. Any suggestions/do's/don'ts on using this method ? Thanks. Matthew Drov