Hi,
Has anyone created a script to help normalize PURLS that go through the
EZProxy rewrite, that they would be willing to share?
The script would have to be smart enough to do the following:
1. Prepend the proxy prefix url if it does not exist.
2. Remove the proxy rewrite from either the proxy prefix and/or the
vendor's url.
For example, a sample url would be:
http://www.university.edu.proxyrewrite.proxy.edu/auth/EZProxy.asp?url=
http://search.ebscohost.com.proxyrewrite.proxy.edu/login.aspx
?direct=true&db=a9h&AN=66352991&site=ehost-live
In this example, the proxy prefix is already there, but the rewrite, ".
proxyrewrite.proxy.edu" exists in two places and would need to be removed.
I visualize a web form that the patron would copy/paste the url into the
text box and click button and new, working url will be there for user to
use for future use.
--
----------------
Tim Pellett
Library Support Specialist
Maine InfoNet, University of Maine
Phone: 207.581.3086
http://support.maineinfonet.org
|