Not using handle.net and avoiding 123456789 dummy handle in URLs

126 views
Skip to first unread message

Benedikt Kroll

unread,
Aug 24, 2016, 10:06:22 AM8/24/16
to dspac...@googlegroups.com
Hi,

for a new DSpace site, we will be using DOIs and URNs for persistent
identification. Therefore, we are planning not to use handle.net.
Currently, this would mean that all item URLs would have this 123456789
dummy handle prefix.

We would like to avoid having these numbers in all urls. Instead, it
would be great if they could be replaced by a string, for example
https://subdomain.domain.tld/item/567762.

What would be the best way to avoid the dummy handle prefix and replace
it with a string?

We could think of ways to solve this as an individual aspect, but I'm
looking for a way that is likely not to interfere with future updates.
Even though there will be DOIs for every item, it is likely that users
will use the URL for bookmarking etc., so it would be good to keep them
stable as well.

Thanks for your help!

Benedikt Kroll

Claudia Jürgen

unread,
Aug 24, 2016, 10:25:38 AM8/24/16
to dspac...@googlegroups.com
Hallo Benedikt,

take a look at
https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference
Section: Handle Server Configuration
You can use [your url]/handle as handle.canonical.prefix and some string
as handle.prefix. This would result to URL's and dc.identifer.uri's like
[YourDSpaceURL]/handle/SomeString/[Number]
Item might be a confusing name as it is a DSpace Object and got a
special meaning and URL's for communities and collections would have it too.

Hope this helps

Claudia Jürgen
--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.

Benedikt Kroll

unread,
Aug 24, 2016, 10:41:26 AM8/24/16
to dspac...@googlegroups.com, Claudia Jürgen
Hallo Claudia,

thanks, that is helpful. May I suggest that this section be linked with
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-TheHandleServer?
It only says "At the moment, you need to change the code a little to
use something else (e.g PURLs) but that should change soon", but a link
to that paragraph on the Configuration Reference page would be more
effective there.

My wiki account appears not to have write permission on those pages,
maybe someone with sufficient rights could consider making this edit.

Thanks!

Benedikt Kroll

hosk...@gmail.com

unread,
Nov 24, 2016, 10:37:51 AM11/24/16
to DSpace Technical Support
Hello,
I can not understand any think.
Can we ovveride file sitebndl.zip.
With what we can replace "300:0.NA/YOUR_NAMING_AUTHORITY" in handle-server/config.dct
thanks for help

helix84

unread,
Nov 24, 2016, 11:15:52 AM11/24/16
to hosk...@gmail.com, DSpace Technical Support
If you don't want to register and pay for a handle prefix, you don't have to use the handle server ([dspace]/hadle-server/). In such case, there's no need to configure anything and your URLs will look like this: http://example.com/handle/123456789/[postfix].


Regards,
~~helix84

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



--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscribe@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

hosk...@gmail.com

unread,
Nov 24, 2016, 3:39:16 PM11/24/16
to DSpace Technical Support
Thanks for reply
Ok I will just change the 'handle prefix, handle.canonical.prefix' in config/local.cfg to some strings and don't need to run [dspace]/bin/dspace make-handle-config [dspace]/handle-server.

Thank you very much

admin

unread,
Sep 8, 2018, 9:46:37 AM9/8/18
to DSpace Technical Support
Can I simply use empty handle.string, like:
handle.prefix = ""
?

Or it cannot be empty?

Tim Donohue

unread,
Sep 10, 2018, 9:25:45 AM9/10/18
to admin, DSpace Technical Support
Hello,

A handle.prefix cannot be empty. It is used as part of the URL path for all items, and setting it to an empty string may result in unexpected behavior.  Any other string value should be fine, however.

- Tim

--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.

To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org
Reply all
Reply to author
Forward
0 new messages