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

Next revision
Previous revision
importing_records:how_to_index_greenstone_digital_library_with_vufind [2012/10/09 17:54] – created demiankatzindexing:gsdl [2023/11/28 20:22] (current) – [How to Index Greenstone Digital Library (GSDL) with VuFind®] demiankatz
Line 1: Line 1:
-====== How to Index Greenstone Digital Library (GSDL) with VuFind ======+====== Indexing Greenstone Digital Library (GSDL) into 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® =====
 +
 +1. Modify $VUFIND_LOCAL_DIR/harvest/oai.ini as described [[#oai.ini Settings|below]].
 +
 +2. Create and modify $VUFIND_LOCAL_DIR/import/gsdl.properties (by copying $VUFIND_HOME/import/gsdl.properties) if it does not already exist.
 +
 +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. ''php $VUFIND_HOME/harvest/harvest_oai.php''
 +
 +5. ''$VUFIND_HOME/harvest/batch-import-xsl.sh Greenstone gsdl.properties''
 +
 +===== 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)