Ignore:
Timestamp:
2023-08-13T00:04:35+12:00 (10 months ago)
Author:
davidb
Message:

Development of static Stories tab

Location:
gs3-installations/thewillow/trunk/sites/thewillow/collect/community-contributions
Files:
1 added
2 edited

Legend:

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

    r37905 r37928  
    325325            </plugin>
    326326            <plugin name="TextPlugin"/>
     327            <plugin name="HTMLPlugin">
     328              <option name="-process_exp" value="videos/.*\.html$"/>
     329              <option name="-description_tags"/>
     330              <option name="-associate_ext" value="mp4"/>
     331            </plugin>           
    327332            <plugin name="HTMLPlugin">
    328333                <option name="-associate_tail_re" value="(?:-assocwith)\.pdf$"/>
     
    703708                  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/document/metadataList/metadata[@name='assocfilepath']" />
    704709                </xsl:variable>
    705              
     710
     711                <xsl:variable name="videolinkfile">
     712                  <gsf:metadata name="videolinkFile"/>
     713                </xsl:variable>
     714
    706715                <video controls="controls" style="width: 100%;">
    707716                  <source type="video/mp4">
     
    709718                      <xsl:value-of
    710719                   disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />/index/assoc/<xsl:value-of
    711                    disable-output-escaping="yes" select="$thisAssocfilepath" />/<xsl:value-of
    712                    disable-output-escaping="yes" select="metadataList/metadata[@name='srclinkFile']" />
     720                   disable-output-escaping="yes" select="$thisAssocfilepath" />/<xsl:value-of select="$videolinkfile"/><!--
     721                   disable-output-escaping="yes" select="metadataList/metadata[@name='videolinkFile']" />-->
    713722                    </xsl:attribute>
    714723                  </source>
     
    730739                        <gsf:metadata name="Plugin"/>
    731740                        <gsf:when test="equals" test-value="HTMLPlugin">
    732                           <xsl:call-template name="documentPre"/>
     741                          <gsf:switch>
     742                            <gsf:metadata name="tw.ObjectType"/>
     743                            <gsf:when test="equals" test-value="Video">
     744                              <xsl:call-template name="documentNodeVideo"/>
     745                            </gsf:when>
     746                            <gsf:otherwise>
     747                              <xsl:call-template name="documentPre"/>
     748                            </gsf:otherwise>                           
     749                          </gsf:switch>                       
    733750                        </gsf:when>
     751                       
    734752                        <gsf:when test="equals" test-value="CSVPlugin">
    735753                          <xsl:call-template name="documentPre"/>
     
    745763                            <gsf:otherwise>
    746764                            <div id="gs-document-text">
    747                                 <xsl:call-template name="documentNodeText"/>
     765                              <xsl:call-template name="documentNodeText"/>
    748766                            </div>
    749767                            </gsf:otherwise>
  • gs3-installations/thewillow/trunk/sites/thewillow/collect/community-contributions/import/the-willow-videos/1 In The Beginning/metadata.xml

    r37871 r37928  
    44
    55    <FileSet>
    6         <FileName>In the Beginning.*\.mp4$</FileName>
     6        <FileName>In the Beginning.*\.html$</FileName>
    77        <Description>
    88      <Metadata name="tw.ObjectType">Video</Metadata>
Note: See TracChangeset for help on using the changeset viewer.