Professional Documents
Culture Documents
Koha GSDL Integration
Koha GSDL Integration
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 "Cataloging" panel.
http://[IPofKohaVM]/cgibin/koha/oai.pl?verb=ListIdentifiers&metadataPrefix=oai_dc
By default, the identifier is constructed as "KOHAOAITEST:" followed by the Koha internal ID.
For example, "KOHAOAITEST:1" is the OAI identifier for the first Koha record.
To retrieve OAI metadata for the specified OAI Identifier
http://[IPofKohaVM]/cgibin/koha/oai.pl?verb=GetRecord&identifier=[OAI-
Identifier]&metadataPrefix=oai_dc
Set up Greenstone2.83
Starting up the GLI server by running. /gli.sh and create a new collection under File > New... In this
example we use "test" as our collection name.
Gather Panel
Use the Gather panel and put the source files into the test collection.
Enrich Panel
Design Panel
Reenter GLI and move on to the Design Panel
Enter Document Plugins, choose the plugins that processes your source documents.
IMPORTANT: You should see the OAIMetadataXMLPlugin as an option in the "Select plugin to
add" list.
Add the plugin and set "oai_server" to http://[IP of the Koha VM]:8080/cgi bin/koha/oai.pl.
Under the Librarian mode (the default mode), move the OAIMetadataXMLPlugin to the end of
your plugin list.
Under the Expert mode, move the OAIMetadataXMLPlugin to the front of MetadataXMLPlugin.
Create Panel
IMPORTANT: Under Librarian mode (the default mode), enable the OIDtype and set it to
“assigned”.
– Build the collection
Format Panel
Enter Format Features and configure the page to have the following formats
VList
<td valign=top>[link][icon][/link]</td><td valign=top>[highlight][link]{Or}{[classifyTitle],
[Title]}[/link]<br/>{If}{[numleafdocs],,{If}
{[Title],<small> Extracted Title: [Title]</small>}}[highlight]{If}
{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}
{[NumPages],
<br><small><i>_textnumpages_[NumPages]</i></small>}{If}
{[Source],<br><small><i>_textsource_[Source]</i></small>}</td>
DocumentText
<h3>[classifyTitle]</h3>
<b>Greenstone Metadata</b>
<hr width=\"100%\"/>
<b>dls.Title:</b> [dls.Title]<br/>
<b>dls.Subject:</b> [dls.Subject]<br/>
<b>dc.Identifier:</b> [dc.Identifier]<br/>
<br/>
<b>{If}{[oaiextracted.title],Koha Metadata, <span style=\"color: #B0B0B0\">Koha Metadata (No
Koha Metadata Extracted)</span>}</b>
<hr width=\"100%\"/>
{If}{[oaiextracted.title], <b>dc.Title:</b> [oaiextracted.title]<br/>}
{If}{[oaiextracted.type], <b>dc.Type:</b> [oaiextracted.type]<br/>}
<b>Extracted Metadata</b>
<hr width=\"100%\"/>
{If}{[Title], <b>Title:</b> [Title]<br/>}
{If}{[Date], <b>Publication Date:</b> [Date]<br/>}
{If}{[NumPages], <b>No. of Pages:</b> [NumPages]<br/>}
{If}{[FileFormat], <b>File Format:</b> [FileFormat]<br/>}
{If}{[ImageWidth], <b>Image Width:</b> [ImageWidth]<br/>}
{If}{[ImageHeight], <b>Image Height:</b> [ImageHeight]<br/>}
<br/>
<b>Source</b>
<hr width=\"100%\"/>
{Or}{[screenicon],[Text]}
DocumentImages true