- Timestamp:
- 2022-09-04T21:31:08+12:00 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/garish-e/resources/collectionConfig.properties
r36564 r36567 1 name= Custom stylesheet demo collection1 name=QQQCustom stylesheet demo collection 2 2 3 textdate= publication date\:4 textnumpages= no. of pages\:5 textsource= source ref\:3 textdate=QQQpublication date\: 4 textnumpages=QQQno. of pages\: 5 textsource=QQQsource ref\: 6 6 7 dls.Organization= Organizations8 dls.Titles= Titles9 dls.Keyword= How to10 dls.Subject= Subjects11 index_text= Text12 index_document= Book13 index_section= Chapter7 dls.Organization=QQQOrganizations 8 dls.Titles=QQQTitles 9 dls.Keyword=QQQHow to 10 dls.Subject=QQQSubjects 11 index_text=QQQText 12 index_document=QQQBook 13 index_section=QQQChapter 14 14 15 shortDescription= <p>This demonstration collection contains the same material as the original Greenstone demo collection, but its appearance has been altered slightly using a custom stylesheet.</p>15 shortDescription=QQQ<p>This demonstration collection contains the same material as the original Greenstone demo collection, but its appearance has been altered slightly using a custom stylesheet.</p> 16 16 17 description1= <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>17 description1=QQQ<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> 18 18 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><xsl\:template name= "additionalHeaderContent"> \n\21 <xsl\:variable name= "httpCollection"> \n\22 <xsl\:value-of select= "/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/> \n\19 description2=QQQ<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><xsl\:template name=QQQ"additionalHeaderContent"> \n\ 21 <xsl\:variable name=QQQ"httpCollection"> \n\ 22 <xsl\:value-of select=QQQ"/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/> \n\ 23 23 </xsl\:variable> \n\ 24 <link href= "{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/> \n\24 <link href=QQQ"{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/> \n\ 25 25 </xsl\:template> \n\ 26 26 </pre> \n\ 27 27 </p> 28 28 29 description3= <p>Next, a folder named <i>style</i> is created within the collection and a new text file, called <i>custom-style.css</i>, is created within that folder. The css suffix indicates it\'s a <i>Cascading Style Sheet</i>. CSS files define the look of web pages such as the colours, borders, fonts, heading styles and more. CSS files are just text files, and can thus be edited with any text editor.</p>29 description3=QQQ<p>Next, a folder named <i>style</i> is created within the collection and a new text file, called <i>custom-style.css</i>, is created within that folder. The css suffix indicates it\'s a <i>Cascading Style Sheet</i>. CSS files define the look of web pages such as the colours, borders, fonts, heading styles and more. CSS files are just text files, and can thus be edited with any text editor.</p> 30 30 31 description4= <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>31 description4=QQQ<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> 32 32 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>33 description5=QQQ<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> 34 34
Note:
See TracChangeset
for help on using the changeset viewer.