This page serves as a walkthrough for editing sakai.properties for Sakaibrary configuration and provides a sample file as an example. Jump to the sample below.
Walkthrough
File location
Open (or create) sakai.properties at:
<Tomcat_root>/sakai/sakai.properties
Properties
Add and define the following properties to sakai.properties:
osidImpl@org.sakaiproject.citation.api.SearchManager
- the package name of the Repository OSID implementation:- For the MetaLib X-Server
org.sakaibrary.osid.repository.xserver
- For the Sirsi Web2Bridge
edu.indiana.lib.osid.base.repository.http
- For the MetaLib X-Server
metasearchUsername@org.sakaiproject.citation.api.SearchManager
- the username used to access your metasearch engine.metasearchPassword@org.sakaiproject.citation.api.SearchManager
- the password used to access your metasearch engine.metasearchBaseUrl@org.sakaiproject.citation.api.SearchManager
- the metasearch engine XML gateway base URL.- Example for the MetaLib X-Server
http://metalib.university.edu/X
- Example for the Sirsi Web2Bridge
- Example for the MetaLib X-Server
openUrlResolverAddress@org.sakaiproject.citation.api.CitationService
- the base URL for your institution's OpenURL link resolver.- If you do not know this address, or, do not have an OpenURL link resolver, you can use OCLC's OpenURL Gateway. The base URL for this OpenURL resolver is:
http://worldcatlibraries.org/registry/gateway
- If you do not know this address, or, do not have an OpenURL link resolver, you can use OCLC's OpenURL Gateway. The base URL for this OpenURL resolver is:
openUrlLabel@org.sakaiproject.citation.api.CitationService
- the label users see for the OpenURL resolution link to find full-text and other institutional services (i.e. "Find It!", "IU Link", etc.).
Additional Guidelines
- There should be at least one repository defined (
repository_0_...
). - Search categories should have consecutively increasing repository numbers:
repository_0_...
,repository_1_...
,repository_2_...
, etc. - There is no limit to the number of repositories defined.
Finding Search Source Ids
To determine the ids of your local search sources, you can use the MetaLib Management Interface:
- login to the MetaLib Management Interface at http://<metalib instance root>/M:
http://metalib.mySchool.edu/M
- choose "Find Resource"
- search for the resource
- the results will contain a "Resource ID" column - this is the id to be used