Re: [Dspace-tech] moving a subset of Handles out of DSpace
It does appear that using a tag to do a refresh within a specific sub-theme works properly. So we'll probably withdraw all the content (so it doesn't show up in searches) and alter the theme to do the redirect. I think that'll work fine for our needs. - Jim -Original Message- From: Mark H. Wood [mailto:mw...@iupui.edu] Sent: Friday, June 19, 2015 9:20 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] moving a subset of Handles out of DSpace On Thu, Jun 18, 2015 at 06:44:36PM +, Halliday, James Leonard wrote: > Thanks Mark. I just had another idea as well. We already have this community > under a separate, unique, XMLUI theme. Could we alter that theme to include a > redirect META tag, that redirects to the new location, or to a service that > finds the appropriate URL? I don't know if XMLUI themes can do things like > that. An interesting question and I don't know the answer. meta refresh is kind of icky, unless you need to interpose one of those "sit here forever and eventually your browser will show you what you asked for" pages. But I think that a theme could include a transformer that changes the response to an HTTP Redirect. I'd be surprised if there isn't one already, but if not, it should be simple to write. This might at least be a good alternative if the meta tag doesn't work out. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ 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
Re: [Dspace-tech] moving a subset of Handles out of DSpace
On Thu, Jun 18, 2015 at 06:44:36PM +, Halliday, James Leonard wrote: > Thanks Mark. I just had another idea as well. We already have this community > under a separate, unique, XMLUI theme. Could we alter that theme to include a > redirect META tag, that redirects to the new location, or to a service that > finds the appropriate URL? I don't know if XMLUI themes can do things like > that. An interesting question and I don't know the answer. meta refresh is kind of icky, unless you need to interpose one of those "sit here forever and eventually your browser will show you what you asked for" pages. But I think that a theme could include a transformer that changes the response to an HTTP Redirect. I'd be surprised if there isn't one already, but if not, it should be simple to write. This might at least be a good alternative if the meta tag doesn't work out. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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
Re: [Dspace-tech] moving a subset of Handles out of DSpace
I also forgot https://jira.duraspace.org/browse/DS-1171 which has a patch attached. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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
Re: [Dspace-tech] moving a subset of Handles out of DSpace
I almost forgot: there is a Jira issue for moving to a stock Handle resolver: https://jira.duraspace.org/browse/DS-2153 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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
Re: [Dspace-tech] moving a subset of Handles out of DSpace
Thanks Mark. I just had another idea as well. We already have this community under a separate, unique, XMLUI theme. Could we alter that theme to include a redirect META tag, that redirects to the new location, or to a service that finds the appropriate URL? I don't know if XMLUI themes can do things like that. - Jim From: Mark H. Wood [mw...@iupui.edu] Sent: Thursday, June 18, 2015 2:37 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] moving a subset of Handles out of DSpace On Thu, Jun 18, 2015 at 05:01:54PM +, Halliday, James Leonard wrote: > We have a DSpace instance which has one community that has moved elsewhere > (to OJS). So there are 4000+ items that are no longer valid and should be > removed, withdrawn, or deleted. I would like to have the handles for those > 4000 articles redirect to the corresponding article in OJS. But I assume this > requires hacking the handle server? Has anyone done something like this > before or have any tips? The actual difficulty is that the Handle resolver that comes with DSpace is already hacked: it is configured to use a custom storage backend which depends on DSpace's Handle table. A stock Handle resolver would be able to comprehend having this resource on service A, that on service B...but DSpace doesn't know how to deal with the resolver directly. The two services communicate through the shared database. It probably wouldn't take too much effort to build a new Handle provider that interacts with a stock Handle resolver, and I've been thinking that that is really the way for DSpace to go. Has anyone already done that? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- ___ 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
Re: [Dspace-tech] moving a subset of Handles out of DSpace
On Thu, Jun 18, 2015 at 05:01:54PM +, Halliday, James Leonard wrote: > We have a DSpace instance which has one community that has moved elsewhere > (to OJS). So there are 4000+ items that are no longer valid and should be > removed, withdrawn, or deleted. I would like to have the handles for those > 4000 articles redirect to the corresponding article in OJS. But I assume this > requires hacking the handle server? Has anyone done something like this > before or have any tips? The actual difficulty is that the Handle resolver that comes with DSpace is already hacked: it is configured to use a custom storage backend which depends on DSpace's Handle table. A stock Handle resolver would be able to comprehend having this resource on service A, that on service B...but DSpace doesn't know how to deal with the resolver directly. The two services communicate through the shared database. It probably wouldn't take too much effort to build a new Handle provider that interacts with a stock Handle resolver, and I've been thinking that that is really the way for DSpace to go. Has anyone already done that? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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