Bug #6546
closedold metacat URIs should redirect to #view service
0%
Description
Researchers have complained that prior citations on the KNB metacat of the form:
https://knb.ecoinformatics.org/knb/metacat/nuding.7.6/knb
currently return a partially broken response. Instead, we should configure apache redirect all URLs of that for for the KNB to the associated URL for the view service for the data set, in this case:
https://knb.ecoinformatics.org/#view/doi:10.5063/AA/nuding.7.6
We need to consider how to redirect other skins other than the knb skin that are on that server, such as nrs and obfs.
Updated by ben leinfelder over 10 years ago
You are proposing a redirect from a Metacat docid to a DataONE Identifier -- these are not always the same value and often there is a DOI shoulder added to the Metacat docid.
In many cases (e.g., those DOIs we minted when the KNB first came online as a DataONE MN) we can successfully prepend "doi:10.5063/AA" to the Metacat docid and redirect to the #view URI. In some cases where the package has been updated after we generated the batch DOIs, this will result in an error (the docid == identifier with no DOI prefix). There is no way for us to know (in the Apache configuration where I assume these rewrite rules will exist) which is correct redirect strategy to take. There should probably be a nice error page giving suggestions about how to search to locate the package they are trying to find.
Updated by Lauren Walker over 10 years ago
We could update the Metacat KNB skin with a informational message about the new KNB redesign with a link to the new KNB Metadata view for that package.
Updated by ben leinfelder over 10 years ago
For the perl registry, I ended up needing another Metacat servlet method to get the docid when given a pid:
https://knb.ecoinformatics.org/knb/metacat?action=getdocid&pid=doi:10.5063/AA/nuding.7.9
We could do a similar look up of the PID given a docid, just not sure when or how to call this kind of lookup, especially if we are trying to do it outside of Metacat.
If we kept this stuff in Metacat, then /knb/metacat/<docid>/<qformat> could easily redirect to the /#view/<DOI> version of it or the #view/docid version of it as appropriate for the given docid.
Similarly, /knb/metacat?action=read&docid=<docid>&qformat=<qformat> could redirect as well. Would not want to redirect when qformat=xml, of course.
Updated by Lauren Walker over 10 years ago
- Project changed from MetacatUI to Metacat
- Target version deleted (
1.6.0)
It looks like we have decided that we will redirect users to the new KNB /#view service from the /metacat/{docid} KNB metacat skin. This redirect will need to happen in metacat so we can easily lookup the guid for that docid.
Updated by ben leinfelder over 10 years ago
- Status changed from New to Closed
- Assignee changed from Lauren Walker to ben leinfelder
Metacat trunk now has the short form Metatcat read URIs redirecting to the Metacat UI #view using the looked-up pid/identifier (which may or may not be the same as the docid depending on whether is is published with a DOI or came in via DataONE APIs)
Updated by Matt Jones over 9 years ago
- Status changed from Closed to In Progress
- Assignee changed from ben leinfelder to Lauren Walker
Reopening this issue because it appears some of the urls are still not redirecting properly. There are many archived links to NCEAS data products using this form:
http://knb.ecoinformatics.org/knb/metacat/olyarnik.3/nceas
When resolved, this redirects to the KNB, but never gets past the spinning progress graphic.
Updated by Lauren Walker over 9 years ago
- Status changed from In Progress to Resolved