Index: /main/trunk/model-cols-dev/peijones/etc/collectionConfig-BROKEN-DOUBLE-SPACE.xml
===================================================================
--- /main/trunk/model-cols-dev/peijones/etc/collectionConfig-BROKEN-DOUBLE-SPACE.xml	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/etc/collectionConfig-BROKEN-DOUBLE-SPACE.xml	(revision 24556)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <metadataList>
+        <metadata lang="en" name="creator"/>
+        <metadata lang="en" name="maintainer"/>
+        <metadata lang="en" name="public">true</metadata>
+    </metadataList>
+    <displayItemList>
+        <displayItem assigned="true" lang="en" name="name">Pei-Jones-Flat</displayItem>
+    </displayItemList>
+    <search type="mgpp">
+        <level name="document">
+            <displayItem lang="en" name="name">document</displayItem>
+        </level>
+        <level name="section">
+            <displayItem lang="en" name="name">section</displayItem>
+        </level>
+        <defaultLevel name="document"/>
+        <index name="text">
+            <displayItem lang="en" name="name">text</displayItem>
+        </index>
+        <index name="Title">
+            <displayItem lang="en" name="name">titles</displayItem>
+        </index>
+        <index name="Source">
+            <displayItem lang="en" name="name">filenames</displayItem>
+        </index>
+        <defaultIndex name="text"/>
+        <indexOption>
+            <option name="accentfold"/>
+            <option name="casefold"/>
+            <option name="stem"/>
+        </indexOption>
+        <searchType name="plain"/>
+        <searchType name="simpleform"/>
+        <searchType name="advancedform"/>
+        <format><gsf:template match="documentNode">  <td valign="top">    <gsf:link type="document">      <gsf:icon type="document"/>    </gsf:link>  </td>  <td>    <gsf:switch>      <gsf:metadata name="Title" select="ancestors" separator=": "/>      <gsf:when test="exists">        <gsf:metadata name="Title" select="ancestors" separator=": "/>:      </gsf:when>    </gsf:switch>    <gsf:link type="document">      <gsf:metadata name="Title"/>    </gsf:link>  </td>       </gsf:template>     </format>
+    </search>
+    <infodb type="gdbm"/>
+    <import>
+        <pluginList>
+            <plugin name="ZIPPlugin"/>
+            <plugin name="GreenstoneXMLPlugin"/>
+            <plugin name="TextPlugin"/>
+            <plugin name="HTMLPlugin"/>
+            <plugin name="EmailPlugin"/>
+            <plugin name="PDFPlugin"/>
+            <plugin name="RTFPlugin"/>
+            <plugin name="WordPlugin"/>
+            <plugin name="PostScriptPlugin"/>
+            <plugin name="PowerPointPlugin"/>
+            <plugin name="ExcelPlugin"/>
+            <plugin name="ImagePlugin"/>
+            <plugin name="ISISPlugin"/>
+            <plugin name="NulPlugin"/>
+            <plugin name="OAIPlugin"/>
+            <plugin name="MetadataXMLPlugin"/>
+            <plugin name="ArchivesInfPlugin"/>
+            <plugin name="DirectoryPlugin"/>
+        </pluginList>
+    </import>
+    <browse>
+        <classifier name="List">
+            <option name="-metadata" value="dc.Title;Title"/>
+            <option name="-partition_type_within_level" value="approximate_size"/>
+        </classifier>
+        <classifier name="AZCompactList">
+            <option name="-metadata" value="Source"/>
+            <option name="-removesuffix" value="(?i)\\..*"/>
+        </classifier>
+        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:link type="source"><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></gsf:link></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode"><td valign="top"><gsf:link type="classifier"><gsf:icon type="classifier"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
+    </browse>
+    <display>
+        <format><gsf:option name="TOC" value="false"/><xsl:template match="documentNode" mode="document"><h3><gsf:metadata name="ex.Title"/></h3><xsl:value-ofdisable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />hhhh</xsl:template></format>
+    </display>
+    <replaceListRef id="gs2-standard"/>
+    <replaceListRef id="gs2-image"/>
+    <serviceRackList>
+        <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
+        <serviceRack name="OAIPMH">
+            <ListMetadataFormats>
+                <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
+	The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
+	-->
+                <metadataFormat metadataPrefix="oai_dc">
+                    <metadataPrefix>oai_dc</metadataPrefix>
+                    <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
+                    <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
+                    <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>              
+	  -->
+                    <mappingList>
+                        <!-- 
+	    The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B> 
+	    The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
+	    searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
+	    number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
+	    if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
+	    
+	    **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
+	    
+	    **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
+	    -->
+                        <mapping>dc.Title,Title</mapping>
+                        <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
+                    </mappingList>
+                </metadataFormat>
+            </ListMetadataFormats>
+        </serviceRack>
+    </serviceRackList>
+</CollectionConfig>
Index: /main/trunk/model-cols-dev/peijones/etc/collectionConfig.bak
===================================================================
--- /main/trunk/model-cols-dev/peijones/etc/collectionConfig.bak	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/etc/collectionConfig.bak	(revision 24556)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <metadataList>
+        <metadata lang="en" name="creator"/>
+        <metadata lang="en" name="maintainer"/>
+        <metadata lang="en" name="public">true</metadata>
+    </metadataList>
+    <displayItemList>
+        <displayItem assigned="true" lang="en" name="name">Pei-Jones-Flat</displayItem>
+    </displayItemList>
+    <search type="mgpp">
+        <level name="document">
+            <displayItem lang="en" name="name">document</displayItem>
+        </level>
+        <level name="section">
+            <displayItem lang="en" name="name">section</displayItem>
+        </level>
+        <defaultLevel name="section"/>
+        <index name="text">
+            <displayItem lang="en" name="name">text</displayItem>
+        </index>
+        <index name="Title">
+            <displayItem lang="en" name="name">titles</displayItem>
+        </index>
+        <index name="Source">
+            <displayItem lang="en" name="name">filenames</displayItem>
+        </index>
+        <index name="Plugin"/>
+        <defaultIndex name="text"/>
+        <indexOption>
+            <option name="accentfold"/>
+            <option name="casefold"/>
+            <option name="stem"/>
+        </indexOption>
+        <searchType name="plain"/>
+        <searchType name="simpleform"/>
+        <searchType name="advancedform"/>
+        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td><gsf:switch><gsf:metadata name="Title" select="ancestors" separator=": "/><gsf:when test="exists"><gsf:metadata name="Title" select="ancestors" separator=": "/>:</gsf:when></gsf:switch><gsf:link type="document"><gsf:metadata name="Title"/></gsf:link></td></gsf:template> </format>
+    </search>
+    <infodb type="gdbm"/>
+    <import>
+        <pluginList>
+            <plugin name="ZIPPlugin"/>
+            <plugin name="GreenstoneXMLPlugin"/>
+            <plugin name="TextPlugin"/>
+            <plugin name="HTMLPlugin"/>
+            <plugin name="EmailPlugin"/>
+            <plugin name="PDFPlugin"/>
+            <plugin name="RTFPlugin"/>
+            <plugin name="WordPlugin"/>
+            <plugin name="PostScriptPlugin"/>
+            <plugin name="PowerPointPlugin"/>
+            <plugin name="ExcelPlugin"/>
+            <plugin name="ImagePlugin"/>
+            <plugin name="ISISPlugin"/>
+            <plugin name="NulPlugin"/>
+            <plugin name="OAIPlugin"/>
+            <plugin name="MetadataXMLPlugin"/>
+            <plugin name="ArchivesInfPlugin"/>
+            <plugin name="DirectoryPlugin"/>
+        </pluginList>
+    </import>
+    <browse>
+        <classifier name="List">
+            <option name="-metadata" value="dc.Title;Title"/>
+            <option name="-partition_type_within_level" value="approximate_size"/>
+        </classifier>
+        <classifier name="AZCompactList">
+            <option name="-metadata" value="Source"/>
+            <option name="-removesuffix" value="(?i)\\..*"/>
+        </classifier>
+        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:link type="source"><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></gsf:link></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode"><td valign="top"><gsf:link type="classifier"><gsf:icon type="classifier"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
+    </browse>
+    <display>
+        <format><gsf:option name="TOC" value="false"/><xsl:template match="documentNode" mode="document"><h3><gsf:metadata name="ex.Title"/></h3><xsl:variable name="imageWidth"><gsf:metadata name="ImageWidth"/></xsl:variable><xsl:variable name="imageHeight"><gsf:metadata name="ImageHeight"/></xsl:variable><xsl:variable name="screenImageWidth"><gsf:metadata name="ScreenWidth"/></xsl:variable><xsl:variable name="screenImageHeight"><gsf:metadata name="ScreenHeight"/></xsl:variable><script type="text/javascript"><xsl:text>largeImageHeight =</xsl:text><xsl:value-of select="$imageHeight"/><xsl:text>;</xsl:text><xsl:text>largeImageWidth =</xsl:text><xsl:value-of select="$imageWidth"/><xsl:text>;</xsl:text></script><div id="noZoom" style="display:block;"><gsf:metadata name="screenicon"/></div><div id="wrap" style="display:none"><div id="small" style="width: {$screenImageWidth}; height: {$screenImageHeight};"><gsf:metadata name="screenicon"/></div><div id="mover"><div id="overlay"><xsl:text/></div><div id="large"><img style="width: {$imageWidth}; height: {$imageHeight};"><xsl:attribute name="src"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<gsf:metadata name="assocfilepath"/>/<gsf:metadata name="srclinkFile"/></xsl:attribute></img></div></div></div></xsl:template> </format>
+    </display>
+    <replaceListRef id="gs2-standard"/>
+    <replaceListRef id="gs2-image"/>
+    <serviceRackList>
+        <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
+        <serviceRack name="OAIPMH">
+            <ListMetadataFormats>
+                <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
+	The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
+	-->
+                <metadataFormat metadataPrefix="oai_dc">
+                    <metadataPrefix>oai_dc</metadataPrefix>
+                    <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
+                    <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
+                    <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>              
+	  -->
+                    <mappingList>
+                        <!-- 
+	    The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B> 
+	    The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
+	    searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
+	    number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
+	    if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
+	    
+	    **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
+	    
+	    **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
+	    -->
+                        <mapping>dc.Title,Title</mapping>
+                        <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
+                    </mappingList>
+                </metadataFormat>
+            </ListMetadataFormats>
+        </serviceRack>
+    </serviceRackList>
+</CollectionConfig>
Index: /main/trunk/model-cols-dev/peijones/etc/collectionConfig.formatted.xml
===================================================================
--- /main/trunk/model-cols-dev/peijones/etc/collectionConfig.formatted.xml	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/etc/collectionConfig.formatted.xml	(revision 24556)
@@ -0,0 +1,239 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <metadataList>
+    <metadata lang="en" name="creator"/>
+    <metadata lang="en" name="maintainer"/>
+    <metadata lang="en" name="public">true</metadata>
+  </metadataList>
+  <displayItemList>
+    <displayItem assigned="true" lang="en" name="name">Pei-Jones-Flat</displayItem>
+  </displayItemList>
+  <search type="mgpp">
+    <level name="document">
+      <displayItem lang="en" name="name">document</displayItem>
+    </level>
+    <level name="section">
+      <displayItem lang="en" name="name">section</displayItem>
+    </level>
+    <defaultLevel name="section"/>
+    <index name="text">
+      <displayItem lang="en" name="name">text</displayItem>
+    </index>
+    <index name="Title">
+      <displayItem lang="en" name="name">titles</displayItem>
+    </index>
+    <index name="Source">
+      <displayItem lang="en" name="name">filenames</displayItem>
+    </index>
+    <index name="Plugin"/>
+    <defaultIndex name="text"/>
+    <indexOption>
+      <option name="accentfold"/>
+      <option name="casefold"/>
+      <option name="stem"/>
+    </indexOption>
+    <searchType name="plain"/>
+    <searchType name="simpleform"/>
+    <searchType name="advancedform"/>
+    <format>
+      <gsf:template match="documentNode">
+        <td valign="top">
+          <gsf:link type="document">
+            <gsf:icon type="document"/>
+          </gsf:link>
+        </td>
+        <td>
+          <gsf:switch>
+            <gsf:metadata name="Title" select="ancestors" separator=": "/>
+            <gsf:when test="exists"><gsf:metadata name="Title" select="ancestors" separator=": "/>:</gsf:when>
+          </gsf:switch>
+          <gsf:link type="document">
+            <gsf:metadata name="Title"/>
+          </gsf:link>
+        </td>
+      </gsf:template>
+    </format>
+  </search>
+  <infodb type="gdbm"/>
+  <import>
+    <pluginList>
+      <plugin name="ZIPPlugin"/>
+      <plugin name="GreenstoneXMLPlugin"/>
+      <plugin name="TextPlugin"/>
+      <plugin name="HTMLPlugin"/>
+      <plugin name="EmailPlugin"/>
+      <plugin name="PDFPlugin"/>
+      <plugin name="RTFPlugin"/>
+      <plugin name="WordPlugin"/>
+      <plugin name="PostScriptPlugin"/>
+      <plugin name="PowerPointPlugin"/>
+      <plugin name="ExcelPlugin"/>
+      <plugin name="ImagePlugin"/>
+      <plugin name="ISISPlugin"/>
+      <plugin name="NulPlugin"/>
+      <plugin name="OAIPlugin"/>
+      <plugin name="MetadataXMLPlugin"/>
+      <plugin name="ArchivesInfPlugin"/>
+      <plugin name="DirectoryPlugin"/>
+    </pluginList>
+  </import>
+  <browse>
+    <classifier name="List">
+      <option name="-metadata" value="dc.Title;Title"/>
+      <option name="-partition_type_within_level" value="approximate_size"/>
+    </classifier>
+    <classifier name="AZCompactList">
+      <option name="-metadata" value="Source"/>
+      <option name="-removesuffix" value="(?i)\\..*"/>
+    </classifier>
+    <format>
+      <gsf:template match="documentNode">
+        <td valign="top">
+          <gsf:link type="document">
+            <gsf:icon type="document"/>
+          </gsf:link>
+        </td>
+        <td valign="top">
+          <gsf:link type="source">
+            <gsf:choose-metadata>
+              <gsf:metadata name="thumbicon"/>
+              <gsf:metadata name="srcicon"/>
+            </gsf:choose-metadata>
+          </gsf:link>
+        </td>
+        <td valign="top">
+          <gsf:choose-metadata>
+            <gsf:metadata name="dc.Title"/>
+            <gsf:metadata name="exp.Title"/>
+            <gsf:metadata name="Title"/>
+            <gsf:default>Untitled</gsf:default>
+          </gsf:choose-metadata>
+          <gsf:switch>
+            <gsf:metadata name="Source"/>
+            <gsf:when test="exists">
+              <br/>
+              <i>(<gsf:metadata name="Source"/>)</i>
+            </gsf:when>
+          </gsf:switch>
+        </td>
+      </gsf:template>
+      <gsf:template match="classifierNode">
+        <td valign="top">
+          <gsf:link type="classifier">
+            <gsf:icon type="classifier"/>
+          </gsf:link>
+        </td>
+        <td valign="top">
+          <gsf:metadata name="srclink"/>
+          <gsf:choose-metadata>
+            <gsf:metadata name="thumbicon"/>
+            <gsf:metadata name="srcicon"/>
+          </gsf:choose-metadata>
+          <gsf:metadata name="/srclink"/>
+        </td>
+        <td valign="top">
+          <gsf:choose-metadata>
+            <gsf:metadata name="dc.Title"/>
+            <gsf:metadata name="exp.Title"/>
+            <gsf:metadata name="Title"/>
+            <gsf:default>Untitled</gsf:default>
+          </gsf:choose-metadata>
+          <gsf:switch>
+            <gsf:metadata name="Source"/>
+            <gsf:when test="exists">
+              <br/>
+              <i>(<gsf:metadata name="Source"/>)</i>
+            </gsf:when>
+          </gsf:switch>
+        </td>
+      </gsf:template>
+      <gsf:template match="classifierNode" mode="horizontal">
+        <gsf:link type="horizontal">
+          <gsf:metadata name="Title"/>
+        </gsf:link>
+      </gsf:template>
+    </format>
+  </browse>
+  <display>
+    <format>
+      <gsf:option name="TOC" value="false"/>
+      <xsl:template match="documentNode" mode="document">
+        <h3>
+          <gsf:metadata name="ex.Title"/>
+        </h3>
+        <xsl:variable name="imageWidth">
+          <gsf:metadata name="ImageWidth"/>
+        </xsl:variable>
+        <xsl:variable name="imageHeight">
+          <gsf:metadata name="ImageHeight"/>
+        </xsl:variable>
+        <xsl:variable name="screenImageWidth">
+          <gsf:metadata name="ScreenWidth"/>
+        </xsl:variable>
+        <xsl:variable name="screenImageHeight">
+          <gsf:metadata name="ScreenHeight"/>
+        </xsl:variable>
+        <script type="text/javascript">
+          <xsl:text>largeImageHeight =</xsl:text>
+          <xsl:value-of select="$imageHeight"/>
+          <xsl:text>;</xsl:text>
+          <xsl:text>largeImageWidth =</xsl:text>
+          <xsl:value-of select="$imageWidth"/>
+          <xsl:text>;</xsl:text>
+        </script>
+        <div id="noZoom" style="display:block;">
+          <gsf:metadata name="screenicon"/>
+        </div>
+        <div id="wrap" style="display:none">
+          <div id="small" style="width: {$screenImageWidth}; height: {$screenImageHeight};">
+            <gsf:metadata name="screenicon"/>
+          </div>
+          <div id="mover">
+            <div id="overlay">
+              <xsl:text/>
+            </div>
+            <div id="large">
+              <img style="width: {$imageWidth}; height: {$imageHeight};">
+                <xsl:attribute name="src"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<gsf:metadata name="assocfilepath"/>/<gsf:metadata name="srclinkFile"/></xsl:attribute>
+              </img>
+            </div>
+          </div>
+        </div>
+      </xsl:template>
+    </format>
+  </display>
+  <replaceListRef id="gs2-standard"/>
+  <replaceListRef id="gs2-image"/>
+  <serviceRackList>
+    <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
+    <serviceRack name="OAIPMH">
+      <ListMetadataFormats>
+        <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
+	The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
+	-->
+        <metadataFormat metadataPrefix="oai_dc">
+          <metadataPrefix>oai_dc</metadataPrefix>
+          <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
+          <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
+          <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>              
+	  -->
+          <mappingList>
+            <!-- 
+	    The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B> 
+	    The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
+	    searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
+	    number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
+	    if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
+	    
+	    **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
+	    
+	    **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
+	    -->
+            <mapping>dc.Title,Title</mapping>
+            <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
+          </mappingList>
+        </metadataFormat>
+      </ListMetadataFormats>
+    </serviceRack>
+  </serviceRackList>
+</CollectionConfig>
Index: /main/trunk/model-cols-dev/peijones/etc/collectionConfig.xml
===================================================================
--- /main/trunk/model-cols-dev/peijones/etc/collectionConfig.xml	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/etc/collectionConfig.xml	(revision 24556)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <metadataList>
+        <metadata lang="en" name="creator"/>
+        <metadata lang="en" name="maintainer"/>
+        <metadata lang="en" name="public">true</metadata>
+    </metadataList>
+    <displayItemList>
+        <displayItem assigned="true" lang="en" name="name">Pei-Jones-Flat</displayItem>
+    </displayItemList>
+    <search type="mgpp">
+        <level name="document">
+            <displayItem lang="en" name="name">document</displayItem>
+        </level>
+        <level name="section">
+            <displayItem lang="en" name="name">section</displayItem>
+        </level>
+        <defaultLevel name="section"/>
+        <index name="text">
+            <displayItem lang="en" name="name">text</displayItem>
+        </index>
+        <index name="Title">
+            <displayItem lang="en" name="name">titles</displayItem>
+        </index>
+        <index name="Source">
+            <displayItem lang="en" name="name">filenames</displayItem>
+        </index>
+        <index name="Plugin"/>
+        <defaultIndex name="text"/>
+        <indexOption>
+            <option name="accentfold"/>
+            <option name="casefold"/>
+            <option name="stem"/>
+        </indexOption>
+        <searchType name="plain"/>
+        <searchType name="simpleform"/>
+        <searchType name="advancedform"/>
+        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td><gsf:switch><gsf:metadata name="Title" select="ancestors" separator=": "/><gsf:when test="exists"><gsf:metadata name="Title" select="ancestors" separator=": "/>:</gsf:when></gsf:switch><gsf:link type="document"><gsf:metadata name="Title"/></gsf:link></td></gsf:template> </format>
+    </search>
+    <infodb type="gdbm"/>
+    <import>
+        <pluginList>
+            <plugin name="ZIPPlugin"/>
+            <plugin name="GreenstoneXMLPlugin"/>
+            <plugin name="TextPlugin"/>
+            <plugin name="HTMLPlugin"/>
+            <plugin name="EmailPlugin"/>
+            <plugin name="PDFPlugin"/>
+            <plugin name="RTFPlugin"/>
+            <plugin name="WordPlugin"/>
+            <plugin name="PostScriptPlugin"/>
+            <plugin name="PowerPointPlugin"/>
+            <plugin name="ExcelPlugin"/>
+            <plugin name="ImagePlugin"/>
+            <plugin name="ISISPlugin"/>
+            <plugin name="NulPlugin"/>
+            <plugin name="OAIPlugin"/>
+            <plugin name="MetadataXMLPlugin"/>
+            <plugin name="ArchivesInfPlugin"/>
+            <plugin name="DirectoryPlugin"/>
+        </pluginList>
+    </import>
+    <browse>
+        <classifier name="List">
+            <option name="-metadata" value="dc.Title;Title"/>
+            <option name="-partition_type_within_level" value="approximate_size"/>
+        </classifier>
+        <classifier name="AZCompactList">
+            <option name="-metadata" value="Source"/>
+            <option name="-removesuffix" value="(?i)\\..*"/>
+        </classifier>
+        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:link type="source"><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></gsf:link></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode"><td valign="top"><gsf:link type="classifier"><gsf:icon type="classifier"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
+    </browse>
+    <display>
+        <format><gsf:option name="TOC" value="false"/><xsl:template match="documentNode" mode="document"><h3><gsf:metadata name="ex.Title"/></h3><xsl:variable name="imageWidth"><gsf:metadata name="ImageWidth"/></xsl:variable><xsl:variable name="imageHeight"><gsf:metadata name="ImageHeight"/></xsl:variable><xsl:variable name="screenImageWidth"><gsf:metadata name="ScreenWidth"/></xsl:variable><xsl:variable name="screenImageHeight"><gsf:metadata name="ScreenHeight"/></xsl:variable><script type="text/javascript"><xsl:text>largeImageHeight =</xsl:text><xsl:value-of select="$imageHeight"/><xsl:text>;</xsl:text><xsl:text>largeImageWidth =</xsl:text><xsl:value-of select="$imageWidth"/><xsl:text>;</xsl:text></script><div id="noZoom" style="display:block;"><gsf:metadata name="screenicon"/></div><div id="wrap" style="display:none"><div id="small" style="width: {$screenImageWidth}; height: {$screenImageHeight};"><gsf:metadata name="screenicon"/></div><div id="mover"><div id="overlay"><xsl:text/></div><div id="large"><img style="width: {$imageWidth}; height: {$imageHeight};"><xsl:attribute name="src"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<gsf:metadata name="assocfilepath"/>/<gsf:metadata name="srclinkFile"/></xsl:attribute></img></div></div></div></xsl:template> </format>
+    </display>
+    <replaceListRef id="gs2-standard"/>
+    <replaceListRef id="gs2-image"/>
+    <serviceRackList>
+        <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
+        <serviceRack name="OAIPMH">
+            <ListMetadataFormats>
+                <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
+	The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
+	-->
+                <metadataFormat metadataPrefix="oai_dc">
+                    <metadataPrefix>oai_dc</metadataPrefix>
+                    <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
+                    <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
+                    <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>              
+	  -->
+                    <mappingList>
+                        <!-- 
+	    The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B> 
+	    The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
+	    searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
+	    number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
+	    if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
+	    
+	    **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
+	    
+	    **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
+	    -->
+                        <mapping>dc.Title,Title</mapping>
+                        <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
+                    </mappingList>
+                </metadataFormat>
+            </ListMetadataFormats>
+        </serviceRack>
+    </serviceRackList>
+</CollectionConfig>
Index: /main/trunk/model-cols-dev/peijones/etc/excerpt.xml
===================================================================
--- /main/trunk/model-cols-dev/peijones/etc/excerpt.xml	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/etc/excerpt.xml	(revision 24556)
@@ -0,0 +1,20 @@
+
+YYYY
+<div id="wrap">
+  <div id="small">
+    <gsf:metadata name="screenicon"/>
+  </div>
+  <div id="mover"  style="width: 200px; height: 200px; overflow: hidden; position: absolute; display: block; " >
+    <div id="overlay" />
+    <div id="large">
+
+    <img>
+       <xsl:attribute name='src'><xsl:value-of  disable-output-escaping="yes"
+     select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />/index/assoc/<xsl:value-of 
+  disable-output-escaping="yes" select="metadataList/metadata[@name='assocfilepath']" />/<xsl:value-of 
+  disable-output-escaping="yes" select="metadataList/metadata[@name='srclinkFile']" /></xsl:attribute>
+  </img>
+
+    </div>
+  </div>
+</div>
Index: /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-000.txt
===================================================================
--- /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-000.txt	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-000.txt	(revision 24556)
@@ -0,0 +1,1 @@
+UNIVERSITY OF WAIKATO LIBRARY 3A1 / 1 (KING KOROKI AND THE ROYAL VISIT TO ruRANGAWAEWAE MARAE: mtcRoFam COMPUTER SCANNING BY: NOVEMBER 2000 DOCUMENT MANAGEMENT COMPANY (reietilierite WatinSigitita ea1;7101MAPIL PO Cox /2C4 9 /A Lobo Rood Hcr4an Neva ileniond Mono/Foe: 64 7447 087: Mobile: 02,1 2 3034 octivecoecie,mbri ree
Index: /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-001.txt
===================================================================
--- /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-001.txt	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-001.txt	(revision 24556)
@@ -0,0 +1,1 @@
+D, R. MONK TELEPHONE 548 55 COURT CRESCENT SuPCLPT HOURal 12 5 PANMURE 0 7 AUCKLAND, NO HOURS ON SATURDAYS AND SUNDAYS 7. Dear Nrs. Koroki Lahuta, Very good friends of ours, The Karquese and The karquesa di intagliari of Florence, Italy are at present in New Zealand and will be passing through Ngaruawahia,-together with us-, on Sunday 26th February in the afternoon. If it meets with your approval, we would like to take the opportunity to introduce them to you and your husband. If you would k'_ndly consent, we would also like to show them the meeting house, the 19arae and the Pah, so that when they leave New Zealand they should have a thorough knowledge of the Naori people and their most important institutions and buildings. The farquese belongs to one of the oldest families of nobility in Italy. His wise, The Earquesa, comes originally from sydney. The harquese was Italian Ambassador at the Court of Queen Victoria, also in Xashington, Paris, Chile, Rumania and many other European capitals. He also was a member of the Italian Delegation at the Peace Conference at Versaille. in 1919. He retired from the diplomatic service about 15 years ago. At present, he is on an extended trip to Australia, Samoa and New Zealand. They will be leaving for Sydney
Index: /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-002.txt
===================================================================
--- /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-002.txt	(revision 24556)
+++ /main/trunk/model-cols-dev/peijones/import/3A01-01_Part_1-002.txt	(revision 24556)
@@ -0,0 +1,1 @@
+at the beginning of next month and will return to Italy later in the year. ;e would also like to introduce to you Mr. Lrs. Renato Forti, the Italian consul in Auckland, who will be with us in the party. I remain with many kind regards, Yours sinTely, rtYrt
