Print

Print


Hi Hardy,

On 31/08/12 03:51, Pottinger, Hardy J. wrote:
> Hi, we're in the process of migrating an existing digital library to a new
> platform, and we want to ensure that old URLs continue to resolve to the
> items in the new location. 

I used this php script for the redirects when we migrated all items from
an EPrints instance into a DSpace instance: https://gist.github.com/3541306

The script wraps a lookup mechanism that maps EPrints item IDs to DSpace
item IDs. It redirects item links as well as links on a bitstream level,
plus those for newsfeeds. What I have is incomplete because the lookup
mechanism wasn't done by me; I'm not sure how the people who are
actually running this do the lookup mechanism, but I suspect it's
similar to the sqlite database mentioned in the comments.

I'm not claiming that this is particularly elegant, but it works. At
least for a reasonably small EPrints instance (~1000 items) with
relatively low traffic.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand