From cba4cc1311ace82564eafe2c69baeaef1fa78b36 Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Thu, 7 Feb 2008 13:30:19 +0000 Subject: [PATCH] corrected SRU yazserver setup --- examples/oai-pmh/README | 16 +++++++++++++++ examples/oai-pmh/conf/dom-conf.xml | 21 +++++--------------- examples/oai-pmh/conf/explain.xml | 33 ++++++++++++++++--------------- examples/oai-pmh/conf/yazserver.xml | 2 +- examples/oai-pmh/data/fetch_OAI_data.sh | 3 ++- 5 files changed, 41 insertions(+), 34 deletions(-) diff --git a/examples/oai-pmh/README b/examples/oai-pmh/README index b9fd521..076bf54 100644 --- a/examples/oai-pmh/README +++ b/examples/oai-pmh/README @@ -247,3 +247,19 @@ SRW scan using implicit server side CQL: Notice: you need to use the 'eq' relation for all @attr 4=3 indexes + + +SRW search using X-PQF query + +http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=dc + +http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::data + +http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::meta + +http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::index::dc_description + +http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::snippet + +http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::facet::dc_description:w + diff --git a/examples/oai-pmh/conf/dom-conf.xml b/examples/oai-pmh/conf/dom-conf.xml index bbebfc0..2708265 100644 --- a/examples/oai-pmh/conf/dom-conf.xml +++ b/examples/oai-pmh/conf/dom-conf.xml @@ -1,5 +1,5 @@ - + @@ -10,30 +10,19 @@ - - - - - - - - + + + + diff --git a/examples/oai-pmh/conf/explain.xml b/examples/oai-pmh/conf/explain.xml index 0568fe7..6f465a8 100644 --- a/examples/oai-pmh/conf/explain.xml +++ b/examples/oai-pmh/conf/explain.xml @@ -1,6 +1,6 @@ - + @@ -30,14 +30,14 @@ - OAI record SRU/SRW/Z39.50 server + OAI record SRU/SRW/Z39.50 server OAI harvested article and preprint metadata records - Marc Cromme, Index Data Aps, + Marc Cromme, © Index Data Aps, http://www.indexdata.dk @@ -93,14 +93,14 @@ CQL Server Choice serverChoice - dc_all + any CQL All all - dc_all + any @@ -109,7 +109,7 @@ Record ID id - rec:id + oai_identifier 3 @@ -241,6 +241,14 @@ 3 + + DC Source + source + + dc_source + 3 + + - diff --git a/examples/oai-pmh/data/fetch_OAI_data.sh b/examples/oai-pmh/data/fetch_OAI_data.sh index 93e16f5..85c693c 100755 --- a/examples/oai-pmh/data/fetch_OAI_data.sh +++ b/examples/oai-pmh/data/fetch_OAI_data.sh @@ -403,7 +403,8 @@ http://libserv12.Princeton.EDU/oai/oai.pl \ http://www.tdx.cesca.es/TDX_UOC/NDLTD-OAI/oai.pl \ http://arXiv.org/oai2 \ http://www.pubmedcentral.gov/oai/oai.cgi \ -http://dataprovider.ibict.br/mypoai/oai2.php" +http://dataprovider.ibict.br/mypoai/oai2.php \ +http://quod.lib.umich.edu/cgi/o/oai/oai" for BASE_OAI_URL in $BASE_OAI_URLS ; -- 1.7.10.4