About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:gsdl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
importing_records:how_to_index_greenstone_digital_library_with_vufind [2012/10/09 17:54] – created demiankatzindexing:gsdl [2015/12/14 16:34] (current) – ↷ Page moved and renamed from importing_records:how_to_index_greenstone_digital_library_with_vufind to indexing:gsdl demiankatz
Line 19: Line 19:
 (Note: for detailed information about OAI-PMH on GSDL, see [[http://wiki.greenstone.org/wiki/index.php/OAI_support#Creating_a_collection_from_an_OAI_repository|this link]]) (Note: for detailed information about OAI-PMH on GSDL, see [[http://wiki.greenstone.org/wiki/index.php/OAI_support#Creating_a_collection_from_an_OAI_repository|this link]])
  
 +===== Set Up VuFind =====
 +
 +1. Modify $VUFIND_HOME/harvest/oai.ini as described [[#oai.ini Settings|below]].
 +
 +2. Create and modify  $VUFIND_HOME/import/gsdl.properties if it does not already exist (you can download it [[http://vufind.git.sourceforge.net/git/gitweb.cgi?p=vufind/vufind;a=blob;f=import/gsdl.properties;hb=HEAD|here]] if you have a version of VuFind older than 1.4).
 +
 +3. Create & modify $VUFIND_HOME/import/xsl/gsdl.xsl if it does not already exist (you can download it [[http://vufind.git.sourceforge.net/git/gitweb.cgi?p=vufind/vufind;a=blob;f=import/xsl/gsdl.xsl;hb=HEAD|here]] if you have a version of VuFind older than 1.4).
 +
 +4. cd $VUFIND_HOME/harvest
 +
 +5. php harvest_oai.php
 +
 +6. sh batch-import-xsl.sh ./Greenstone ../import/gsdl.properties
 +
 +7. ../vufind.sh restart
 +
 +===== oai.ini Settings =====
 +
 +<code>
 +[Greenstone]
 +url = http://localhost/greenstone/cgi-bin/oaiserver.cgi
 +metadataPrefix = oai_dc
 +; oai:repID:col:oid //This is the identifier format used in GREENSTONE OAI-PMH
 +;i.e example oai:gsdl:demo:demo.1 will be replaced to demo-1 on url link of VuFind
 +idSearch[] = "/^oai:gsdl:demo:demo./"
 +idReplace[] = "demo-"
 +;also strip extra slashes
 +idSearch[] = "/\//"
 +idReplace[] = ""
 +injectId = "identifier"
 +dateGranularity = auto
 +</code>
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
indexing/gsdl.1349805299.txt.gz · Last modified: 2014/06/13 13:13 (external edit)