[Dspace-tech] Creative commons in edit item tool

2013-01-21 Thread Jordan Piščanc

I'm searching also for the same feature!

Where it is in the 1.8.2 or 3.0 Dspace version?

I can't find it in JSPUI or inthe XMLUI.




We recently upgraded to our Dspace 1.5.2 server to Dspace 1.8.2 and noticed
that we no longer have the option to add the Creative Commons licence in the
edit item tool. Is there still an option to either add the CC licence when
submitters forget to add it, or to change the CC licence when the incorrect
licence has been selected?


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Creative commons in edit item tool

2013-01-21 Thread helix84
Bram and I looked at how DSpace stores the information that an item is
CC-licensed. It stores a license bitstream (license_rdf) in the
CC-LICENSE bundle and it also adds the dc.rights and dc.rights.uri
fields.

Anyway, there's no direct support for adding a CC license in XMLUI or
JSPUI that we know of AFTER the original submission. I also tried
looking at how you can do it manually by editing bitstreams/metadata,
but the fact that the bitstreams are stored in the CC-LICENSE bundle
together with the fact that you can't add or remove bundles from the
UIs means, that it can't be done at this moment.

We're assuming the reason for why it's not possible is that even an
admin shouldn't be allowed change the license after the item has been
submitted, because it's the author's right (it seems DSpace assumes
the submitter is the author) to choose the license. Of course, there
are cases where this assumption doesn't hold (e.g. importing items by
other means than the submission workflow).

Here's a proposal that would solve this (among other issues) by
letting you re-submit an existing item via the submission workflow
again. It may be worthwhile to watch it.

https://jira.duraspace.org/browse/DS-1234

What you can currently do is to use the item exporter to export the
item, add the bundle and bitstreams and re-import (replace) it. It
might be preferable from creating a new item, because it would keep
the item's handle, metadata and bitstreams.

Feel free to file this as a new Jira issue, that way you'll be able to
watch its progress and any comments made.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Creative commons in edit item tool

2013-01-21 Thread Brouns, Francis
Dear helix84,

Thanks for your research and extensive reply. Strangely enough, it has been 
possible for the admin to add a CC to item for which the submisser had not 
supplied one. I have done that as admin in the edit item page. It is our 
department's policy that CC has to be applied to all documents. Occassionally 
authors forget this. As we never could see whether a CC was applied until after 
an item was approved, we have used the admin feature to add CC to submitted 
items.

Now the workflow seems to indicate whether CC is applied to an item, and we can 
advise authors accordingly.

Best wishes, Francis


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, January 21, 2013 2:12 PM
To: Jordan Piščanc; Brouns, Francis
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Creative commons in edit item tool

Bram and I looked at how DSpace stores the information that an item is
CC-licensed. It stores a license bitstream (license_rdf) in the
CC-LICENSE bundle and it also adds the dc.rights and dc.rights.uri
fields.

Anyway, there's no direct support for adding a CC license in XMLUI or
JSPUI that we know of AFTER the original submission. I also tried
looking at how you can do it manually by editing bitstreams/metadata,
but the fact that the bitstreams are stored in the CC-LICENSE bundle
together with the fact that you can't add or remove bundles from the
UIs means, that it can't be done at this moment.

We're assuming the reason for why it's not possible is that even an
admin shouldn't be allowed change the license after the item has been
submitted, because it's the author's right (it seems DSpace assumes
the submitter is the author) to choose the license. Of course, there
are cases where this assumption doesn't hold (e.g. importing items by
other means than the submission workflow).

Here's a proposal that would solve this (among other issues) by
letting you re-submit an existing item via the submission workflow
again. It may be worthwhile to watch it.

https://jira.duraspace.org/browse/DS-1234

What you can currently do is to use the item exporter to export the
item, add the bundle and bitstreams and re-import (replace) it. It
might be preferable from creating a new item, because it would keep
the item's handle, metadata and bitstreams.

Feel free to file this as a new Jira issue, that way you'll be able to
watch its progress and any comments made.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan 
en gebruik door anderen is niet toegestaan. Open Universiteit sluit iedere 
aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan de 
inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen geen rechten 
worden ontleend.

This e-mail is intended exclusively for the addressee(s), and may not be passed 
on to, or made available for use by any person other than the addressee(s). 
Open Universiteit rules out any and every liability resulting from any 
electronic transmission. No rights may be derived from the contents of this 
message.

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Creative commons in edit item tool

2013-01-21 Thread Andrea Schweer
Hi,

On 22/01/13 02:11, helix84 wrote:
 Anyway, there's no direct support for adding a CC license in XMLUI or
 JSPUI that we know of AFTER the original submission. I also tried
 looking at how you can do it manually by editing bitstreams/metadata,
 but the fact that the bitstreams are stored in the CC-LICENSE bundle
 together with the fact that you can't add or remove bundles from the
 UIs means, that it can't be done at this moment.

You can add to the CC-LICENSE bundle via edit bitstreams in XMLUI if you
add the bundle name to xmlui.bundle.upload in dspace.cfg -- in fact,
just un-commenting the default should do it:
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1749

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Creative commons in edit item tool

2013-01-21 Thread Richard Rodgers
Hi folks:

Just to add to this thread, I think the best approach is to directly edit these 
related CC fields (or add/remove bitstreams) as seldom as possible,
since it is too easy to introduce inconsistencies among them (e.g. the name 
doesn't match the URI, or the bitstream, etc).

To address this need in a 'safer' way, I just put up some curation task code:
https://github.com/richardrodgers/ctask/blob/master/general/src/main/java/org/dspace/ctask/general/CCLicenseLookup.java

that does the following: it uses the license URI as the 'key' and then fetches 
the values (license Name, and license RDF) from CC and assigns
them to the item. That way one can be assured of having a consistent set of 
values (2 metadata fields and a bitstream). In fact, I think
the submission UI can be configured to only set the URI, so that you don't need 
to redo anything but that field, and leave the rest to the task.

It's untested as yet, but since we might be needing something like this for 
local MIT 1.8 upgrade work,  I thought I'd share early…

Thanks,

Richard R.
On Jan 21, 2013, at 3:20 PM, Andrea Schweer wrote:

Hi,

On 22/01/13 02:11, helix84 wrote:
Anyway, there's no direct support for adding a CC license in XMLUI or
JSPUI that we know of AFTER the original submission. I also tried
looking at how you can do it manually by editing bitstreams/metadata,
but the fact that the bitstreams are stored in the CC-LICENSE bundle
together with the fact that you can't add or remove bundles from the
UIs means, that it can't be done at this moment.

You can add to the CC-LICENSE bundle via edit bitstreams in XMLUI if you
add the bundle name to xmlui.bundle.upload in dspace.cfg -- in fact,
just un-commenting the default should do it:
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1749

cheers,
Andrea

--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Creative commons in edit item tool

2013-01-21 Thread Andrea Schweer

  
  
Hi,

On 22/01/13 09:46, Richard Rodgers
  wrote:


  
  Just to add to this thread, I think the best approach is to
  directly edit these related CC fields (or add/remove bitstreams)
  as seldom as possible,
  since it is too easy to introduce inconsistencies among them
(e.g. the name doesn't match the URI, or the bitstream, etc).


I agree -- and I think helix and Bram were just looking for a
workaround they could use "right now".


  To address this need in a 'safer' way, I just put up some
curation task code:
  
  https://github.com/richardrodgers/ctask/blob/master/general/src/main/java/org/dspace/ctask/general/CCLicenseLookup.java
  
  
  that does the following: it uses the license URI as the 'key'
and then fetches the values (license Name, and license RDF) from
CC and assigns
  them to the item. That way one can be assured of having a
consistent set of values (2 metadata fields and a bitstream).


Great, thanks for sharing! I have one that kindof does the reverse
-- it sets the metadata based on the license RDF:
https://github.com/lconz-irr/Curation-Tasks/blob/master/src/main/java/nz/ac/lconz/irr/curate/task/AddCCMetadata.java
(I ran this as a one-off over my one repository that uses CC
licensing and it worked there, but it hasn't been tested
extensively)

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette