-
Notifications
You must be signed in to change notification settings - Fork 0
Home
SFX-Tools is a collection of Perl scripts that manipulating data exported from an Ex Libris SFX link server and convert it to various other formats, one of which is suitable for import into Innovative Interfaces' (III) ERM module.
Data housed in the SFX server can be extremely useful for projects outside of SFX itself, such as journal lists, proxy server configurations and resource management tools (such as Innovative's ERM module). The problem is that journal data exported from the SFX server does not have a URL, something necessary for these other applications. This is understandable, as SFX is primarily a link resolver. It’s job is to determine – in real time, at the exact moment you link out to a resource -- the appropriate URL based supplied citation information. To make the SFX data useful for external applications however, a journal level URL is usually required. The scripts in this package do just that, with the help of SFX's own linking API.
The general idea is this: active portfolio information (i.e. all your active journal information from each enabled SFX target) is exported from your SFX server and compared against a previous export to determine which portfolios are new, changed, or expired (expiry helps keep the URL data current, and is done using a timestamp created as part of the URL resolution process). Journal level URLs are resolved using the SFX API for all new, changed and expired portfolios, and this data is cached outside the SFX server.
Once the journal level URLs are available, the SFX data can be converted or manipulated for a number of purposes, including import into Innovative Interfaces’ ERM module for INNOPAC.
This entire process is suitable for automated execution via utilities such as cron. The University of Saskatchewan Library, for example, uses these scripts to refresh our e-journal A-Z lists nightly, ensuring that resolved URLs are expired at least once per month.
sfx_resolve_urls.pl
A Perl script that uses the SFX API to fetch journal level URLs for all active portfolios in your SFX instance, including those without ISSNs.
sfx2erm.pl
A Perl script that converts the results of the sfx_resolve_urls.pl script into a form suitable for import into III's ERM module
sfx2ejdb.pl
A Perl script that converts the results of the sfx_resolve_urls.pl script into a form suitable for use in an external e-journal A-Z database
erm_split.pl
A Perl script that splits the ERM import file into smaller parts either by individual SFX target, or a given number of records
sfx-tools.pl
A Perl script, which can be run either by hand or via cron, to automate the resolving of journal level URLs, the conversion and cleanup of the resolved URL data into a file for import into ERM. It is essentially a control script that manages the execution of the above four scripts.
sfx-tools.conf
The configuration file used by all of the above scripts.
sfx-server/sfx-export.pl
A Perl script which can be placed on the SFX server to exports all active portfolio information.
sfx-server/sfx-export.cron
A Unix shell script used to schedule execute the above sfx-export.pl script via cron.