root/greenstone3/trunk/web/sites/localsite/collect/infomine/etc/collectionConfig.xml @ 18333

Revision 18333, 2.1 KB (checked in by ak19, 11 years ago)

Added in ?xml tag at the start of the collectionConfig and buildConfig files for the gberg and infomine demo collections, else there are troubles parsing when GLI is trying load these collections (since the new RemoveContentBeforeRootElementXMLReader.java class needs the ?xml tag to identify the start of xml files).

  • Property svn:keywords set to Author Date Id Revision
Line 
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  <displayItemList>
5    <displayItem name='name' lang=''>Infomine proxy demo</displayItem>
6    <displayItem name='description' lang='en'>&lt;p&gt;This is a demonstration collection that acts as a proxy to the iVia database at &lt;a href="http://infomine.ucr.edu/"&gt;INFOMINE&lt;/a&gt;, Riverside, California. No data is stored locally; instead, the search and retrieval services invoke cgi scripts at infomine to query the database, and retrieve records and metadata.&lt;/p&gt;
7&lt;p&gt;A &lt;a
8    href="sites/localsite/collect/infomine/README"&gt;README&lt;/a&gt; file
9    describes the cgi scripts and how to invoke them. The configuration
10    files for the collection are very basic, and merely specify display
11    information for the collection, and specify the IViaProxy service
12    rack. The collection configuration can be seen &lt;a
13    href="sites/localsite/collect/infomine/etc/collectionConfig.xml"&gt;here&lt;/a&gt;,
14    and the building configuration file can be seen &lt;a
15    href="sites/localsite/collect/infomine/index/buildConfig.xml"&gt;here&lt;/a&gt;.
16       You may need to "view page source" to see the raw XML. &lt;/p&gt;
17</displayItem>   
18    <displayItem name='icon' lang='en'>infomine.gif</displayItem> 
19    <displayItem name='smallicon' lang='en'>infomine.gif</displayItem> 
20  </displayItemList> 
21  <search>
22    <format>
23      <gsf:template match="documentNode">
24    <td valign='top'><gsf:link><gsf:icon/></gsf:link></td><td>
25      <table><tr><td><a><xsl:attribute name='href'><gsf:metadata name="url"/></xsl:attribute><b><gsf:metadata name="title"/></b></a></td></tr>
26        <tr><td><gsf:metadata name="ivia_description"/></td></tr>
27        <tr><td><b><gsf:metadata name="url"/></b></td></tr>
28        <tr><td>[<gsf:link>View Full Record</gsf:link>]</td></tr></table>
29    </td>
30      </gsf:template>
31    </format>
32  </search>
33  <display>
34  <format>
35  <gsf:template name="documentHeading">
36  <gsf:metadata name="title"/>
37</gsf:template>
38</format>
39</display>
40</collectionConfig>
Note: See TracBrowser for help on using the browser.