Changeset 36446


Ignore:
Timestamp:
2022-08-22T17:08:10+12:00 (20 months ago)
Author:
anupama
Message:

More corrections to the new GS3 DEC collection descriptions after testing on a GS3 installation

Location:
documented-examples/trunk
Files:
3 edited

Legend:

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

    r36404 r36446  
    1111description1=<h3>How the collection works</h3><p>The DLS collection is fairly complex. If you\'re just starting out you might prefer to look at some other collections first (e.g. <i>Word and PDF demonstration</i>, or the <i>Greenstone Archives</i>, or the <i>Simple Image collection</i>).</p>
    1212
    13 description2=<p>The collection configuration file, <tt>collectionConfig.xml</i>, like all collection configuration files, begins with the <i>creator<i> metadata element that gives the email address of the collection\'s creator, and another metadata ("public") that determines whether the collection will appear on the home page of the Greenstone installation. Note that setting "public" to "false" only removes it from the home page; it will still be accessible in the library to anyone that knows the URL to the collection.</p>
     13description2=<p>The collection configuration file, <tt>collectionConfig.xml</tt>, like all collection configuration files, begins with the <i>creator</i> metadata element that gives the email address of the collection\'s creator, and another metadata ("public") that determines whether the collection will appear on the home page of the Greenstone installation. Note that setting "public" to "false" only removes it from the home page; it will still be accessible in the library to anyone that knows the URL to the collection.</p>
    1414
    1515description3=<p><b>Plugins</b>. The "plugin" lines in the collection configuration file give the plugins used by the collection. The documents in the DLS collection are in HTML, so <i>HTMLPlugin</i> must be included. The <i>description_tags</i> option processes tags in the text that define sections and section titles as described below.</p>
     
    3333description12=<p>Greenstone 3 uses XML for format statements, allowing librarians with XML experience to more easily understand and use format statements than Greenstone 2 which worked with a custom way of specifying format statements. For more information on understanding format statements and writing your own format statements for collections, refer to <a href="http://wiki.greenstone.org/doku.php?id=en:user:gs3_format_statements">Greenstone 3 Format Statements</a> on the Greenstone wiki.</p>
    3434
    35 description13=<p><b>Collection-level metadata</b>. The <i>&lt;displayItem&gt;</i> elements under the top-level <i>&lt;displayItemList&gt;</i> in the configuration file are also standard in all Greenstone collections. They give general information about the collection, defining its name, and a description that appears on its home page. The description text (defined in the translatable <tt>resources/collectionConfig.properties</i> files) can be seen on the DLS collection\'s home page (this text is part of it).</p>
     35description13=<p><b>Collection-level metadata</b>. The <i>&lt;displayItem&gt;</i> elements under the top-level <i>&lt;displayItemList&gt;</i> in the configuration file are also standard in all Greenstone collections. They give general information about the collection, defining its name, and a description that appears on its home page. The description text (defined in the translatable <tt>resources/collectionConfig.properties</tt> files) can be seen on the DLS collection\'s home page (this text is part of it).</p>
    3636
    3737description14=<p><b>Language translations</b>. In the collection configuration file, lines that look like <tt>&lt;displayItem assigned="true" dictionary="collectionConfig" key="..." name="..."/&gt;</tt> allow for translatable collection-level metadata, that are defined in the <tt>resources/collectionConfig.properties</tt> text files and can be translated in the same location such as by creating French and Spanish versions (in <tt>resources/collectionConfig_fr.properties</tt> and <tt>resources/collectionConfig_es.properties</tt>, respectively). Note that we advise translators to go through the GTI (Greenstone Translation Interface) system if they want to contribute translations to Greenstone as used by everyone, such as translations to Greenstone\'s demo collections and these documented example collections. The properties files allow for accented characters (e.g. French <i>é</i>). The files are in UTF-8, and these characters are represented by multi-byte sequences (&lt;C3&gt;&lt;A9&gt; in this case). Alternatively they could be represented by their HTML entity names (like <i>&amp;eacute</i>). It makes no difference for how they appear on the screen.</p>
  • documented-examples/trunk/garish-e/etc/collectionConfig.xml

    r36369 r36446  
    1616        <displayItem dictionary="collectionConfig" key="description4" name="description4"/>
    1717        <displayItem dictionary="collectionConfig" key="description5" name="description5"/>
     18        <displayItem assigned="true" dictionary="collectionConfig" key="textsource" name="textsource"/>
     19        <displayItem assigned="true" dictionary="collectionConfig" key="textnumpages" name="textnumpages"/>
     20        <displayItem assigned="true" dictionary="collectionConfig" key="textdate" name="textdate"/>
    1821    </displayItemList>
    1922    <format>
     
    3942        </index>
    4043        <index name="text">
    41           <displayItem dictionary="collectionConfig" key="index_text" name="name"/>
     44            <displayItem dictionary="collectionConfig" key="index_text" name="name"/>
    4245        </index>
    4346        <index name="dls.Subject">
    44           <displayItem dictionary="collectionConfig" key="dls.Subject" name="name"/>
     47            <displayItem dictionary="collectionConfig" key="dls.Subject" name="name"/>
    4548        </index>
    4649        <defaultIndex name="text"/>
    4750        <level name="document">
    48           <displayItem dictionary="collectionConfig" key="index_document" name="name"/>
     51            <displayItem dictionary="collectionConfig" key="index_document" name="name"/>
    4952        </level>
    5053        <level name="section">
    51           <displayItem dictionary="collectionConfig" key="index_section" name="name"/>
     54            <displayItem dictionary="collectionConfig" key="index_section" name="name"/>
    5255        </level>
    5356        <defaultLevel name="section"/>
     
    179182                            <br/>
    180183                            <small>
    181                                 <i>_textdate_<gsf:metadata name="Date"/></i>
     184                                <i><gsf:displayItem name="textdate"/><gsf:metadata name="Date"/></i>
    182185                            </small>
    183186                        </gsf:when>
     
    188191                            <br/>
    189192                            <small>
    190                                 <i>_textnumpages_<gsf:metadata name="NumPages"/></i>
     193                                <i><gsf:displayItem name="textnumpages"/><gsf:metadata name="NumPages"/></i>
    191194                            </small>
    192195                        </gsf:when>
     
    197200                            <br/>
    198201                            <small>
    199                                 <i>_textsource_<gsf:metadata name="Source"/></i>
     202                                <i><gsf:displayItem name="textsource"/><gsf:metadata name="Source"/></i>
    200203                            </small>
    201204                        </gsf:when>
     
    238241                            <br/>
    239242                            <small>
    240                                 <i>_textdate_<gsf:metadata name="Date"/></i>
     243                                <i><gsf:displayItem name="textdate"/><gsf:metadata name="Date"/></i>
    241244                            </small>
    242245                        </gsf:when>
     
    247250                            <br/>
    248251                            <small>
    249                                 <i>_textnumpages_<gsf:metadata name="NumPages"/></i>
     252                                <i><gsf:displayItem name="textnumpages"/><gsf:metadata name="NumPages"/></i>
    250253                            </small>
    251254                        </gsf:when>
     
    256259                            <br/>
    257260                            <small>
    258                                 <i>_textsource_<gsf:metadata name="Source"/></i>
     261                                <i><gsf:displayItem name="textsource"/><gsf:metadata name="Source"/></i>
    259262                            </small>
    260263                        </gsf:when>
  • documented-examples/trunk/garish-e/resources/collectionConfig.properties

    r36404 r36446  
    11name=Custom stylesheet demo collection
     2
     3textdate=publication date:
     4textnumpages=no. of pages:
     5textsource=source ref:
    26
    37dls.Organization=Organizations
Note: See TracChangeset for help on using the changeset viewer.