Changeset 36515 for documented-examples


Ignore:
Timestamp:
2022-08-26T18:45:43+12:00 (20 months ago)
Author:
anupama
Message:

Need to escape the colons in garish-e collection description's properties file, as it's one of the indicators that a property value is starting. Else GTI doesn't load the properties strings correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/garish-e/resources/collectionConfig.properties

    r36510 r36515  
    11name=Custom stylesheet demo collection
    22
    3 textdate=publication date:
    4 textnumpages=no. of pages:
    5 textsource=source ref:
     3textdate=publication date\:
     4textnumpages=no. of pages\:
     5textsource=source ref\:
    66
    77dls.Organization=Organizations
     
    1717description1=<p>Greenstone 3 uses default stylesheets, which can be overridden for all collections in a site or for any particular collection. This documented example collection covers the last case.</p>
    1818
    19 description2=<h3>How the collection works</h3><p>The <b>global</b> format statement contains a link to the collection\'s custom stylesheet, which is located inside the collection: \n\
    20 <pre>&lt;xsl:template name="additionalHeaderContent"&gt; \n\
    21     &lt;xsl:variable name="httpCollection"&gt; \n\
    22       &lt;xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/&gt; \n\
    23     &lt;/xsl:variable&gt; \n\
     19description2=<h3>How the collection works</h3><p>The <b>global</b> format statement contains a link to the collection\'s custom stylesheet, which is located inside the collection\: \n\
     20<pre>&lt;xsl\:template name="additionalHeaderContent"&gt; \n\
     21    &lt;xsl\:variable name="httpCollection"&gt; \n\
     22      &lt;xsl\:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/&gt; \n\
     23    &lt;/xsl\:variable&gt; \n\
    2424    &lt;link href="{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/&gt; \n\
    25   &lt;/xsl:template&gt; \n\
     25  &lt;/xsl\:template&gt; \n\
    2626</pre> \n\
    2727</p>
     
    3131description4=<p>The default Greenstone CSS style sheets define certain styles for all collections, that are <i>overridden</i> for the collection by defining CSS rules within its new custom stylesheet. It is by linking the CSS file in the Greenstone collection\'s <b>global</b> format statement as above, that the general Greenstone CSS styling rules get overridden at the collection level.</p>
    3232
    33 description5=<p>You can quickly learn how to write CSS at <a href="https://www.w3schools.com/css/default.asp">W3schools</a> and other online sites.</p>
     33description5=<p>You can quickly learn how to write CSS at <a href="https\://www.w3schools.com/css/default.asp">W3schools</a> and other online sites.</p>
    3434
Note: See TracChangeset for help on using the changeset viewer.