[24556] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
| 3 | <metadataList>
|
---|
| 4 | <metadata lang="en" name="creator"/>
|
---|
| 5 | <metadata lang="en" name="maintainer"/>
|
---|
| 6 | <metadata lang="en" name="public">true</metadata>
|
---|
| 7 | </metadataList>
|
---|
| 8 | <displayItemList>
|
---|
| 9 | <displayItem assigned="true" lang="en" name="name">Pei-Jones-Flat</displayItem>
|
---|
| 10 | </displayItemList>
|
---|
| 11 | <search type="mgpp">
|
---|
| 12 | <level name="document">
|
---|
| 13 | <displayItem lang="en" name="name">document</displayItem>
|
---|
| 14 | </level>
|
---|
| 15 | <level name="section">
|
---|
| 16 | <displayItem lang="en" name="name">section</displayItem>
|
---|
| 17 | </level>
|
---|
| 18 | <defaultLevel name="section"/>
|
---|
| 19 | <index name="text">
|
---|
| 20 | <displayItem lang="en" name="name">text</displayItem>
|
---|
| 21 | </index>
|
---|
| 22 | <index name="Title">
|
---|
| 23 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
| 24 | </index>
|
---|
| 25 | <index name="Source">
|
---|
| 26 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
| 27 | </index>
|
---|
| 28 | <index name="Plugin"/>
|
---|
| 29 | <defaultIndex name="text"/>
|
---|
| 30 | <indexOption>
|
---|
| 31 | <option name="accentfold"/>
|
---|
| 32 | <option name="casefold"/>
|
---|
| 33 | <option name="stem"/>
|
---|
| 34 | </indexOption>
|
---|
| 35 | <searchType name="plain"/>
|
---|
| 36 | <searchType name="simpleform"/>
|
---|
| 37 | <searchType name="advancedform"/>
|
---|
| 38 | <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>
|
---|
| 39 | </search>
|
---|
| 40 | <infodb type="gdbm"/>
|
---|
| 41 | <import>
|
---|
| 42 | <pluginList>
|
---|
| 43 | <plugin name="ZIPPlugin"/>
|
---|
| 44 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
| 45 | <plugin name="TextPlugin"/>
|
---|
| 46 | <plugin name="HTMLPlugin"/>
|
---|
| 47 | <plugin name="EmailPlugin"/>
|
---|
| 48 | <plugin name="PDFPlugin"/>
|
---|
| 49 | <plugin name="RTFPlugin"/>
|
---|
| 50 | <plugin name="WordPlugin"/>
|
---|
| 51 | <plugin name="PostScriptPlugin"/>
|
---|
| 52 | <plugin name="PowerPointPlugin"/>
|
---|
| 53 | <plugin name="ExcelPlugin"/>
|
---|
| 54 | <plugin name="ImagePlugin"/>
|
---|
| 55 | <plugin name="ISISPlugin"/>
|
---|
| 56 | <plugin name="NulPlugin"/>
|
---|
| 57 | <plugin name="OAIPlugin"/>
|
---|
| 58 | <plugin name="MetadataXMLPlugin"/>
|
---|
| 59 | <plugin name="ArchivesInfPlugin"/>
|
---|
| 60 | <plugin name="DirectoryPlugin"/>
|
---|
| 61 | </pluginList>
|
---|
| 62 | </import>
|
---|
| 63 | <browse>
|
---|
| 64 | <classifier name="List">
|
---|
| 65 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
| 66 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
[24630] | 67 | <option name="-bookshelf_type" value="never"/>
|
---|
[24556] | 68 | </classifier>
|
---|
| 69 | <classifier name="AZCompactList">
|
---|
| 70 | <option name="-metadata" value="Source"/>
|
---|
| 71 | <option name="-removesuffix" value="(?i)\\..*"/>
|
---|
[24630] | 72 | <option name="-buttonname" value="Source"/>
|
---|
[24556] | 73 | </classifier>
|
---|
| 74 | <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>
|
---|
| 75 | </browse>
|
---|
| 76 | <display>
|
---|
[24630] | 77 | <format><gsf:option name="TOC" value="false"/>
|
---|
| 78 | <xsl:template name="additionalHeaderContent">
|
---|
| 79 | <script type="text/javascript" src="interfaces/{$interface_name}/js/jquery-1.4.2.js"><xsl:text> </xsl:text></script>
|
---|
| 80 | <script type="text/javascript" src="sites/localsite/collect/peijones/js/documentmaker/zoomer.jquery.js"><xsl:text> </xsl:text></script>
|
---|
| 81 | <link rel="stylesheet" type="text/css" href="sites/localsite/collect/peijones/style/style.css"/>
|
---|
| 82 | <script type="text/javascript">
|
---|
| 83 | <xsl:text disable-output-escaping="yes">
|
---|
| 84 | function readyImagesForZoom()
|
---|
| 85 | {
|
---|
| 86 | document.getElementById("noZoom").style.display = "none";
|
---|
| 87 | document.getElementById("wrap").style.display = "";
|
---|
| 88 | var smallImageDiv = document.getElementById("small");
|
---|
| 89 | var smallImage = smallImageDiv.getElementsByTagName("img")[0];
|
---|
| 90 | smallImageDiv.style.width = smallImage.clientWidth + "px";
|
---|
| 91 | smallImageDiv.style.height = smallImage.clientHeight + "px";
|
---|
| 92 | var multiplier = largeImageHeight / smallImage.clientHeight;
|
---|
| 93 | $("#wrap").anythingZoomer({
|
---|
| 94 | expansionSize:50,
|
---|
| 95 | speedMultiplier:multiplier
|
---|
| 96 | });
|
---|
| 97 | }
|
---|
| 98 |
|
---|
| 99 | function addZoom()
|
---|
| 100 | {
|
---|
| 101 | var wrapper = document.getElementById("wrap");
|
---|
| 102 | var noZoom = document.getElementById("noZoom");
|
---|
| 103 |
|
---|
| 104 | noZoom.style.display = "none";
|
---|
| 105 | wrapper.style.display = "block";
|
---|
| 106 |
|
---|
| 107 | var option = document.getElementById("zoomOption");
|
---|
| 108 | option.setAttribute("onclick", "removeZoom();");
|
---|
| 109 | }
|
---|
| 110 |
|
---|
| 111 | function removeZoom()
|
---|
| 112 | {
|
---|
| 113 | var wrapper = document.getElementById("wrap");
|
---|
| 114 | var noZoom = document.getElementById("noZoom");
|
---|
| 115 |
|
---|
| 116 | wrapper.style.display = "none";
|
---|
| 117 | noZoom.style.display = "block";
|
---|
| 118 |
|
---|
| 119 | var option = document.getElementById("zoomOption");
|
---|
| 120 | option.setAttribute("onclick", "addZoom();");
|
---|
| 121 | }
|
---|
| 122 | </xsl:text>
|
---|
| 123 | </script>
|
---|
| 124 | </xsl:template>
|
---|
| 125 | <xsl:template match="documentNode" mode="document">
|
---|
| 126 | <gsf:variable-struct name="photoNotes"><gsf:metadata name="gsimg.photoNote" multiple="true" separator=", "/></gsf:variable-struct>
|
---|
| 127 | <h3>
|
---|
| 128 | <gsf:choose-metadata>
|
---|
| 129 | <gsf:metadata name="dc.Title"/>
|
---|
| 130 | <gsf:metadata name="ex.Title"/>
|
---|
| 131 | </gsf:choose-metadata>
|
---|
| 132 | </h3>
|
---|
| 133 | <xsl:variable name="imageWidth"><gsf:metadata name="ImageWidth"/>
|
---|
| 134 | </xsl:variable><xsl:variable name="imageHeight"><gsf:metadata name="ImageHeight"/>
|
---|
| 135 | </xsl:variable><xsl:variable name="screenImageWidth">
|
---|
| 136 | <gsf:metadata name="ScreenWidth"/>
|
---|
| 137 | </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>
|
---|
| 138 | </format>
|
---|
| 139 |
|
---|
| 140 | </display>
|
---|
[24556] | 141 | <replaceListRef id="gs2-standard"/>
|
---|
| 142 | <replaceListRef id="gs2-image"/>
|
---|
| 143 | <serviceRackList>
|
---|
| 144 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
| 145 | <serviceRack name="OAIPMH">
|
---|
| 146 | <ListMetadataFormats>
|
---|
| 147 | <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
| 148 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
| 149 | -->
|
---|
| 150 | <metadataFormat metadataPrefix="oai_dc">
|
---|
| 151 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
| 152 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
| 153 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
|
---|
| 154 | <!--<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>
|
---|
| 155 | -->
|
---|
| 156 | <mappingList>
|
---|
| 157 | <!--
|
---|
| 158 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
| 159 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
| 160 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
| 161 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
| 162 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
| 163 |
|
---|
| 164 | **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.
|
---|
| 165 |
|
---|
| 166 | **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.
|
---|
| 167 | -->
|
---|
| 168 | <mapping>dc.Title,Title</mapping>
|
---|
| 169 | <!-- 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. -->
|
---|
| 170 | </mappingList>
|
---|
| 171 | </metadataFormat>
|
---|
| 172 | </ListMetadataFormats>
|
---|
| 173 | </serviceRack>
|
---|
| 174 | </serviceRackList>
|
---|
| 175 | </CollectionConfig>
|
---|