Ignore:
Timestamp:
2023-08-01T23:36:48+12:00 (11 months ago)
Author:
davidb
Message:

Development of collection to include video files, and improvements to basic grid layout for searching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/thewillow/trunk/sites/thewillow/collect/community-contributions/etc/collectionConfig.xml

    r37838 r37866  
    4747<p><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.standarddescriptiondays', concat($numdocs, ';', $formatted_date))"/></p>
    4848-->
    49                 <p>
     49<p>
     50  <!--
    5051                    <a href="https://www.streetlifeyork.uk/sites/streetlifeyork.uk/files/styles/content_aligned/public/2022-09/g1809.png?itok=RwDJM7Gu">
    5152                        <img src="interfaces/{$interface_name}/images/thewillow-signage-100.png" style="float: right; margin-left: 12px;" width="180"/>
    5253                    </a>
     54  -->
    5355                    <span>“<i>York’s Coney Street has a rich musical heritage;
    5456          from the cries of eighteenth-century street vendors to
     
    126128            <displayItem lang="en" name="name">notes</displayItem>
    127129        </index>
     130        <index name="tw.ObjectType">
     131          <displayItem lang="en" name="name">type</displayItem>
     132        </index>
    128133        <!--
    129134        <index name="gs.usercomment">
     
    139144            <displayItem lang="en" name="name">rank</displayItem>
    140145        </sort>
     146        <!-- **** supressed in ThomFong design **** -->
     147        <!--
    141148        <facet name="tw.InCopyright">
    142149            <displayItem lang="en" name="name">In Copyright</displayItem>
     
    148155            <displayItem lang="en" name="name">Content Type</displayItem>
    149156        </facet>
     157        -->
    150158        <searchType name="plain"/>
    151159        <searchType name="simpleform"/>
     
    153161        <format>
    154162
     163                <!-- **** replaced in ThomFong design **** -->
    155164                        <gsf:template match="documentNode-OrigTableTD">
    156165                               <td valign="top">
     
    226235            </plugin>
    227236            <plugin name="PDFv2Plugin"/>
     237           
     238            <plugin name="UnknownPlugin">             
     239              <option name="-process_extension" value="mp4"/>
     240              <option name="-mime_type" value="video/mp4"/>
     241              <option name="-srcicon" value="iconmp4"/>
     242              <option name="-OIDtype" value="assigned"/>
     243              <option name="-OIDmetadata" value="tw.DLIdentifier"/>
     244            </plugin>
     245           
    228246            <plugin name="UnknownConverterPlugin">
    229247                <option name="-exec_cmd" value="java -jar %%GSDLHOME/ext/tika/tika-app.jar --html --pretty-print --encoding=UTF-8 %%INPUT_FILE > %%OUTPUT"/>
     
    247265    </import>
    248266    <browse>
     267            <!-- **** supressed in ThomFong design **** -->
     268            <!--
    249269        <classifier name="List">
    250270            <option name="-metadata" value="tw.Title,dc.Title,Title"/>
     
    264284            <option name="-mingroup" value="1"/>
    265285        </classifier>
     286        -->
     287        <classifier name="AZCompactList">
     288            <option name="-metadata" value="tw.ObjectTypeVideoTitle"/>
     289            <option name="-buttonname" value="Stories"/>
     290            <option name="-mingroup" value="2"/>
     291            <option name="-sort" value="tw.VideoOrder"/>
     292        </classifier>
     293       
    266294        <format>
    267295            <gsf:template match="documentNode">
     
    324352    </browse>
    325353    <display>
     354     
    326355        <format>
    327356            <gsf:headMetaTags>
     
    343372<gsf:option name="TOC" value="true"/>
    344373-->
    345             <gsf:option name="TOC" value="false"/>
    346             <gsf:option name="allowUserComments" value="true"/>
     374            <gsf:option name="TOC"           value="false"/>
     375            <gsf:option name="disableZoom"   value="true"/>
     376            <gsf:option name="allowFavourites"      value="false"/>
     377            <gsf:option name="allowUserComments"    value="true"/>
    347378            <gsf:option name="allowDocumentEditing" value="false"/>
    348             <gsf:option name="allowMapGPSEditing" value="false"/>
     379            <gsf:option name="allowMapGPSEditing"   value="false"/>
    349380<!--
    350381Overwriting this template allows you to change the heading of the document.
    351382-->
    352383            <gsf:template name="documentHeadingShared">
    353                 <xsl:param name="twTitle"/>
     384              <xsl:param name="twTitle"/>
     385              <style>
     386                #float-anchor {
     387                  display: none;
     388                }
     389              </style>
     390              <div style="float: left; width: 100%; text-align: center">
    354391                <span id="doc-chosen-title" style="font-weight:bold; font-size: 120%;">
    355392                    <xsl:value-of select="$twTitle"/>
    356393                </span>
     394              </div>
    357395                <gsf:script>$(document).ready(function() {
    358396                    var dct_html = $('#doc-chosen-title').html();
     
    465503                    <xsl:value-of select="/page/pageResponse/document/documentNode/metadataList/metadata[@name='tw.Notes']"/>
    466504                </xsl:variable>
    467                 <br/>
    468505                <div id="doc-metadata-table">
    469506                    <table class="metadataTable">
     
    561598            <gsf:template name="documentContentTopLevel">
    562599                <div id="gs-document">
     600
     601                        <div style="text-align: center;">
     602                          <br/>
     603                          <xsl:call-template name="wrappedSectionImage"/>
     604                    </div>
    563605                    <xsl:call-template name="documentPre"/>
    564                     <xsl:call-template name="wrappedSectionImage"/>
    565606                    <gsf:switch>
    566607                        <gsf:metadata name="Plugin"/>
Note: See TracChangeset for help on using the changeset viewer.