Changeset 34213


Ignore:
Timestamp:
2020-06-21T03:09:24+12:00 (4 years ago)
Author:
ak19
Message:
  1. Improvements to the collectionConfig.xml after the latest video tutorial recreating this collection. 2. Metadata for a new technical txt document
Location:
main/trunk/model-sites-dev/opotiki/collect/gs3tutorials
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/opotiki/collect/gs3tutorials/etc/collectionConfig.xml

    r34210 r34213  
    3030  </li>
    3131&lt;/ul&gt;</displayItem>
     32        <displayItem assigned="true" lang="en" name="smallicon">adorableBirdHome.jpg</displayItem>
     33        <displayItem assigned="true" lang="en" name="icon">adorableBird.png</displayItem>
    3234        <displayItem assigned="true" lang="en" name="name">Greenstone 3 learning and technical materials</displayItem>
    3335        <displayItem assigned="true" lang="en" name="text">text</displayItem>
    3436        <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
    35         <displayItem assigned="true" lang="en" name="dc.Subject">subjects and keywords</displayItem>
     37        <displayItem assigned="true" lang="en" name="dc.Subject">keywords</displayItem>
    3638        <displayItem assigned="true" lang="en" name="dc.Description">topics</displayItem>
    3739        <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
     
    4042        <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
    4143        <displayItem assigned="true" lang="en" name="document">document</displayItem>
    42         <displayItem assigned="true" lang="en" name="section">section</displayItem>
     44        <displayItem assigned="true" lang="en" name="section">page</displayItem>
    4345        <displayItem assigned="true" lang="en" name="shortDescription">gs3tutorials</displayItem>
    4446        <displayItem assigned="true" lang="en" name=".dc.Subject">_labelSubject_</displayItem>
    4547        <displayItem assigned="true" lang="en" name=".dc.Description">_labelDescription_</displayItem>
    46         <displayItem assigned="true" lang="en" name="icon">adorableBird.png</displayItem>
    47         <displayItem assigned="true" lang="en" name="smallicon">adorableBirdHome.jpg</displayItem>
    4848        <displayItem assigned="true" lang="en" name=".allfields">allfields</displayItem>
    4949    </displayItemList>
    50     <format>  <gsf:template name="video-date-length-info">
    51     <br />Date: <gsf:metadata name="dc.Date"/>
    52     <br />Duration: <gsf:metadata name="dc.Coverage"/>
    53 </gsf:template>
     50    <format>  <gsf:template name="video-date-length-info"><br/>Date:<gsf:metadata name="dc.Date"/><br/>Duration:<gsf:metadata name="dc.Coverage"/></gsf:template>
    5451  <gsf:template name="choose-title">
    5552    <gsf:choose-metadata>
    5653      <gsf:metadata name="dc.Title"/>
    57       <gsf:metadata name="exp.Title"/>
    58       <gsf:metadata name="ex.dc.Title"/>
    5954      <gsf:metadata name="Title"/>
    6055      <gsf:default>Untitled</gsf:default>
     
    8883        </level>
    8984        <level name="section">
    90             <displayItem lang="en" name="name">section</displayItem>
     85            <displayItem lang="en" name="name">page</displayItem>
    9186        </level>
    92         <defaultLevel name="document"/>
     87        <defaultLevel name="section"/>
    9388        <index name="allfields"/>
    9489        <index name="text">
     
    9994        </index>
    10095        <index name="dc.Subject">
    101             <displayItem lang="en" name="name">subjects and keywords</displayItem>
     96            <displayItem lang="en" name="name">keywords</displayItem>
    10297        </index>
    10398        <index name="dc.Description">
     
    121116      <gsf:metadata name="dc.Type"/>
    122117      <gsf:when test="equals" test-value="video">
    123         <td colspan="3" valign="top" >
     118        <td colspan="3" valign="top">
    124119          <gsf:link type="source">
    125120            <gsf:metadata name="srcicon"/>
    126           </gsf:link>         
     121          </gsf:link>
    127122        </td>
    128123        <td>
     
    153148        </td>
    154149        <td>
    155           <gsf:link type="document">
    156             <xsl:call-template name="choose-title"/>
    157           </gsf:link>
     150          <gsf:switch>
     151            <gsf:metadata name="Title" select="parent"/>
     152            <gsf:when test="exists"><xsl:call-template name="choose-title"/> of<gsf:metadata name="dc.Title" select="root"/></gsf:when>
     153            <gsf:otherwise>
     154              <gsf:link type="document">
     155                <xsl:call-template name="choose-title"/>
     156              </gsf:link>
     157            </gsf:otherwise>
     158          </gsf:switch>
    158159        </td>
    159160      </gsf:otherwise>
     
    172173            <plugin name="EmailPlugin"/>
    173174            <plugin name="PDFv2Plugin">
    174                 <option name="-convert_to" value="pretty_html"/>
     175                <option name="-convert_to" value="paged_pretty_html"/>
    175176                <option name="-associate_ext" value="odp"/>
    176177            </plugin>
     
    208209            <option name="-numeric_partition_type_within_level" value="approximate_size"/>
    209210            <option name="-metadata_selection_mode_within_level" value="firstvalue"/>
    210             <option name="-buttonname" value="titles"/>
     211            <option name="-buttonname" value="Titles"/>
    211212            <format>  <gsf:template match="documentNode">
    212213    <gsf:switch>
     
    224225-->
    225226            <gsf:metadata name="dc.Title,Title" pos="classifiedBy"/>
    226           </gsf:link>
    227           <xsl:call-template name="video-date-length-info"/>
     227            <gsf:switch>
     228            <gsf:metadata name="Source"/>
     229            <gsf:when test="exists">
     230              <br/>
     231              <i>(<gsf:metadata name="Source"/>)</i>
     232            </gsf:when>
     233          </gsf:switch>
     234          </gsf:link>
     235          <xsl:call-template name="video-date-length-info"/>         
     236        </td>
     237      </gsf:when>
     238      <gsf:otherwise>
     239        <td valign="top">
     240          <gsf:link type="document">
     241            <gsf:icon type="document"/>
     242          </gsf:link>
     243        </td>
     244        <td valign="top">
     245          <gsf:link type="source">
     246            <gsf:choose-metadata>
     247              <gsf:metadata name="thumbicon"/>
     248              <gsf:metadata name="srcicon"/>
     249            </gsf:choose-metadata>
     250          </gsf:link>
     251        </td>
     252        <td valign="top">
     253          <gsf:metadata name="equivDocLink"/>
     254          <gsf:metadata name="equivDocIcon"/>
     255          <gsf:metadata name="/equivDocLink"/>
     256        </td>
     257        <td valign="top">
     258          <gsf:link type="document">
     259<!--
     260Instead of using choose-title here, we want to display the title that the document was classified on
     261-->
     262            <gsf:metadata name="dc.Title,Title" pos="classifiedBy"/>
     263          </gsf:link>
    228264          <gsf:switch>
    229265            <gsf:metadata name="Source"/>
     
    234270          </gsf:switch>
    235271        </td>
    236       </gsf:when>
    237       <gsf:otherwise>
    238         <td valign="top">
    239           <gsf:link type="document">
    240             <gsf:icon type="document"/>
    241           </gsf:link>
    242         </td>
    243         <td valign="top">
    244           <gsf:link type="source">
    245             <gsf:choose-metadata>
    246               <gsf:metadata name="thumbicon"/>
    247               <gsf:metadata name="srcicon"/>
    248             </gsf:choose-metadata>
    249           </gsf:link>
    250         </td>
    251         <td valign="top">
    252           <gsf:metadata name="equivDocLink"/>
    253           <gsf:metadata name="equivDocIcon"/>
    254           <gsf:metadata name="/equivDocLink"/>
    255         </td>
    256         <td valign="top">
    257           <gsf:link type="document">
    258 <!--
    259 Instead of using choose-title here, we want to display the title that the document was classified on
    260 -->
    261             <gsf:metadata name="dc.Title,Title" pos="classifiedBy"/>
    262           </gsf:link>
    263           <gsf:switch>
    264             <gsf:metadata name="Source"/>
    265             <gsf:when test="exists">
    266               <br/>
    267               <i>(<gsf:metadata name="Source"/>)</i>
    268             </gsf:when>
    269           </gsf:switch>
    270         </td>
    271272      </gsf:otherwise>
    272273    </gsf:switch>
     
    280281            <option name="-partition_type_within_level" value="none"/>
    281282            <option name="-buttonname" value="Type of Materials"/>
     283            <option name="-metadata_sort_mode_within_level" value="alphanumeric"/>
     284        </classifier>
     285        <classifier name="List">
     286            <option name="-metadata" value="dc.Subject"/>
     287            <option name="-bookshelf_type" value="always"/>
     288            <option name="-partition_type_within_level" value="none"/>
     289            <option name="-buttonname" value="Keywords"/>
    282290        </classifier>
    283291        <classifier name="List">
     
    285293            <option name="-bookshelf_type" value="always"/>
    286294            <option name="-partition_type_within_level" value="none"/>
    287             <option name="-buttonname" value="topics"/>
    288         </classifier>
    289         <classifier name="List">
    290             <option name="-metadata" value="dc.Subject"/>
    291             <option name="-bookshelf_type" value="always"/>
    292             <option name="-partition_type_within_level" value="none"/>
    293             <option name="-buttonname" value="Subjects and Keywords"/>
     295            <option name="-buttonname" value="Topics"/>
    294296        </classifier>
    295297        <classifier name="List">
     
    315317-->
    316318            <xsl:call-template name="choose-title"/>
     319            <gsf:switch>
     320              <gsf:metadata name="Source"/>
     321              <gsf:when test="exists">
     322                <br/>
     323                <i>(<gsf:metadata name="Source"/>)</i>
     324              </gsf:when>
     325            </gsf:switch>
    317326          </gsf:link>
    318327          <xsl:call-template name="video-date-length-info"/>
    319           <gsf:switch>
    320             <gsf:metadata name="Source"/>
    321             <gsf:when test="exists">
    322               <br/>
    323               <i>(<gsf:metadata name="Source"/>)</i>
    324             </gsf:when>
    325           </gsf:switch>
    326328        </td>
    327329      </gsf:when>
     
    385387    </browse>
    386388    <display>
    387         <format>
    388             <gsf:option name="TOC" value="true"/>
    389             <gsf:option name="allowUserComments" value="false"/>
    390             <gsf:option name="allowDocumentEditing" value="true"/>
    391             <gsf:option name="allowMapGPSEditing" value="true"/>
     389        <format>  <gsf:option name="TOC" value="true"/>
     390  <gsf:option name="allowUserComments" value="false"/>
     391  <gsf:option name="allowDocumentEditing" value="true"/>
     392  <gsf:option name="allowMapGPSEditing" value="true"/>
    392393<!--
    393394Overwriting this template allows you to change the heading of the document.
     
    417418Overwriting this template can be used to change the content of section headings.
    418419-->
    419 <!--
     420
    420421<gsf:template name="sectionHeading">
    421422<xsl:call-template name="choose-title"/>
    422423</gsf:template>
    423 -->
     424
    424425<!--
    425426Overwriting this template can be used to change the content of the top-level section.
     
    440441</gsf:template>
    441442-->
    442         </format>
     443
     444</format>
    443445    </display>
    444446    <replaceListRef id="gs2-standard"/>
  • main/trunk/model-sites-dev/opotiki/collect/gs3tutorials/import/presentations/metadata.xml

    r34207 r34213  
    4949            <Metadata mode="accumulate" name="dc.Subject">Greenstone Librarian Interface</Metadata>
    5050            <Metadata mode="accumulate" name="dc.Title">03 Overview of creating a collection in GLI</Metadata>
     51            <Metadata mode="accumulate" name="dc.Description">Creating a collection</Metadata>
    5152        </Description>
    5253    </FileSet>
  • main/trunk/model-sites-dev/opotiki/collect/gs3tutorials/import/technical/metadata.xml

    r34208 r34213  
    5050            <Metadata mode="accumulate" name="dc.Subject">WMTB</Metadata>
    5151            <Metadata mode="accumulate" name="dc.Subject">Instructions</Metadata>
    52             <Metadata mode="accumulate" name="dc.Subject">Instructions for SSH-ing into WMTB GS3 using VPN</Metadata>
    5352            <Metadata mode="accumulate" name="dc.Description">WMTB Server Details</Metadata>
    5453            <Metadata mode="accumulate" name="dc.Description">Remote access to WMTB GS3 installation</Metadata>
     54            <Metadata mode="accumulate" name="dc.Description">Instructions for SSH-ing into WMTB GS3 using VPN</Metadata>
     55        </Description>
     56    </FileSet>
     57    <FileSet>
     58        <FileName>04_SVN_UpdatingAndRecompiling_GS3_SourceCode_onWMTB\.txt</FileName>
     59        <Description>
     60            <Metadata mode="accumulate" name="dc.Type">technical</Metadata>
     61            <Metadata mode="accumulate" name="dc.Creator">Anu</Metadata>
     62            <Metadata mode="accumulate" name="dc.Title">04 SVN Updating and Recompiling the remote GS3 from source</Metadata>
     63            <Metadata mode="accumulate" name="dc.Subject">WMTB</Metadata>
     64            <Metadata mode="accumulate" name="dc.Subject">SSH</Metadata>
     65            <Metadata mode="accumulate" name="dc.Subject">VPN</Metadata>
     66            <Metadata mode="accumulate" name="dc.Subject">compilation</Metadata>
     67            <Metadata mode="accumulate" name="dc.Subject">source</Metadata>
     68            <Metadata mode="accumulate" name="dc.Description">How to SVN update remote GS3 source code installation</Metadata>
     69            <Metadata mode="accumulate" name="dc.Description">How to recompile the remote GS3 source code</Metadata>
     70            <Metadata mode="accumulate" name="dc.Description">How to recompile the remote GS3 runtime source code</Metadata>
     71            <Metadata mode="accumulate" name="dc.Description">How to recompile the remote GLI source code</Metadata>
     72            <Metadata mode="accumulate" name="dc.Subject">SVN updating</Metadata>
    5573        </Description>
    5674    </FileSet>
  • main/trunk/model-sites-dev/opotiki/collect/gs3tutorials/import/videos/metadata.xml

    r34210 r34213  
    8181        <Description>
    8282            <Metadata mode="accumulate" name="dc.Description">Whakatōhea website interface</Metadata>
    83             <Metadata mode="accumulate" name="dc.Description">How to integrat the six pou</Metadata>
     83            <Metadata mode="accumulate" name="dc.Description">How to integrate the six pou</Metadata>
    8484            <Metadata mode="accumulate" name="dc.Subject">Pou</Metadata>
    8585            <Metadata mode="accumulate" name="dc.Subject">website</Metadata>
Note: See TracChangeset for help on using the changeset viewer.