old:koha_greenstone_integration
Differences
This shows you the differences between two versions of the page.
old:koha_greenstone_integration [2015/08/13 01:19] – external edit 127.0.0.1 | old:koha_greenstone_integration [2018/07/31 01:18] (current) – removed kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | //**This page is in the ' | ||
- | We recommend checking for more up-to-date information using the search box.**// | ||
- | ====== Koha Greenstone Integration ====== | ||
- | Here are some notes about integrating Greenstone 2.83 with Koha. | ||
- | This enables Koha to link to the Greenstone version of a document if available. And enables Greenstone to download metadata from Koha using OAI for the documents in its collection. | ||
- | |||
- | **See also ** | ||
- | * Greenstone-Koha Live CD project http:// | ||
- | * [[http:// | ||
- | |||
- | =====Setup Koha Server===== | ||
- | * Visit Koha official site - http:// | ||
- | * Start up your VMWare Server after the Koha VM (Virtual Machine) is downloaded, and use "Add Virtual Machine to Inventory" | ||
- | ====Access Koha VM==== | ||
- | This is a Debian server. After the VMWare Server detects the IP of this Koha VM, ssh login to the server with the following accounts. | ||
- | * root : katikoan (Login with root will bring you directly to Koha Management Console) | ||
- | * koha : katikoan (Login with this account allows you to access the VM via normal console) | ||
- | ====Access Koha Web Interface==== | ||
- | To visit the site via web browser - http://[IP of the Koha VM]:8080/, you will be able to login with the " | ||
- | * kohaadmin : katikoan | ||
- | ====Other Access==== | ||
- | The following are the MySQL account | ||
- | * root : katikoan | ||
- | * kohaadmin : katikoan | ||
- | |||
- | =====Enable Koha OAI Server===== | ||
- | * Access Koha via a web browser - http://[IP of the Koha VM]:8080/ | ||
- | * Login with the “kohaadmin” account | ||
- | * Go to: More > Administration > Global system preferences | ||
- | * Under OAI-PMH, set the OAI-PMH parameter to “ON“ | ||
- | To test the OAI server is set up correctly, you need to make sure there are some records in the | ||
- | system. If there aren't any, add some new records via the " | ||
- | ====To show a list of OAI records==== | ||
- | < | ||
- | |||
- | In here, you will be able to find a list of OAI identifiers. | ||
- | By default, the identifier is constructed as " | ||
- | example, " | ||
- | Note: This OAI prefix can be changed in the “Global system preferences” page. | ||
- | |||
- | ====To retrieve OAI metadata for the specified OAI Identifier==== | ||
- | < | ||
- | =====Setup Greenstone2.83===== | ||
- | Important: Please install Greenstone under Linux. In this KOHA-Greenstone integration project, Greenstone uses KOHA OAI identifier as the document identifier. Unfortunately, | ||
- | archives directory. | ||
- | *Download gsdl2.83 installer from http:// | ||
- | *Run the installer and follow the instructions. | ||
- | *Once Greenstone is installed, configure your web server to enable CGI execution in < | ||
- | |||
- | Example of Apache configuration | ||
- | < | ||
- | ScriptAlias / | ||
- | < | ||
- | AllowOverride None | ||
- | Options ExecCGI +MultiViews FollowSymLinks | ||
- | Order allow,deny | ||
- | Allow from all | ||
- | </ | ||
- | Alias / | ||
- | < | ||
- | AllowOverride All | ||
- | Options Indexes FollowSymLinks | ||
- | </ | ||
- | </ | ||
- | *Restart the web server to load the configuration. | ||
- | *If the web server alias for the Greenstone installation is not "/ | ||
- | *Make sure Greenstone is working by visiting via a webbrowser. < | ||
- | |||
- | **IMPORTANT: | ||
- | * The MetadataXMLPlugin.pm has been modified to allow the custom OAIMetadataXMLPlugin.pm to work properly. However, the fix is not in any current tagged version. Please download [{{SERVER}}{{SCRIPTPATH}}/ | ||
- | * The customized Plugin requires a Perl module. This module is included in the standard Perl installation on Linux. However Greenstone' | ||
- | * After the file is unzipped, you should see the following files/ | ||
- | < | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | Please note that these files have to sit directly under the perllib directory. | ||
- | * If you have perl 5.10 installed on the server. One of the Perl modules (XMLParser: | ||
- | </ | ||
- | |||
- | =====Setup Koha OAI collection with GLI (Linux)===== | ||
- | * Starting up the GLI server by running ./gli.sh | ||
- | * Create a new collection under File > New... | ||
- | * In this example we use " | ||
- | * Gather Panel | ||
- | * Use the Gather panel and put the source files into the kohaoai collection. | ||
- | * Enrich Panel | ||
- | * Add Dublin Core Metadata to the source documents. | ||
- | * **IMPORTANT: | ||
- | * Manual process for installing OAIMetadataXMLPlugin | ||
- | * Quit out GLI | ||
- | * Enter your kohaoai collection from a terminal < | ||
- | * Create perllib/ | ||
- | * Design Panel | ||
- | * Re-enter GLI and move on to the Design Panel | ||
- | * Enter Document Plugins, choose the plugins that processes your source documents. | ||
- | * **IMPORTANT: | ||
- | * Under the Librarian mode (the default mode), move the OAIMetadataXMLPlugin to the end of your plugin list (by default, it would go after the NulPlugin). | ||
- | * Under the Expert mode,move the OAIMetadataXMLPlugin to the front of MetadataXMLPlugin (by default, it would also go after the NulPlugin). | ||
- | * **OPTIONAL** - Creates a classifier based on the extracted OAI metadata | ||
- | * Enter Browsing Classifiers, | ||
- | | ||
- | sort: oaiextracted.title | ||
- | | ||
- | * Create Panel | ||
- | * Under Librarian mode (the default mode), enable the OIDtype and set it assigned. | ||
- | * Build the collection | ||
- | * Format Panel | ||
- | * Enter Format Features and configure the page to have the following formats | ||
- | |||
- | **VList** | ||
- | < | ||
- | <td valign=top> | ||
- | <td valign=top> | ||
- | {If}{[numleafdocs],, | ||
- | {If}{[Date], | ||
- | {If}{[NumPages], | ||
- | {If}{[Source], | ||
- | **DocumentText** | ||
- | < | ||
- | < | ||
- | <hr width=\" | ||
- | < | ||
- | < | ||
- | < | ||
- | <br/> | ||
- | < | ||
- | Koha Metadata Extracted)</ | ||
- | <hr width=\" | ||
- | {If}{[oaiextracted.title], | ||
- | {If}{[oaiextracted.type], | ||
- | {If}{[oaiextracted.date], | ||
- | {If}{[oaiextracted.koharecordlink], | ||
- | Record</ | ||
- | <br/> | ||
- | < | ||
- | <hr width=\" | ||
- | {If}{[Title], | ||
- | {If}{[Date], | ||
- | {If}{[NumPages], | ||
- | {If}{[FileFormat], | ||
- | {If}{[ImageWidth], | ||
- | {If}{[ImageHeight], | ||
- | <br/> | ||
- | < | ||
- | <hr width=\" | ||
- | {Or}{[screenicon], | ||
- | </ | ||
- | |||
- | **DocumentImages** | ||
- | < | ||
- | true | ||
- | </ | ||
- | **NOTE:** Koha OAI metadata is extracted and stored as " | ||
- | |||
- | =====Customization in Koha for linking back to Greenstone===== | ||
- | * Log in to the Koha VM with the “koha” user. | ||
- | * Edit ./ | ||
- | * To add the Greenstone link after the Description, | ||
- | **Koha code** | ||
- | < | ||
- | < | ||
- | < | ||
- | NAME=" | ||
- | <!-- TMPL_IF name=" | ||
- | </ | ||
- | **Modified Koha code** | ||
- | < | ||
- | < | ||
- | < | ||
- | NAME=" | ||
- | <!-- TMPL_IF name=" | ||
- | </li> | ||
- | <li> | ||
- | < | ||
- | <a href=" | ||
- | TEST:< | ||
- | here | ||
- | </ | ||
- | </li> | ||
- | </ | ||
- | **Note:** | ||
- | ***“c=kohaoai”** is the Greenstone collection shortname | ||
- | ***< |
old/koha_greenstone_integration.1439428740.txt.gz · Last modified: 2018/07/31 01:18 (external edit)