Re: [Dspace-tech] ask help with user-friendly url

2015-08-20 Thread Tim Donohue

Hi Vlad,

Unfortunately, DSpace doesn't support generating what you call user 
friendly URLs.  It specifically generates number-based URLs in order to 
ensure uniqueness and provide a stable, persistent identifier.


So, as a basic example, if you were to generate URLs based on doc title, 
you'd run into issues if two documents had the same name. You also may 
run into issues if you decided to change the title of the document 
(would this change the URL? If so, what would happen to folks who 
bookmarked the old URL?).


URL naming is not a simple problem, which is why DSpace specifically 
uses identifiers which have no meaning, but are persistent in nature 
(they won't change if you rename the document, and they won't conflict 
if you have two items of the same name).


Because DSpace doesn't support this, there's really no easy way to 
implement this idea in DSpace.


Sorry,

Tim

On 8/19/2015 5:06 AM, vlad ovsyannikov wrote:

Hello!

I need help

As i can see - handle db table is used to access item by url like 
123456789/


if i change handle column in handle table to beutiful-url i can 
access document by this user-friendly url




Questions

How to update all handle rows for items with proper user-friendly url 
named by doc-title?

How to add form input to edit this column on item edit page?
How to generate proper sitemaps with this user-friendly urls?

Thanks for help!

dspace 4.x


--


___
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


--
Tim Donohue
Technical Lead for DSpace  DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

--
___
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] ask help with user-friendly url

2015-08-19 Thread vlad ovsyannikov
Hello!

I need help

As i can see - handle db table is used to access item by url like
123456789/

if i change handle column in handle table to beutiful-url i can access
document by this user-friendly url



Questions

How to update all handle rows for items with proper user-friendly url named
by doc-title?
How to add form input to edit this column on item edit page?
How to generate proper sitemaps with this user-friendly urls?

Thanks for help!

dspace 4.x
--
___
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