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

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

The usual insertion of QQQ to English language DEC collection descriptions (to be followed in next commit by undoing QQQ) to force GTI to mark translated strings as requiring updating.

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