Replace old index names "dc_*" with the actual local index names.
[idzebra-moved-to-github.git] / examples / oai-pmh / conf / explain.xml
index 0568fe7..43b70ff 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- $Id: explain.xml,v 1.1 2008-02-01 09:45:17 marc Exp $ -->
 
 <!-- this file configures the SRU/SRW explain response -->
 <!-- see: http://explain.z3950.org/dtd/commentary.html -->
 
   <databaseInfo>
 
-    <title lang="en" primary="true">OAI record  SRU/SRW/Z39.50 server</title>
+    <title lang="en" primary="true">OAI record SRU/SRW/Z39.50 server</title>
 
     <description lang="en" primary="true">
       OAI harvested article and preprint metadata records 
     </description>
 
     <author>
-      Marc Cromme, Index Data Aps, 
+      Marc Cromme, © Index Data Aps, 
       http://www.indexdata.dk
     </author>
 
       <title lang="en">CQL Server Choice</title>
       <map><name set="cql">serverChoice</name></map>
       <map>
-        <attr type="1" set="bib1">dc_all</attr>
+        <attr type="1" set="bib1">any</attr>
       </map>
     </index>
     <index search="true" scan="true" sort="false">
       <title lang="en">CQL All</title>
       <map><name set="cql">all</name></map>
       <map>
-        <attr type="1" set="bib1">dc_all</attr>
+        <attr type="1" set="bib1">any</attr>
       </map>
     </index>
 
       <title lang="en">Record ID</title>
       <map><name set="rec">id</name></map>
       <map>
-        <attr type="1" set="bib1">rec:id</attr>
+        <attr type="1" set="bib1">oai_identifier</attr>
         <attr type="4" set="bib1">3</attr>
       </map>
     </index>
       <title lang="en">DC Title</title>
       <map><name set="dc">title</name></map>
       <map>
-        <attr type="1" set="bib1">dc_title</attr>
+        <attr type="1" set="bib1">title</attr>
       </map>
     </index>
     <index search="true" scan="true" sort="false">
       <title lang="en">DC Creator</title>
       <map><name set="dc">creator</name></map>
       <map>
-        <attr type="1" set="bib1">dc_creator</attr>
+        <attr type="1" set="bib1">author</attr>
       </map>
     </index>
     <index search="true" scan="true" sort="false">
       <title lang="en">DC Subject</title>
       <map><name set="dc">subject</name></map>
       <map>
-        <attr type="1" set="bib1">dc_subject</attr>
+        <attr type="1" set="bib1">subject-heading</attr>
         <!-- <attr type="6" set="bib1">3</attr> -->
       </map>
     </index>
       <title lang="en">DC Description</title>
       <map><name set="dc">description</name></map>
       <map>
-        <attr type="1" set="bib1">dc_description</attr>
+        <attr type="1" set="bib1">description</attr>
       </map>
     </index>
     <index search="true" scan="true" sort="false">
       <title lang="en">DC Publisher</title>
       <map><name set="dc">publisher</name></map>
       <map>
-        <attr type="1" set="bib1">dc_publisher</attr>
+        <attr type="1" set="bib1">publisher</attr>
         <!-- <attr type="6" set="bib1">3</attr> -->
       </map>
     </index>
       <title lang="en">DC Contributor</title>
       <map><name set="dc">contributor</name></map>
       <map>
-        <attr type="1" set="bib1">dc_contributor</attr>
+        <attr type="1" set="bib1">contributor</attr>
       </map>
     </index>
     <index search="true" scan="true" sort="false">
       <title lang="en">DC Date</title>
       <map><name set="dc">date</name></map>
       <map>
-        <attr type="1" set="bib1">dc_date</attr>
+        <attr type="1" set="bib1">date</attr>
         <attr type="4" set="bib1">3</attr>
       </map>
     </index>
       <title lang="en">DC Type</title>
       <map><name set="dc">type</name></map>
       <map>
-        <attr type="1" set="bib1">dc_type</attr>
+        <attr type="1" set="bib1">type</attr>
       </map>
     </index>
     -->
       <title lang="en">DC Format</title>
       <map><name set="dc">format</name></map>
       <map>
-        <attr type="1" set="bib1"></attr>
+        <attr type="1" set="bib1">format</attr>
         <attr type="4" set="bib1">3</attr>
       </map>
     </index>
       <title lang="en">DC Identifier</title>
       <map><name set="dc">identifier</name></map>
       <map>
-        <attr type="1" set="bib1">dc_identifier</attr>
+        <attr type="1" set="bib1">identifier</attr>
         <attr type="4" set="bib1">3</attr>
       </map>
     </index>
       <title lang="en">DC Source</title>
       <map><name set="dc">source</name></map>
       <map>
-        <attr type="1" set="bib1">dc_source</attr>
+        <attr type="1" set="bib1">source</attr>
         <attr type="4" set="bib1">3</attr>
       </map>
     </index>
       <title lang="en">DC Language</title>
       <map><name set="dc">language</name></map>
       <map>
-        <attr type="1" set="bib1">dc_language</attr>
+        <attr type="1" set="bib1">language</attr>
       </map>
     </index>
     <index search="true" scan="true" sort="false">
       <title lang="en">DC Relation</title>
       <map><name set="dc">relation</name></map>
       <map>
-        <attr type="1" set="bib1">dc_relation</attr>
+        <attr type="1" set="bib1">relation</attr>
+        <attr type="4" set="bib1">3</attr>
+      </map>
+    </index>
+    <index search="true" scan="true" sort="false">
+      <title lang="en">DC Source</title>
+      <map><name set="dc">source</name></map>
+      <map>
+        <attr type="1" set="bib1">source</attr>
         <attr type="4" set="bib1">3</attr>
       </map>
     </index>
       <title lang="en">DC Coverage</title>
       <map><name set="dc">coverage</name></map>
       <map>
-        <attr type="1" set="bib1">dc_coverage</attr>
+        <attr type="1" set="bib1">coverage</attr>
       </map>
     </index>
     -->
       <title lang="en">DC Rights</title>
       <map><name set="dc">rights</name></map>
       <map>
-        <attr type="1" set="bib1">dc_rights</attr>
+        <attr type="1" set="bib1">rights</attr>
         <!-- <attr type="6" set="bib1">3</attr> -->
       </map>
     </index>
 
     <schema identifier="http://indexdata.dk/dc-short"
             location="" 
-            name="oai"
+            name="zebra::data"
             retrieve="true">
       <title lang="en">Open Archives Initiative</title>
     </schema>
 
     <schema identifier="http://indexdata.dk/zebra/xslt/retrieve"
             location="" 
-            name="zebra"
-            retrieve="true">
-      <title lang="en">Zebra Retrieve</title>
-    </schema>
-
-    <schema identifier="http://indexdata.dk/zebra/xslt/1"
-            location="" 
-            name="index"
+            name="zebra::meta"
             retrieve="true">
-      <title lang="en">Zebra Indexing</title>
+      <title lang="en">Zebra Meta</title>
     </schema>
 
   </schemaInfo>