OCLC WorldCat Local

OCLC WorldCat Local requires the following configuration in config.txt/ezproxy.cfg:

Title YourInstitution WorldCat Local
URL http://YourInstitution.worldcat.org
DJ worldcat.org

Substitute your institution's domain name wherever YourInstitution is located above.

Note: The FirstSearch database definition also needs to be part of your config.txt/ezproxy.cfg file in order for the WorldCat Local definition to function properly.

WMS libraries

For WMS libraries, WorldCat Local requires the use of this stanza in place of the one above in config.txt/ezproxy.cfg:


Title YourInstitution WorldCat Local
URL http://YourInstitution.worldcat.org
DJ YourInstitution.worldcat.org
Find "https://" + location.hostname + (location.port != "" ? ":" + location.port : "")
Replace "https://^AYourInstitution.worldcat.org"
Find returnLocation = scheme + location.hostname + (location.port != "" ? ":" + location.port : "")
Replace returnLocation = "https://^AYourInstitution.worldcat.org"
Find sendLocation = scheme + location.hostname + (location.port != "" ? ":" + location.port : "")
Replace sendLocation = "https://^sYourInstitution.worldcat.org^"

# This final, hidden stanza allows the non-customized pieces of the IDM to
# be proxied as well as static scripts/images that support WorldCat Local
# but to not need to be customized. The URL in this stanza is irrelevant; it
# is only the presence of "DJ worldcat.org" that matters

Title -Hide WorldCat IDM and static content
URL http://worldcat.org
DJ worldcat.org

NOTES:
Substitute your institution's domain name wherever YourInstitution is located above. The ^A, and ^s character sequences are needed as part of the definition above and are valid syntax.  For example, if your WorldCat URL is myschool.worldcat.org, then subsitute myschool for all occurrences of YourInstitution in the definition above.

This configuration must be before any other configuration statements for worldcat.org.

The FirstSearch database definition also needs to be part of your config.txt/ezproxy.cfg file in order for the WorldCat Local definition to function properly.