|
Here are some external search programs that can be used with MetaLib to search different resources. All of them have been developed in-house and tested with MetaLib 4 under Solaris 10 (SunOS 5.10). We cannot guarantee anything. They work fine for us, but might fail miserably for everyone else. Some of the programs are still under development and some of them make heavy assumptions about the conditions. The programs are made available under a MPL/GPL dual license. See http://www.mozilla.org/MPL/ for more information about Mozilla Public License and http://www.gnu.org/copyleft/gpl.html for information about GNU General Public License.
Feel free to send comments, suggestions or questions to Ere Maijala (ere.maijala (at) helsinki.fi). We'll be happy to respond as time permits.
General Instructions
It is very useful to read the MetaLib Resource Management Guide or at least the chapter about MetaLib Resource Configuration to get a good picture of the resource configurations and external programs in general. This document can be found in the Ex Libris Documentation Portal.
Our MetaLib installation sits at m4_3, so that's where the script will look for perl. Please change the first line of each script accordingly if your installation is somewhere else.
All of the programs here are of type EXTERNAL. So, when creating a new configuration, EXTERNAL should be selected as the Access Method. The actual program files should be copied to dat01/vir_ext directory. They can also be put somewhere else provided a symlink is created in the mentioned folder.
External programs can be tested in the unix shell by piping them the required parameters. For example a file (let's call it sru_find_command) with the following lines can be used to test the SRU programs:
To test the find program, enter the following command:
To test the present program, pipe the output of the find program to the present program:
Normally the present program gets at least the following parameters too:
The parameters tell the program from which record to start and how many to display. The numbers of course change.
SRU
The SRU Program has been moved to CodeShare at http://www.exlibrisgroup.org/display/MetaLibCC/SRU+External+Search+Program.
Google / Google Unclesam
The Google programs provide capability to search Google or Google Unclesam using its web interface.
Google Unclesam support courtesy of Marvin Pollard, Office of the Chancellor - California State University and David Walker, California State University San Marcos.
Instructions
- The latest version has been tested only on MetaLib 4.1. It probably works in previous versions too
- Unpack the files to dat01/vir_ext
- Make sure they are executable (chmod +x filename)
- Check perl path in each file (the first line). Our MetaLib resides at m4_3, so you may need to change it to m4_3 or such
- Make sure that l_finel_google_common resides in the same directory as the other files, otherwise it won't be found by the programs
- IRD: Hostname:Port: (leave empty)
- IRD: Database Code: (leave empty, enter unclesam to search Google Unclesam, or add extrasearch param).
extrasearch parameter can be used to add additional search terms to all queries for example to restrict the search to a specific domain:
extrasearch=site:www.nationallibrary.fi
It is like Filter for Subset in Presentation: Primary page of an IRD, which unfortunately only works with Z39.50 resources.
- Conf: Program Name: l_finel_google
- Conf: Outgoing character conversion: UTF_TO_8859_1
- Record Type: USMARC
- Format conversion program: vir_z00_z39_usmarc
- Incoming character conversion: (leave empty)
- Direct link type: TAG-V
- Direct link field tag: 856u
Changes
Version 1.5
- Strip translation message from field 520
Version 1.4
- Fixed parsing to accommodate new syntax
- Better method for finding l_finel_google_common
- Moved the description to field 520 so that it can be shown in the results list by default (record transformation can be used to move it back to 500 if desired)
Download
Version 1.5
Google Scholar
The Google Scholar programs provide capability to search Google Scholar using its web interface.
Instructions
- The latest version has been tested only on MetaLib 4.1. It probably works in previous versions too
- Unpack the files to dat01/vir_ext
- Make sure they are executable (chmod +x filename)
- Check perl path in each file (the first line). Our MetaLib resides at m4_3, so you may need to change it to m4_3 or such
- Make sure that l_finel_google_scholar_common resides in the same directory as the other files, otherwise it won't be found by the programs
- IRD: Hostname:Port: (leave empty)
- IRD: Database Code: (leave empty)
- Conf: Program Name: l_finel_google_scholar
- Conf: Outgoing character conversion: (leave empty)
- Record Type: USMARC
- Format conversion program: vir_z00_z39_usmarc
- Incoming character conversion: (leave empty)
- Direct link type: TAG-V
- Direct link field tag: 856u
OpenURL settings
Courtesy of Jimmy Ghaphery, VCU Libraries, Richmond, VA, U.S.
| If Field |
If Field Contains |
OpenURL Element |
Tag |
Program |
Parameters |
| 245##,h |
[BOOK] |
GENRE |
245## |
RegExp |
s/.*/book |
| 245##,h |
[BOOK] |
TITLE |
245## |
|
a |
| 245##,h |
[BOOK] |
ARTICLE-TITLE |
773## |
|
a |
| |
|
GENRE |
SID |
Reg Exp |
s/.*/article |
| |
|
TITLE |
773## |
|
a |
| |
|
ARTICLE-TITLE |
245## |
|
a |
| |
|
YEAR |
260## |
|
c |
| |
|
AUTHOR-LAST |
100## |
Author FirstLast |
Pa |
| |
|
AUTHOR-FIRST |
100## |
Author LastFirst |
Pa |
Notes: The OpenURL inherits the first occurrence of an OpenURL Element. Thus when records are assigned GENRE=Book, this is not overwritten by the subsequent GENRE declaration. For books it would be ideal if there was an element for publisher. As it is, this information is being pushed into the ARTICLE-TITLE Element for books.
Changes
Version 1.6
- Fixed parsing to accommodate changes in Google Scholar HTML output
Version 1.5
- Fixed the primary link to articles from Google Books
Download
Version 1.6
The Love Calculator 
The famous Love Calculator programs provide simple yet powerful tool to find out the propability of a successful relationship between two people. It requires the user to enter two names in the advanced search fields. The results and analysis are gathered from the wonderful Love Calculator service. But really, these programs are a simple example for those interested in writing their own programs.
Instructions

- The latest version has been tested only on MetaLib 4.1. It probably works in previous versions too
- Unpack the files to dat01/vir_ext
- Make sure they are executable (chmod +x filename)
- Check perl path in each file (the first line). Our MetaLib resides at m4_3, so you may need to change it to m4_3 or such
- IRD: Hostname:Port: (leave empty)
- IRD: Database Code: (leave empty)
- Conf: Program Name: l_finel_lv
- Conf: Outgoing character conversion: UTF_TO_8859_1
- Record Type: USMARC
- Format conversion program: vir_z00_z39_usmarc
- Incoming character conversion: (leave empty)
Download
Version Love |
1 Comment
comments.show.hide2011-11-12
JonnyMoss
strep throat symptoms