[Dspace-devel] [DuraSpace JIRA] (DS-1142) add redirects to SWORD/OAI/LNI interfacts

0 views
Skip to first unread message

Hardy Pottinger (Created) (DuraSpace JIRA)

unread,
Aug 20, 2015, 11:31:45 AM8/20/15
to dspace...@lists.sourceforge.net
add redirects to SWORD/OAI/LNI interfacts
-----------------------------------------

Key: DS-1142
URL: https://jira.duraspace.org/browse/DS-1142
Project: DSpace
Issue Type: Improvement
Affects Versions: 3.0
Reporter: Hardy Pottinger


A common theme of usage questions that come up regarding the various DSpace interfaces (be they SWORD, OAI, or LNI) is the correct format of the request URLs for each interface. We should make this process a bit friendlier by implementing in each interface a redirect from obviously wrong URLs to the correct URL. For example: redirect [swordappname]/ -> [swordappname]/servicedocument and [oaiappname]/? -> [oaiappname]/request?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



Hardy Pottinger (Updated) (DuraSpace JIRA)

unread,
Aug 20, 2015, 11:31:46 AM8/20/15
to dspace...@lists.sourceforge.net

[ https://jira.duraspace.org/browse/DS-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Pottinger updated DS-1142:
--------------------------------

Summary: add redirects to SWORD/OAI/LNI interfaces (was: add redirects to SWORD/OAI/LNI interfacts)

> add redirects to SWORD/OAI/LNI interfaces

Mark Diggory

unread,
Aug 20, 2015, 11:31:52 AM8/20/15
to Hardy Pottinger (Created) (DuraSpace JIRA), dspace...@lists.sourceforge.net
I'd actually rather see some documentation exposed at those points so that folks could actually get the access details for the service.

For instance, parse the service document and offer examples neccessary for accessing the service

Mark
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Dspace-devel mailing list
> Dspace...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>

--
@mire Inc. 
Mark Diggory (Schedule a Meeting)
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
http://www.atmire.com


Tim Donohue (Commented) (DuraSpace JIRA)

unread,
Aug 20, 2015, 11:32:02 AM8/20/15
to dspace...@lists.sourceforge.net

[ https://jira.duraspace.org/browse/DS-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24422#comment-24422 ]

Tim Donohue commented on DS-1142:
---------------------------------

Mark Diggory mentioned the following on 'dspace-devel':
"I'd actually rather see some documentation exposed at those points so that folks could actually get the access details for the service. For instance, parse the service document and offer examples neccessary for accessing the service."

This got me thinking that maybe all we need here is a custom 404 error page for each webapp? (I wouldn't go as far as parsing the service document or anything -- I'm talking very simple)

For example, for the 'SWORD' webapp, we could create a custom 404 error page (flat HTML or simple JSP/Servlet, no styling or anything) that just says something like:
"Sorry, the DSpace SWORD web application does not understand this request. If you are looking for the SWORD 'servicedocument' please access the path: '/servicedocument'. For more information on SWORD requests and the protocol in general, please visit: http://www.swordapp.org"

You could do something similar for OAI & LNI. Essentially we just tweak the 404 error page so that it provides the user with useful information & gives very basic information on the correct URL, etc.

> add redirects to SWORD/OAI/LNI interfaces

Ivan Masár (DuraSpace JIRA)

unread,
Aug 20, 2015, 1:19:59 PM8/20/15
to dspace...@lists.sourceforge.net

[ https://jira.duraspace.org/browse/DS-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Masár updated DS-1142:
---------------------------

Status: Volunteer Needed (was: Received)

+1 to Mark & Tim

> add redirects to SWORD/OAI/LNI interfaces
> -----------------------------------------
>
> Key: DS-1142
> URL: https://jira.duraspace.org/browse/DS-1142
> Project: DSpace
> Issue Type: Improvement
> Affects Versions: 3.0
> Reporter: Hardy Pottinger
>
> A common theme of usage questions that come up regarding the various DSpace interfaces (be they SWORD, OAI, or LNI) is the correct format of the request URLs for each interface. We should make this process a bit friendlier by implementing in each interface a redirect from obviously wrong URLs to the correct URL. For example: redirect [swordappname]/ -> [swordappname]/servicedocument and [oaiappname]/? -> [oaiappname]/request?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
Reply all
Reply to author
Forward
0 new messages