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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to