Changeset 37713


Ignore:
Timestamp:
2023-04-23T23:10:37+12:00 (12 months ago)
Author:
davidb
Message:

Rationalized, removing commented out blocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes-and-performers/etc/collectionConfig.xml

    r37697 r37713  
    4848      </xsl:template>
    4949
    50 <!--
    51       <xsl:template match="documentNode-CSVMetadata-or-IIIFViewer">
    52         <gsf:switch>
    53           <gsf:metadata name="HasGoogleVisionDocumentOCRJSON"/>
    54           <gsf:when test="exists">           
    55         <td valign="top">
    56           <xsl:call-template name="document-link-mirador-ahref">
    57             <xsl:with-param name="embed"><gsf:icon style="vertical-align:middle;" type="document"/></xsl:with-param>
    58           </xsl:call-template>               
    59         </td>
    60         <td>
    61           <xsl:call-template name="document-link-mirador-ahref">
    62             <xsl:with-param name="embed">
    63               <xsl:call-template name="choose-title"/>
    64               < ! - - The following currently isn't triggered, as Programmes don't have Artist metadata - - >
    65               <gsf:switch>
    66             <gsf:metadata name="im.Artist"/>
    67             <gsf:when test="exists">, performed by<gsf:metadata name="im.Artist"/></gsf:when>
    68               </gsf:switch>                   
    69             </xsl:with-param>
    70           </xsl:call-template>             
    71         </td>
    72           </gsf:when>
    73           <gsf:otherwise>
    74         <td valign="top">
    75           <gsf:link type="document">
    76             <gsf:choose-metadata>
    77               <gsf:metadata name="thumbicon"/>
    78               <gsf:metadata name="srcicon"/>
    79               <gsf:default>
    80             <gsf:icon style="vertical-align:middle;" type="document"/>
    81               </gsf:default>
    82             </gsf:choose-metadata>
    83           </gsf:link>
    84         </td>
    85         <td valign="top">
    86           <gsf:link type="document">
    87             <xsl:call-template name="choose-title"/>
    88             <gsf:switch>
    89               <gsf:metadata name="im.Composer"/>
    90               <gsf:when test="exists">
    91             <i> (<gsf:metadata name="im.Composer"/>)</i>
    92               </gsf:when>
    93             </gsf:switch>
    94             <gsf:switch>
    95               <gsf:metadata name="im.Artist"/>
    96               <gsf:when test="exists">, performed by <gsf:metadata name="im.Artist"/></gsf:when>
    97             </gsf:switch>
    98           </gsf:link>
    99         </td>           
    100           </gsf:otherwise>
    101         </gsf:switch>
    102       </xsl:template>
    103       -->
    104               <!--
    105                   modify the collection description template to output the "this collection contains X documents and was last built Y days ago" message
    106               -->
     50              <!-- modify the collection description template to output the "this collection contains X documents and was last built Y days ago" message -->
    10751              <xsl:template name="coll-description">
    10852                <div style="float: right; width: 300px;">
     
    13175                  and often scattered between different archives and collections.
    13276                </p>
    133                 <!--
    134                 <p>
    135                   This <i>prototype</i> InterMusE Digital Library is a resource developed as the result
    136                   of a two-year project, funded by AHRC’s UK-US New Directions for Digital
    137                   Scholarship in Cultural Institutions programme, that seeks
    138                   to better capture and represent these historical events.
    139 
    140                   Using natural-language processing, optical character recognition (OCR),
    141                   and other forms of artificial intelligence, this digital library
    142                   brings together an array of digitised resources sourced from:
    143                   </p>
    144                 -->
    145                
    14677                <p>
    14778                  This <a href="https://intermuse.datatodata.org/" target="_blank">InterMusE Project</a>
     
    198129                </p>
    199130
    200                 <!--
    201                 <p>
    202                   This prototype collection contains <xsl:value-of select="$numdocs"/> documents
    203                   focusing on a sample of programmes from the Huddersfield Music Society.
    204                 </p>
    205                 -->
    206                
    207131                <p>
    208132                  <!-- Linked Open Data is used to unify these resources. -->
     
    312236      Examples of associated files include automatically generated
    313237      web-friendly resources such as
    314       <!-- as an MP3 version of
    315       a high quailty FLAC audio recording, for instance, -->
    316238      screen-sized and thumbnail-sized images in the case
    317239      of photos, embedded resources,  and the original file itself so it can be
     
    343265      then a simple matter to transmit this text, metadata, and associated
    344266      files as needed to the digital libraries indexing/database/backing-store.
    345       <!--
    346       so it can be used by the runtime system to provide the
    347      
    348       to be used by the runtime system
    349       -->
    350267    </p>
    351268    <p>     
     
    392309      In terms of crafting the features and functionality to form this
    393310      prototype InterMusE digital library,
    394       we made use of all three area for customisation.
    395      
    396 <!--
    397       there
    398       are three keys parts of the Greenstone3 design where
    399      
    400       area where customisation
    401      
    402 
    403       digital library collection into
    404      
    405                   the online resource
    406 
    407                   features and functionality
    408                  
    409                   In developing a Greenstone3 digital library collection, there are three key phases
    410                   to consider: importing, building, and runtime-display.
    411 
    412                   The first
    413                   XML message based .. XSL Transforms (XSLT)
    414                  
    415                   The there are three key phases to the
    416 
    417                   Its modular design
    418                  
    419                   The modular design of Greenstone3 provides several stages where
    420                  
    421                   ...
    422 
    423                   importing
    424                   building
    425                   runtime-display
    426                  
    427                   orthogonal indexes
    428 -->
    429 
    430                   <!--
    431                   Three key 'hook-in' points within the Greenstone3 software architecture
    432                   for customisation are: the Perl-based document processing plugins
    433                   used in the content ingest pipeline, through which
    434                   content and metadata are ingested into a digital library
    435                   collection
    436                  
    437                   Perl-based document processing pipeline
    438                  
    439                   Woven together in the following way
    440                  
    441                   We have applied
    442                  
    443                   Mirador
    444                   SimpleAnnotationServer
    445                  
    446                   This forms the framework for this developed
    447                  
    448                   In developing this online resource, we have applied it
    449                   -->
    450                 </p>
     311      we made use of all three area for customisation.       
     312    </p>
    451313
    452314               
     
    472334            <displayItem lang="en" name="name">venues</displayItem>
    473335        </index>
    474         <index name="usercomment">
     336        <index name="gs.usercomment">
    475337            <displayItem lang="en" name="name">user comments</displayItem>
    476338        </index>
     
    508370          <gsf:template match="documentNode">
    509371            <!--
    510             <xsl:call-template name="documentNode-CSVMetadata-or-IIIFViewer"/>
    511 -->
     372            <xsl:call-template name="documentNode-CSVMetadata-or-IIIFViewer"/>
     373            -->
    512374           
    513375            <gsf:switch>
     
    639501            <gsf:template match="documentNode">
    640502              <td valign="top">
    641                 <!--
    642                   <gsf:link type="document"><gsf:icon style="vertical-align:middle;" type="document"/> (Page view)</gsf:link>
    643                 --> 
    644                   <xsl:call-template name="document-link-mirador-ahref">
    645                     <xsl:with-param name="embed"><gsf:icon style="vertical-align:middle;" type="document"/></xsl:with-param>
    646                   </xsl:call-template>
    647                 </td>
    648                 <td valign="top">
    649                   <xsl:call-template name="document-link-mirador-ahref">
    650                     <xsl:with-param name="embed">
    651                       <xsl:call-template name="choose-title"/>
    652                       <gsf:switch>
    653                     <gsf:metadata name="im.Artist"/>
    654                     <gsf:when test="exists">, performed by<gsf:metadata name="im.Artist"/></gsf:when>
    655                       </gsf:switch>                   
    656                     </xsl:with-param>
    657                   </xsl:call-template>
    658                 </td>
     503                <xsl:call-template name="document-link-mirador-ahref">
     504                  <xsl:with-param name="embed"><gsf:icon style="vertical-align:middle;" type="document"/></xsl:with-param>
     505                </xsl:call-template>
     506              </td>
     507              <td valign="top">
     508                <xsl:call-template name="document-link-mirador-ahref">
     509                  <xsl:with-param name="embed">
     510                <xsl:call-template name="choose-title"/>
     511                <gsf:switch>
     512                  <gsf:metadata name="im.Artist"/>
     513                  <gsf:when test="exists">, performed by<gsf:metadata name="im.Artist"/></gsf:when>
     514                </gsf:switch>                     
     515                  </xsl:with-param>
     516                </xsl:call-template>
     517              </td>
    659518                <!--
    660519                <td valign="top">
     
    695554            <option name="-mingroup" value="2"/>
    696555        </classifier>
    697         <!--
    698         <classifier name="AZCompactList">
    699             <option name="-metadata" value="im.No"/>
    700             <option name="-buttonname" value="IntermusE IDs"/>
    701         </classifier>
    702         -->
    703556        <classifier name="AZCompactList">
    704557            <option name="-metadata" value="im.Artist"/>
     
    732585                </td>
    733586                <td valign="top">
    734                     <gsf:link type="document">
    735 <!--
    736 Defined in the global format statement
    737 -->
    738                         <xsl:call-template name="choose-title"/>
    739                         <gsf:switch>
    740                             <gsf:metadata name="im.Composer"/>
    741                             <gsf:when test="exists">
    742                                 <i> (<gsf:metadata name="im.Composer"/>)</i>
    743                             </gsf:when>
     587                  <gsf:link type="document">
     588                    <!--
     589                    Defined in the global format statement
     590                    -->
     591                    <xsl:call-template name="choose-title"/>
     592                    <gsf:switch>
     593                      <gsf:metadata name="im.Composer"/>
     594                      <gsf:when test="exists">
     595                    <i> (<gsf:metadata name="im.Composer"/>)</i>
     596                      </gsf:when>
     597                    </gsf:switch>
     598                    <gsf:switch>
     599                      <gsf:metadata name="im.Artist"/>
     600                      <gsf:when test="exists">, performed by <gsf:metadata name="im.Artist"/></gsf:when>
    744601                        </gsf:switch>
    745                         <gsf:switch>
    746                             <gsf:metadata name="im.Artist"/>
    747                             <gsf:when test="exists">, performed by <gsf:metadata name="im.Artist"/></gsf:when>
    748                         </gsf:switch>
    749                     </gsf:link>
     602                  </gsf:link>
    750603                </td>
    751604            </gsf:template>
     
    811664                Overwriting this template allows you to change the heading of the document.
    812665            -->
    813             <!--
    814                 <gsf:template name="documentHeading">
    815                 <span style="font-weight:italic; font-size: 120%;">
    816                     <xsl:call-template name="choose-title"/>
    817                 </span>
    818             </gsf:template>
    819             -->
     666
    820667            <xsl:template name="documentHeading">
    821668              <!--
     
    849696                </gsf:metadata-table>
    850697            </xsl:template>
    851 <!--
    852 Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
    853 -->
    854 <!--
    855 <gsf:template name="documentContent">
    856                 <div id="gs-document">
    857                     <xsl:call-template name="documentPre"/>
    858                     <xsl:call-template name="wrappedSectionImage"/>
    859                     <div id="gs-document-text">
    860                         <xsl:call-template name="documentNodeText"/>
    861                     </div>
    862                 </div>
    863             </gsf:template>
    864 -->
    865 <!--
    866 Overwriting this template can be used to change the content of section headings.
    867 -->
     698            <!--
     699                Overwriting this template can be used to change the content of section headings.
     700            -->
    868701            <gsf:template name="sectionHeading">
    869702              <xsl:call-template name="choose-title"/>
    870703            </gsf:template>
    871 <!--
    872 Overwriting this template can be used to change the content of the top-level section.
    873 -->
    874 <!--
    875 <gsf:template name="topLevelSectionContent">
    876 <xsl:call-template name="wrappedSectionImage"/>
    877 <xsl:call-template name="wrappedSectionText"/>
    878 </gsf:template>
    879 -->
    880 <!--
    881 Overwriting this template can be used to change the content of sections.
    882 -->
    883 <!--
    884 <gsf:template name="sectionContent">
    885 <xsl:call-template name="wrappedSectionImage"/>
    886 <xsl:call-template name="wrappedSectionText"/>
    887 </gsf:template>
    888 -->
    889704        </format>
    890705    </display>
Note: See TracChangeset for help on using the changeset viewer.