About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
importing_records:how_to_index_greenstone_digital_library_with_vufind [2012/10/09 17:59] demiankatzindexing:gsdl [2023/11/28 20:21] demiankatz
Line 1: Line 1:
-====== How to Index Greenstone Digital Library (GSDL) with VuFind ======+====== How to Index Greenstone Digital Library (GSDL) with VuFind® ======
  
 ===== Set Up Greenstone ===== ===== Set Up Greenstone =====
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 =====+===== Set Up VuFind® =====
  
-1. Modify $VUFIND_HOME/harvest/oai.ini as described [[#oai.ini Settings|below]].+1. Modify $VUFIND_LOCAL_DIR/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).+2. Create and modify $VUFIND_LOCAL_DIR/import/gsdl.properties (by copying $VUFIND_HOME/import/gsdl.propertiesif it does not already exist.
  
-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).+3. Create and modify $VUFIND_LOCAL_DIR/import/xsl/gsdl.xsl if you wish to customize the import rules (optional -- defaults should be reasonable).
  
-4. cd $VUFIND_HOME/harvest+4. ''php $VUFIND_HOME/harvest/harvest_oai.php''
  
-5. php harvest_oai.php +5. ''$VUFIND_HOME/harvest/batch-import-xsl.sh Greenstone gsdl.properties''
- +
-6. sh batch-import-xsl.sh ./Greenstone ../import/gsdl.properties +
- +
-7. ../vufind.sh restart+
  
 ===== oai.ini Settings ===== ===== oai.ini Settings =====
Line 42: Line 38:
 metadataPrefix = oai_dc metadataPrefix = oai_dc
 ; oai:repID:col:oid //This is the identifier format used in GREENSTONE OAI-PMH ; 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+;i.e example oai:gsdl:demo:demo.1 will be replaced to demo-1 on url link of VuFind®
 idSearch[] = "/^oai:gsdl:demo:demo./" idSearch[] = "/^oai:gsdl:demo:demo./"
 idReplace[] = "demo-" idReplace[] = "demo-"
Line 52: Line 48:
 </code> </code>
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
indexing/gsdl.txt · Last modified: 2023/11/28 20:22 by demiankatz