Stacy
It sounds like you have the url to the Dakota URL already stored as metadata on
your DSPACE instance
and you have your item pages setup to show the url - ready for cut-and-paste,
all you want is turn the url
into a link
You could write a javascript function itemDisplayDoctor and add it to
dspace-jspui//src/main/webapp/utils.js
that ‘doctors’ the ‘itemDisplayTable’ DOM such that it turns the Dakota URL
into an actual link
and then do
window.onload = itemDisplayDoctor();
Monika
________________
Monika Mevenkamp
phone: 609-258-4161
Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ
08544
On Mar 21, 2014, at 5:25 PM, Pennington_Stacy
<[email protected]<mailto:[email protected]>> 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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette