Changeset 36472


Ignore:
Timestamp:
2022-08-24T17:42:31+12:00 (6 weeks ago)
Author:
anupama
Message:

Kathy explained what the groupsize importOption, that GS3 needs to mimic for 2 DEC collections which used this option in GS2. Also adjusted the documentHeading in gsarch-e collection, to better match the original collection description.

Location:
documented-examples/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/gsarch-e/etc/collectionConfig.xml

    r36453 r36472  
    2121        <displayItem assigned="true" dictionary="collectionConfig" key="Date" name="Date"/>
    2222        <displayItem assigned="true" dictionary="collectionConfig" key="From" name="From"/>
     23        <displayItem assigned="true" dictionary="collectionConfig" key="ReplyTo" name="ReplyTo"/>
    2324    </displayItemList>
    2425    <format/>
     
    3940        <searchType name="simpleform"/>
    4041        <searchType name="advancedform"/>
    41         <format>  <gsf:template match="documentNode">
    42     <gsf:format-gs2><![CDATA[
     42        <format>
     43            <gsf:template match="documentNode">
     44                <gsf:format-gs2><![CDATA[
    4345<td valign=top>[link][icon][/link]
    4446</td>
     
    5153<br> _Date_: [DateText]
    5254</td> ]]></gsf:format-gs2>
    53     <table>
    54       <tr>
    55         <td valign="top">
    56           <gsf:link type="document">
    57             <gsf:icon type="document"/>
    58           </gsf:link>
    59         </td>
    60         <td><b><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link></b><br/><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value" />/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value" />/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><gsf:displayItem name="Date"/>:<gsf:metadata name="DateText"/></td>
    61       </tr>
    62     </table>
    63   </gsf:template>
    64 
    65 </format>
     55                <table>
     56                    <tr>
     57                        <td valign="top">
     58                            <gsf:link type="document">
     59                                <gsf:icon type="document"/>
     60                            </gsf:link>
     61                        </td>
     62                        <td><b><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link></b><br/><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value"/>/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value"/>/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><gsf:displayItem name="Date"/>:<gsf:metadata name="DateText"/></td>
     63                    </tr>
     64                </table>
     65            </gsf:template>
     66        </format>
    6667    </search>
    6768    <infodb type="gdbm"/>
     
    8384            <option name="-mingroup" value="2"/>
    8485            <option name="-removeprefix" value="(\\s*(?i:re:|fw(d)?:|\&amp;#91;greenstone-(users|devel)\&amp;#93;)\\s*)*"/>
    85             <format>  <gsf:template match="documentNode">
    86     <gsf:format-gs2><![CDATA[
     86            <format>
     87            <gsf:template match="documentNode">
     88                <gsf:format-gs2><![CDATA[
    8789<td valign=top>[link][icon][/link]
    8890</td>
     
    9799<br> _Date_: [DateText]}
    98100</td> ]]></gsf:format-gs2>
    99     <table>
    100       <tr>
    101         <td valign="top">
    102           <gsf:link type="document">
    103             <gsf:icon type="document"/>
    104           </gsf:link>
    105         </td>
    106         <td><b><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link></b><br/><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value"/>/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value"/>/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><gsf:displayItem name="Date"/>:<gsf:metadata name="DateText"/></td>
    107       </tr>
    108     </table>
    109   </gsf:template>
    110   <gsf:template match="classifierNode">
    111     <gsf:format-gs2><![CDATA[
     101                <table>
     102                    <tr>
     103                        <td valign="top">
     104                            <gsf:link type="document">
     105                                <gsf:icon type="document"/>
     106                            </gsf:link>
     107                        </td>
     108                        <td><b><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link></b><br/><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value"/>/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value"/>/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><gsf:displayItem name="Date"/>:<gsf:metadata name="DateText"/></td>
     109                    </tr>
     110                </table>
     111            </gsf:template>
     112            <gsf:template match="classifierNode">
     113                <gsf:format-gs2><![CDATA[
    112114<td valign=top>[link][icon][/link]
    113115</td>
     
    122124<br> _Date_: [DateText]}
    123125</td> ]]></gsf:format-gs2>
    124     <table>
    125       <tr>
    126         <td valign="top">
    127           <gsf:link type="classifier">
    128             <gsf:icon type="classifier"/>
    129           </gsf:link>
    130         </td>
    131         <td>
    132           <b>
    133             <gsf:metadata name="Title"/>
    134           </b>
    135         </td>
    136       </tr>
    137     </table>
    138   </gsf:template>
    139 
    140 </format>
     126                <table>
     127                    <tr>
     128                        <td valign="top">
     129                            <gsf:link type="classifier">
     130                                <gsf:icon type="classifier"/>
     131                            </gsf:link>
     132                        </td>
     133                        <td>
     134                            <b>
     135                                <gsf:metadata name="Title"/>
     136                            </b>
     137                        </td>
     138                    </tr>
     139                </table>
     140            </gsf:template>
     141        </format>
    141142        </classifier>
    142143        <classifier name="AZCompactList">
     
    144145            <option name="-mingroup" value="2"/>
    145146            <option name="-buttonname" value="From"/>
    146             <format>  <gsf:template match="documentNode">
    147     <gsf:format-gs2><![CDATA[
     147            <format>
     148            <gsf:template match="documentNode">
     149                <gsf:format-gs2><![CDATA[
    148150<td valign=top>[link][icon][/link]
    149151</td>
     
    162164</strong> [DateText] }
    163165</td> ]]></gsf:format-gs2>
    164     <table>
    165       <tr>
    166         <td valign="top">
    167           <gsf:link type="document">
    168             <gsf:icon type="document"/>
    169           </gsf:link>
    170         </td>
    171         <td><strong><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/></strong> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value"/>/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value"/>/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><strong><gsf:displayItem name="Subject"/>:</strong><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link><br/><strong><gsf:displayItem name="Date"/>:</strong><gsf:metadata name="DateText"/></td>
    172       </tr>
    173     </table>
    174   </gsf:template>
    175   <gsf:template match="classifierNode">
    176     <gsf:format-gs2><![CDATA[
     166                <table>
     167                    <tr>
     168                        <td valign="top">
     169                            <gsf:link type="document">
     170                                <gsf:icon type="document"/>
     171                            </gsf:link>
     172                        </td>
     173                        <td><strong><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/></strong> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value"/>/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value"/>/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><strong><gsf:displayItem name="Subject"/>:</strong><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link><br/><strong><gsf:displayItem name="Date"/>:</strong><gsf:metadata name="DateText"/></td>
     174                    </tr>
     175                </table>
     176            </gsf:template>
     177            <gsf:template match="classifierNode">
     178                <gsf:format-gs2><![CDATA[
    177179<td valign=top>[link][icon][/link]
    178180</td>
     
    191193</strong> [DateText] }
    192194</td> ]]></gsf:format-gs2>
    193     <table>
    194       <tr>
    195         <td valign="top">
    196           <gsf:link type="classifier">
    197             <gsf:icon type="classifier"/>
    198           </gsf:link>
    199         </td>
    200         <td><strong><gsf:displayItem name="From"/>:</strong><gsf:metadata name="Title"/> (<gsf:metadata name="numleafdocs"/>)</td>
    201       </tr>
    202     </table>
    203   </gsf:template>
    204 
    205 </format>
     195                <table>
     196                    <tr>
     197                        <td valign="top">
     198                            <gsf:link type="classifier">
     199                                <gsf:icon type="classifier"/>
     200                            </gsf:link>
     201                        </td>
     202                        <td><strong><gsf:displayItem name="From"/>:</strong><gsf:metadata name="Title"/> (<gsf:metadata name="numleafdocs"/>)</td>
     203                    </tr>
     204                </table>
     205            </gsf:template>
     206        </format>
    206207        </classifier>
    207208        <classifier name="DateList">
    208209            <option name="-nogroup"/>
    209             <format>  <gsf:template match="documentNode">
    210     <gsf:format-gs2><![CDATA[
     210            <format>
     211            <gsf:template match="documentNode">
     212                <gsf:format-gs2><![CDATA[
    211213<td>[link][icon][/link]
    212214</td>
     
    215217<td>{Or}{[dc.Date],[exp.Date],[ex.Date]}
    216218</td>]]></gsf:format-gs2>
    217     <td>
    218       <gsf:link type="document">
    219         <gsf:icon type="document"/>
    220       </gsf:link>
    221     </td>
    222     <td>
    223       <span class="highlight">
    224         <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
    225       </span>
    226     </td>
    227     <td>
    228       <gsf:choose-metadata>
    229         <gsf:metadata name="dc.Date"/>
    230         <gsf:metadata name="exp.Date"/>
    231         <gsf:metadata name="Date"/>
    232       </gsf:choose-metadata>
    233     </td>
    234   </gsf:template>
    235 
    236 </format>
     219                <td>
     220                    <gsf:link type="document">
     221                        <gsf:icon type="document"/>
     222                    </gsf:link>
     223                </td>
     224                <td>
     225                    <span class="highlight">
     226                        <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
     227                    </span>
     228                </td>
     229                <td>
     230                    <gsf:choose-metadata>
     231                        <gsf:metadata name="dc.Date"/>
     232                        <gsf:metadata name="exp.Date"/>
     233                        <gsf:metadata name="Date"/>
     234                    </gsf:choose-metadata>
     235                </td>
     236            </gsf:template>
     237        </format>
    237238        </classifier>
    238         <format>  <gsf:template match="documentNode">
    239     <gsf:format-gs2><![CDATA[
     239        <format>
     240            <gsf:template match="documentNode">
     241                <gsf:format-gs2><![CDATA[
    240242<td valign="top">[link][icon][/link]
    241243</td>
     
    247249</i>}
    248250</td>]]></gsf:format-gs2>
    249     <td valign="top">
    250       <gsf:link type="document">
    251         <gsf:icon type="document"/>
    252       </gsf:link>
    253     </td>
    254     <td valign="top">
    255       <gsf:link type="source">
    256         <gsf:choose-metadata>
    257           <gsf:metadata name="thumbicon"/>
    258           <gsf:metadata name="srcicon"/>
    259         </gsf:choose-metadata>
    260       </gsf:link>
    261     </td>
    262     <td valign="top">
    263       <span class="highlight">
    264         <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
    265       </span>
    266       <gsf:switch>
    267         <gsf:metadata name="Source"/>
    268         <gsf:when test="exists">
    269           <br/>
    270           <i>(<gsf:metadata name="Source"/>)</i>
    271         </gsf:when>
    272       </gsf:switch>
    273     </td>
    274   </gsf:template>
    275   <gsf:template match="classifierNode">
    276     <gsf:format-gs2><![CDATA[
     251                <td valign="top">
     252                    <gsf:link type="document">
     253                        <gsf:icon type="document"/>
     254                    </gsf:link>
     255                </td>
     256                <td valign="top">
     257                    <gsf:link type="source">
     258                        <gsf:choose-metadata>
     259                            <gsf:metadata name="thumbicon"/>
     260                            <gsf:metadata name="srcicon"/>
     261                        </gsf:choose-metadata>
     262                    </gsf:link>
     263                </td>
     264                <td valign="top">
     265                    <span class="highlight">
     266                        <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
     267                    </span>
     268                    <gsf:switch>
     269                        <gsf:metadata name="Source"/>
     270                        <gsf:when test="exists">
     271                            <br/>
     272                            <i>(<gsf:metadata name="Source"/>)</i>
     273                        </gsf:when>
     274                    </gsf:switch>
     275                </td>
     276            </gsf:template>
     277            <gsf:template match="classifierNode">
     278                <gsf:format-gs2><![CDATA[
    277279<td valign="top">[link][icon][/link]
    278280</td>
     
    284286</i>}
    285287</td>]]></gsf:format-gs2>
    286     <td valign="top">
    287       <gsf:link type="classifier">
    288         <gsf:icon type="classifier"/>
    289       </gsf:link>
    290     </td>
    291     <td valign="top">
    292       <gsf:link type="source">
    293         <gsf:choose-metadata>
    294           <gsf:metadata name="thumbicon"/>
    295           <gsf:metadata name="srcicon"/>
    296         </gsf:choose-metadata>
    297       </gsf:link>
    298     </td>
    299     <td valign="top">
    300       <span class="highlight">
    301         <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
    302       </span>
    303       <gsf:switch>
    304         <gsf:metadata name="Source"/>
    305         <gsf:when test="exists">
    306           <br/>
    307           <i>(<gsf:metadata name="Source"/>)</i>
    308         </gsf:when>
    309       </gsf:switch>
    310     </td>
    311   </gsf:template>
    312   <gsf:template match="classifierNode" mode="horizontal">
    313     <gsf:format-gs2><![CDATA[[link][highlight][ex.Title][/highlight][/link]]]></gsf:format-gs2>
    314     <gsf:link type="classifier">
    315       <span class="highlight">
    316         <gsf:metadata name="Title"/>
    317       </span>
    318     </gsf:link>
    319   </gsf:template>
    320 
    321 </format>
     288                <td valign="top">
     289                    <gsf:link type="classifier">
     290                        <gsf:icon type="classifier"/>
     291                    </gsf:link>
     292                </td>
     293                <td valign="top">
     294                    <gsf:link type="source">
     295                        <gsf:choose-metadata>
     296                            <gsf:metadata name="thumbicon"/>
     297                            <gsf:metadata name="srcicon"/>
     298                        </gsf:choose-metadata>
     299                    </gsf:link>
     300                </td>
     301                <td valign="top">
     302                    <span class="highlight">
     303                        <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
     304                    </span>
     305                    <gsf:switch>
     306                        <gsf:metadata name="Source"/>
     307                        <gsf:when test="exists">
     308                            <br/>
     309                            <i>(<gsf:metadata name="Source"/>)</i>
     310                        </gsf:when>
     311                    </gsf:switch>
     312                </td>
     313            </gsf:template>
     314            <gsf:template match="classifierNode" mode="horizontal">
     315                <gsf:format-gs2><![CDATA[[link][highlight][ex.Title][/highlight][/link]]]></gsf:format-gs2>
     316                <gsf:link type="classifier">
     317                    <span class="highlight">
     318                        <gsf:metadata name="Title"/>
     319                    </span>
     320                </gsf:link>
     321            </gsf:template>
     322        </format>
    322323    </browse>
    323324    <display>
    324         <format>
    325             <gsf:option name="TOC" value="true"/>
    326             <gsf:option name="AllowUserComments" value="false"/>
     325        <format>  <gsf:option name="TOC" value="true"/>
     326  <gsf:option name="AllowUserComments" value="false"/>
     327  <gsf:template name="documentHeading">
     328    <span style="font-weight:bold; font-size: 120%;">
     329      <table>
     330        <tr>
     331          <td><gsf:displayItem name="From"/>: <gsf:metadata name="FromName"/></td>
     332        </tr>
     333        <tr>
     334          <td><gsf:displayItem name="Date"/>: <gsf:metadata name="DateText"/></td>
     335        </tr>
     336        <tr>
     337          <td><gsf:displayItem name="Subject"/>: <gsf:metadata name="Subject"/></td>
     338        </tr>       
     339          <gsf:switch><gsf:metadata name='InReplyTo'/><gsf:when test='exists'><tr><td><gsf:displayItem name="ReplyTo"/>: <gsf:metadata name="InReplyTo"/></td></tr></gsf:when></gsf:switch>
     340       
     341      </table>
     342    </span>
     343  </gsf:template>
    327344<!--
    328345Overwriting this template allows you to change the heading of the document.
     
    346363<xsl:call-template name="documentNodeText"/>
    347364</div>
     365</div>
    348366</gsf:template>
    349367-->
     
    374392</gsf:template>
    375393-->
    376         </format>
     394
     395</format>
    377396    </display>
    378397    <replaceListRef id="gs2-standard"/>
     398    <importOption name="groupsize" value="200"/>
    379399</CollectionConfig>
  • documented-examples/trunk/gsarch-e/resources/collectionConfig.properties

    r36404 r36472  
    44Date=Date
    55From=From
     6ReplyTo=In reply to
    67index_text=Messages
    78index_subject=Subject lines
     
    1213description1=<h3>How the collection works</h3><p>The Greenstone Archives collection uses the <i>Email</i> plugin, which parses files in email formats. In this case, there is a file per month per mailing list, and each file contains many email messages. The <i>Email</i> plugin splits these into individual documents, and produces <i>Title</i>, <i>Subject</i>, <i>From</i>, <i>FromName</i>, <i>FromAddr</i>, <i>Date</i>, <i>DateText</i>, <i>InReplyTo</i>, and optionally <i>Headers</i>, metadata.</p>
    1314
    14 description2=<p>The collection configuration file, <tt>etc/collectionConfig.xml</tt>, begins with the specification <i>groupsize 200</i>. This groups documents together into groups of 200. Email collections typically have many small documents, and grouping them together prevents Greenstone's internal file structures from becoming bloated and occupying more disk space than necessary. Notice that the <i>Email</i> plugin first splits the input files up into individual Emails, then <i>groupsize</i> groups them together again. This allows the collection designer to control what is going on.</p>
     15description2=<p>The collection configuration file, <tt>etc/collectionConfig.xml</tt> specifies &lt;importOption name="groupsize" value="200"/&gt;. This groups documents together into groups of 200. Email collections typically have many small documents, and grouping them together prevents Greenstone's internal file structures from becoming bloated and occupying more disk space than necessary. Notice that the <i>Email</i> plugin first splits the input files up into individual Emails, then <i>groupsize</i> groups them together again. This allows the collection designer to control what is going on.</p>
    1516
    1617description3=<p>The <i>indexes</i> line specifies 3 searchable indexes, which can be seen by clicking beside the word "Messages" on the <tt>search page</tt> to reveal a drop-down menu. The first (called <i>Messages</i>) is created from the document text, while the others are formed from <i>From</i> and <i>Subject</i> metadata.</p>
     
    2223description6=<p>The third classifier is a <i>DateList</i>, which allows selection by month and year.</p>
    2324
    24 description7=<p>Finally, the document text is formatted to show the header fields (<i>FromName</i>, <i>DateText</i>, <i>Subject</i>, <i>InReplyTo</i>), followed by the message text (written as <i>lt;gsf:metadata name="rawtext"/&gt;</i> in the format statement). <i>FromName</i> is linked to a search on that name, while <i>InReplyTo</i> links to the email message that it refers to.</p>
     25description7=<p>Finally, the <tt>documentHeading</tt> is overridden to show the header fields: <i>FromName</i>, <i>DateText</i>, <i>Subject</i>, <i>InReplyTo</i> (as the default documentHeading would not show the <i>InReplyTo</i> Field, nor to label the fields). The default <tt>documentContent</tt> already displays the message text (with the call to &lt;xsl:call-template name="documentNodeText"/&gt;). <i>FromName</i> is linked to a search on that name, while <i>InReplyTo</i> links to the email message that it refers to.</p>
  • documented-examples/trunk/isis-e/etc/collectionConfig.xml

    r36456 r36472  
    565565    </display>
    566566    <replaceListRef id="gs2-standard"/>
     567    <importOption name="groupsize" value="100"/>
    567568</CollectionConfig>
  • documented-examples/trunk/isis-e/resources/collectionConfig.properties

    r36391 r36472  
    3737description1=<h3>How the collection works</h3><p>The collection configuration file, <tt>etc/collectionConfig.xml</tt> specifies the ISISPlugin plugin, which processes CDS/ISIS databases. These databases have several files, but ISISPlugin uses just three: CDS.fdt (where CDS is the name of the database), containing the field names used in the database, CDF.xrf (a cross-reference file), and CDS.mst, containing the actual records. Whenever ISISPlugin encounters an ".mst" file, it looks for the corresponding ".fdt" and ".xrf" files. In this case the plugin has been given an <i>input_encoding</i> argument because some entries in the database contain extended characters (in a form that was used in early versions of the DOS operating system). It has also been given a subfield separator argument, whose purpose is explained below. The <i>-OIDtype incremental</i> plugin option was used to give identifiers that are consistent across different operating systems (which may not happen with HASH identifiers), so that we can link to a document in this description.</p>
    3838
    39 description2=<p>Like the <i>bibliography collection</i>, this collection incorporates a <tt>form-based search interface</tt> that allows fielded searching. This is specified by the line <i>format SearchTypes "form,plain"</i> in the configuration file; the <i>plain</i> argument ensures that there is a plain textual full-text search feature as well (which can be selected from the <tt>Preferences</tt> page). The <i>groupsize 100</i> line puts documents together into groups of 100 (as explained in the <i>bibliography collection</i>).</p>
     39description2=<p>Like the <i>bibliography collection</i>, this collection incorporates a <tt>form-based search interface</tt> that allows fielded searching. This is specified by the line <i>format SearchTypes "form,plain"</i> in the configuration file; the <i>plain</i> argument ensures that there is a plain textual full-text search feature as well (which can be selected from the <tt>Preferences</tt> page). The <i>&lt;importOption name="groupsize" value="100"/&gt;</i> line in the <tt>collectionConfig.xml</tt> file puts documents together into groups of 100 (as explained in the <i>bibliography collection</i>).</p>
    4040
    4141description3=<p>Some fields in CDS/ISIS databases have subfields. For example, in this case the <i>Imprint</i> field has subfields <i>Imprint.a</i> for place, <i>Imprint.b</i> for publisher and <i>Imprint.c</i> for date. For each field and subfield, ISISPlugin generates a metadata element -- in this case there will be metadata called <i>Imprint^a</i>, <i>Imprint^b</i> and <i>Imprint^c</i>. (There could be a field called just <i>Imprint</i>, although in this case there is not.) ISISPlugin also generates a metadata element called <i>Imprint^all</i> that gives all subfields concatenated together, separated by the character string that was specified as a plugin argument (in this case ", ").</p>
Note: See TracChangeset for help on using the changeset viewer.