source: documented-examples/trunk/garish-e/resources/collectionConfig.properties@ 36614

Last change on this file since 36614 was 36614, checked in by anupama, 20 months ago

Forgot to ensure English appears as last edited on GTI. Commit 1/2

File size: 2.2 KB
Line 
1name=QQQQCustom stylesheet demo collection
2
3textdate=QQQQpublication date\:
4textnumpages=QQQQno. of pages\:
5textsource=QQQQsource ref\:
6
7dls.Organization=QQQQOrganizations
8dls.Titles=QQQQTitles
9dls.Keyword=QQQQHow to
10dls.Subject=QQQQSubjects
11index_text=QQQQText
12index_document=QQQQBook
13index_section=QQQQChapter
14
15shortDescription=QQQQ<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
17description1=QQQQ<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
19description2=QQQQ<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=QQQQ"additionalHeaderContent"&gt; \n\
21 &lt;xsl\:variable name=QQQQ"httpCollection"&gt; \n\
22 &lt;xsl\:value-of select=QQQQ"/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/&gt; \n\
23 &lt;/xsl\:variable&gt; \n\
24 &lt;link href=QQQQ"{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/&gt; \n\
25 &lt;/xsl\:template&gt; \n\
26</pre> \n\
27</p>
28
29description3=QQQQ<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
31description4=QQQQ<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
33description5=QQQQ<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
Note: See TracBrowser for help on using the repository browser.