How to add virtual EZproxy prefix to relevant 856 tags
- Product: Aleph
- Product Version: 22, 23
Question
We have a set of bibliographic records with 856 tags linking to certain provider. Can we add the EZproxy prefix virtually based on url server name?
Answer
Yes. There are 3 ways how a proxy prefix can be added to 856 tags, subfield u:
- manually, when cataloging
- globally, with Global Changes batch procedure - see more details in the relevant article
- virtually, which is described below
The advantage of virtual approach is that the proxy prefix is added on-the-fly when the record is displayed in OPAC and the prefix can be easily changed without any need to correct relevant bib records.
STEP 1
Create a custom fix procedure located under xxx01/tab/import, e.g. xxx01/tab/import/ezproxy.fix
The following example is adding the prefix to www.jstor.org links only:
!-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... 1 856## CHANGE-SECOND-IND-MATCH #,X,www.jstor.org 1 856#X REPLACE-STRING $$u,$$uhttp://ezproxy.my.edu?url= 1 856#X CHANGE-SECOND-IND X,
STEP 2
To activate the custom fix procedure, add the following line to xxx01/tab/tab_expand, section BUF-Z403:
BUF-Z403 fix_doc_do_file_08 ezproxy.fix
STEP 3
To put both changes alive, you need to restart Aleph WWW server and check on the relevant example in your OPAC.
- Article last edited: 07-Feb-2019