[Dspace-tech] Read only permission in dspace

2014-03-21 Thread Amruta Patil
Can .doc file view without download it.
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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

[Dspace-tech] Fwd: Search filter with displayed values

2014-03-21 Thread Victoria Rasero
Hello,
we are using DSpace 3.1 XMLUI .
Does anybody know if it is possible to configure a discovery search filter
for dc.type with displayed values on the search page, in order to allows
users to select a value from the list?.

Thanks.
Regards

Victoria Rasero
Universidad Carlos III de Madrid

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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

[Dspace-tech] Curration Task

2014-03-21 Thread Christian Scheible
Hi together,

I'm currently working on a curration task and found a Problem in the 
documentation/implementation of Curration Tasks. In 
https://wiki.duraspace.org/display/DSDOC4x/Curation+System#CurationSystem-Onthecommandline
 
it says that it's possible to use workflow Id as identifiers. But all 
CurrationTasks which extend AbstractCurrationTask can't work with 
workflow id's because public int perform(Context ctx, String id) 
dereferences to null for all id's which are no handles.
Is this a bug or should the documentation be clarified?

Best
Christian

P.S. I am not allowed to change this part of the documentation

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] Changing item display to flag embargoed items more clearly in JSPUI

2014-03-21 Thread George Stanley Kozak
Andrea:


What we did at Cornell University was add the Embargo date to the item display 
(see http://ecommons.library.cornell.edu/handle/1813/29299) and I made a change 
to the java code that puts up a display based on the group that controls a 
bitstream.  So, here at Cornell, we have our embargo code set up to restrict a 
bitstream to a specific group embargo which has read access to the bitstream. 
  Click on the bitstream for the item above and you will see the embargo 
display.



I have the code for DSpace 1.8.2 and DSpace 3.2 (JSPUI or XMLUI) that does this 
.  If you are interested in the details, I can send them to you off-list.



Credit where credit is due: the java code that I am using is based on code 
originally created by Terry Owen at the University of Maryland.
George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: Andrea Schweer [mailto:schw...@waikato.ac.nz]
Sent: Friday, March 21, 2014 12:39 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Changing item display to flag embargoed items more 
clearly in JSPUI

Hi again,
On 21/03/14 17:21, Andrea Schweer wrote:
On 21/03/14 16:46, Barnes, Hugh wrote:

We are implementing the (legacy) embargo functionality in the above 
environment. Ideally, we think it's better user interface to inform users that 
the item is embargoed, and even not taunt them with a link until that is 
lifted. Otherwise, users are denied access without obvious reason (and will 
probably contact us about it).

So we really want to edit the single item display page to mark embargoed items 
much more clearly for users.

My jspui experience is a few years old -- but might it work to change the logic 
in the displayItem method in HandleServlet, similar to what's done for 
withdrawn items? See here: 
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/HandleServlet.java#L298
 except you'd have another if clause to check whether the item is embargoed 
according to your legacy definition of embargoed, which may or may not involve

EmbargoManager.getEmbargoTermsAsDate(context,item) != null

If that condition is fulfilled, pass the user on to either the same tombstone 
page as for withdrawn items (or a different one if you prefer) like so:

JSPManager.showJSP(request, response, /tombstone.jsp);

return;


This approach feels a little cleaner to me than messing with extra conditionals 
in display-item.jsp.

Actually, never mind me -- I was going by our local definition of embargo, 
which means the entire item is suppressed. If you only want to remove the 
link to the files on the item page of an embargoed item, your best bet is to 
modify the listBitstreams() method in ItemTag.java: 
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java#L754
 -- exactly what you need to do depends on whether you have items where only 
some files are embargoed but others are visible.

cheers,
Andrea



--

Dr Andrea Schweer

IRR Technical Specialist, ITS Information Systems

The University of Waikato, Hamilton, New Zealand
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] Changing item display to flag embargoed items more clearly in JSPUI

2014-03-21 Thread George Stanley Kozak
Ooops!  I meant to address this to Hugh Barnes instead of Andrea Schweer.  My 
apologies!

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: George Stanley Kozak
Sent: Friday, March 21, 2014 1:33 PM
To: 'Andrea Schweer'; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Changing item display to flag embargoed items more 
clearly in JSPUI

Andrea:


What we did at Cornell University was add the Embargo date to the item display 
(see http://ecommons.library.cornell.edu/handle/1813/29299) and I made a change 
to the java code that puts up a display based on the group that controls a 
bitstream.  So, here at Cornell, we have our embargo code set up to restrict a 
bitstream to a specific group embargo which has read access to the bitstream. 
  Click on the bitstream for the item above and you will see the embargo 
display.



I have the code for DSpace 1.8.2 and DSpace 3.2 (JSPUI or XMLUI) that does this 
.  If you are interested in the details, I can send them to you off-list.



Credit where credit is due: the java code that I am using is based on code 
originally created by Terry Owen at the University of Maryland.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: Andrea Schweer [mailto:schw...@waikato.ac.nz]
Sent: Friday, March 21, 2014 12:39 AM
To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Changing item display to flag embargoed items more 
clearly in JSPUI

Hi again,
On 21/03/14 17:21, Andrea Schweer wrote:
On 21/03/14 16:46, Barnes, Hugh wrote:
We are implementing the (legacy) embargo functionality in the above 
environment. Ideally, we think it's better user interface to inform users that 
the item is embargoed, and even not taunt them with a link until that is 
lifted. Otherwise, users are denied access without obvious reason (and will 
probably contact us about it).

So we really want to edit the single item display page to mark embargoed items 
much more clearly for users.

My jspui experience is a few years old -- but might it work to change the logic 
in the displayItem method in HandleServlet, similar to what's done for 
withdrawn items? See here: 
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/HandleServlet.java#L298
 except you'd have another if clause to check whether the item is embargoed 
according to your legacy definition of embargoed, which may or may not involve

EmbargoManager.getEmbargoTermsAsDate(context,item) != null

If that condition is fulfilled, pass the user on to either the same tombstone 
page as for withdrawn items (or a different one if you prefer) like so:

JSPManager.showJSP(request, response, /tombstone.jsp);

return;


This approach feels a little cleaner to me than messing with extra conditionals 
in display-item.jsp.

Actually, never mind me -- I was going by our local definition of embargo, 
which means the entire item is suppressed. If you only want to remove the 
link to the files on the item page of an embargoed item, your best bet is to 
modify the listBitstreams() method in ItemTag.java: 
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java#L754
 -- exactly what you need to do depends on whether you have items where only 
some files are embargoed but others are visible.

cheers,
Andrea


--

Dr Andrea Schweer

IRR Technical Specialist, ITS Information Systems

The University of Waikato, Hamilton, New Zealand
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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

[Dspace-tech] Linking from DSpace Object to External URL

2014-03-21 Thread Pennington_Stacy
Last week, I updated our DSpace from 1.8.2 to 4.1 without many (any?) issues. 
Kudos to everyone on this list that worked on the DSpace 4.x releases, whether 
as a developer, contributor, tester, or whatever. Your efforts are appreciated!

I'm wondering how to do something that seems pretty simple and can't find any 
leads in the DSpace docs or wiki on how to do it. I would like to provide a 
hyperlink from a DSpace object's page (we are using JSPUI) to an external 
location to showcase that object's bitstream using technology not associated 
with DSpace.

For example, I've got high-resolution images saved as objects in DSpace, so 
that the lossless TIFF (huge) and lossy JPEG (much smaller) are available in 
DSpace, complete with lovely DC metadata. I've now got a Djatoka server running 
with OpenSeaDragon as a viewer, and many of these large images can be viewed on 
the external Djatoka server using a custom URL for that image. I want to link 
to that external URL from within the DSpace JSPUI object page in the simplest 
way possible, without modifying DSpace code. Is this possible?

I know that this may be bad form for a repository, but I'm not interested in 
modifying the JSPUI template pages to load the Javascript viewer on the page or 
anything like that. I'm willing to store the URL to the zoomable viewer in the 
object's metadata, which of course I can do now in DC but it doesn't create a 
hyperlink; the user needs to copy/paste the URL to get to the zoomable viewer. 
I just need a simple link from the object page, and if that link stops working 
in the future, that's OK. I can remove it at that time. The bitstreams are the 
most important thing, but the user would get the most use out of the simple, 
zoomable, external URL.

Does anyone have any advice for me? Again, I'm interested in the simplest, 
easiest way to do this link, one with the least number of changes to the DSpace 
source code.

Thanks in advance for any ideas!

--
Stacy Pennington
Information Technology Services
Rhodes College
901-843-3968



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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


[Dspace-tech] R: Linking from DSpace Object to External URL

2014-03-21 Thread Andrea Bollini
In jspui you can configure the metadata lisetd in the item page editing the 
dspace.cfg
Look around the lines
# Customise the DC metadata fields to show in the default simple item view.
#
# The form is schema 
prefix.element[.qualifier|.*][(date)|(link)|(nobreakline)], ...
#

So if you have stored the link in the metadata dc.identifier.url just add 
dc.identifier.url (link) to the webui.itemdisplay.default property.
Hope this help,
Andrea

Inviato da Samsung Mobile

div Messaggio originale /divdivDa: Pennington_Stacy 
penning...@rhodes.edu /divdivData:21/03/2014  22:42  (GMT+01:00) 
/divdivA: dspace-tech@lists.sourceforge.net /divdivOggetto: 
[Dspace-tech] Linking from DSpace Object to External URL /divdiv
/divLast week, I updated our DSpace from 1.8.2 to 4.1 without many (any?) 
issues. Kudos to everyone on this list that worked on the DSpace 4.x releases, 
whether as a developer, contributor, tester, or whatever. Your efforts are 
appreciated!

I'm wondering how to do something that seems pretty simple and can't find any 
leads in the DSpace docs or wiki on how to do it. I would like to provide a 
hyperlink from a DSpace object's page (we are using JSPUI) to an external 
location to showcase that object's bitstream using technology not associated 
with DSpace.

For example, I've got high-resolution images saved as objects in DSpace, so 
that the lossless TIFF (huge) and lossy JPEG (much smaller) are available in 
DSpace, complete with lovely DC metadata. I've now got a Djatoka server running 
with OpenSeaDragon as a viewer, and many of these large images can be viewed on 
the external Djatoka server using a custom URL for that image. I want to link 
to that external URL from within the DSpace JSPUI object page in the simplest 
way possible, without modifying DSpace code. Is this possible?

I know that this may be bad form for a repository, but I'm not interested in 
modifying the JSPUI template pages to load the Javascript viewer on the page or 
anything like that. I'm willing to store the URL to the zoomable viewer in the 
object's metadata, which of course I can do now in DC but it doesn't create a 
hyperlink; the user needs to copy/paste the URL to get to the zoomable viewer. 
I just need a simple link from the object page, and if that link stops working 
in the future, that's OK. I can remove it at that time. The bitstreams are the 
most important thing, but the user would get the most use out of the simple, 
zoomable, external URL.

Does anyone have any advice for me? Again, I'm interested in the simplest, 
easiest way to do this link, one with the least number of changes to the DSpace 
source code.

Thanks in advance for any ideas!

--
Stacy Pennington
Information Technology Services
Rhodes College
901-843-3968



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] Linking from DSpace Object to External URL

2014-03-21 Thread Pottinger, Hardy J.
Hi, Stacy, I wonder if you wouldn't mind writing up your solution, once
you've gotten it all settled? It sounds interesting. I've been kicking
around the idea of setting something similar up, and there are obvious
tie-ins with the streaming project underway. [1]

Thanks!

[1] http://tinyurl.com/dspace-streaming

--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
Debug only code. Comments lie.





On 3/21/14 4:25 PM, Pennington_Stacy penning...@rhodes.edu wrote:

Last week, I updated our DSpace from 1.8.2 to 4.1 without many (any?)
issues. Kudos to everyone on this list that worked on the DSpace 4.x
releases, whether as a developer, contributor, tester, or whatever. Your
efforts are appreciated!

I'm wondering how to do something that seems pretty simple and can't find
any leads in the DSpace docs or wiki on how to do it. I would like to
provide a hyperlink from a DSpace object's page (we are using JSPUI) to
an external location to showcase that object's bitstream using technology
not associated with DSpace.

For example, I've got high-resolution images saved as objects in DSpace,
so that the lossless TIFF (huge) and lossy JPEG (much smaller) are
available in DSpace, complete with lovely DC metadata. I've now got a
Djatoka server running with OpenSeaDragon as a viewer, and many of these
large images can be viewed on the external Djatoka server using a custom
URL for that image. I want to link to that external URL from within the
DSpace JSPUI object page in the simplest way possible, without modifying
DSpace code. Is this possible?

I know that this may be bad form for a repository, but I'm not interested
in modifying the JSPUI template pages to load the Javascript viewer on
the page or anything like that. I'm willing to store the URL to the
zoomable viewer in the object's metadata, which of course I can do now in
DC but it doesn't create a hyperlink; the user needs to copy/paste the
URL to get to the zoomable viewer. I just need a simple link from the
object page, and if that link stops working in the future, that's OK. I
can remove it at that time. The bitstreams are the most important thing,
but the user would get the most use out of the simple, zoomable, external
URL.

Does anyone have any advice for me? Again, I'm interested in the
simplest, easiest way to do this link, one with the least number of
changes to the DSpace source code.

Thanks in advance for any ideas!

--
Stacy Pennington
Information Technology Services
Rhodes College
901-843-3968



--

Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] Linking from DSpace Object to External URL

2014-03-21 Thread George Stanley Kozak
Stacy:

At Cornell University, we are doing something similar to what you are talking 
about.  We are providing streaming video content using an external source 
kaltura.  So, what I have done is once a video is submitted to DSpace, I 
submit an XML file to Kaltura using the URL to the bitstream.  Kaltura uploads 
the video and creates a streaming version.  Once I have the ID for the 
streaming version, I create an HTML page that uses the formatting of my DSpace 
pages and place a Kaltura viewer in it with the proper IDs.   I then upload the 
streaming version HTML to my original DSpace item as a bitstream.
For an example check out: http://ecommons.library.cornell.edu/handle/1813/33229
You will see the original bitstreams and then if you click on the streaming 
video version, you will see how I am handling an external viewer.

In my development DSpace 3.2 XMLUI version (soon to be in production), I have 
gone ahead and embedded the viewer on the item page, but I don't think this can 
be done in the JSPUI.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CULIT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924


From: Pennington_Stacy penning...@rhodes.edu
Sent: Friday, March 21, 2014 5:25 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Linking from DSpace Object to External URL

Last week, I updated our DSpace from 1.8.2 to 4.1 without many (any?) issues. 
Kudos to everyone on this list that worked on the DSpace 4.x releases, whether 
as a developer, contributor, tester, or whatever. Your efforts are appreciated!

I'm wondering how to do something that seems pretty simple and can't find any 
leads in the DSpace docs or wiki on how to do it. I would like to provide a 
hyperlink from a DSpace object's page (we are using JSPUI) to an external 
location to showcase that object's bitstream using technology not associated 
with DSpace.

For example, I've got high-resolution images saved as objects in DSpace, so 
that the lossless TIFF (huge) and lossy JPEG (much smaller) are available in 
DSpace, complete with lovely DC metadata. I've now got a Djatoka server running 
with OpenSeaDragon as a viewer, and many of these large images can be viewed on 
the external Djatoka server using a custom URL for that image. I want to link 
to that external URL from within the DSpace JSPUI object page in the simplest 
way possible, without modifying DSpace code. Is this possible?

I know that this may be bad form for a repository, but I'm not interested in 
modifying the JSPUI template pages to load the Javascript viewer on the page or 
anything like that. I'm willing to store the URL to the zoomable viewer in the 
object's metadata, which of course I can do now in DC but it doesn't create a 
hyperlink; the user needs to copy/paste the URL to get to the zoomable viewer. 
I just need a simple link from the object page, and if that link stops working 
in the future, that's OK. I can remove it at that time. The bitstreams are the 
most important thing, but the user would get the most use out of the simple, 
zoomable, external URL.

Does anyone have any advice for me? Again, I'm interested in the simplest, 
easiest way to do this link, one with the least number of changes to the DSpace 
source code.

Thanks in advance for any ideas!

--
Stacy Pennington
Information Technology Services
Rhodes College
901-843-3968



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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