Changeset 36446 for documented-examples
- Timestamp:
- 2022-08-22T17:08:10+12:00 (20 months ago)
- Location:
- documented-examples/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/dls-e/resources/collectionConfig.properties
r36404 r36446 11 11 description1=<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> 12 12 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>13 description2=<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> 14 14 15 15 description3=<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> … … 33 33 description12=<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> 34 34 35 description13=<p><b>Collection-level metadata</b>. The <i><displayItem></i> elements under the top-level <i><displayItemList></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>35 description13=<p><b>Collection-level metadata</b>. The <i><displayItem></i> elements under the top-level <i><displayItemList></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> 36 36 37 37 description14=<p><b>Language translations</b>. In the collection configuration file, lines that look like <tt><displayItem assigned="true" dictionary="collectionConfig" key="..." name="..."/></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 (<C3><A9> in this case). Alternatively they could be represented by their HTML entity names (like <i>&eacute</i>). It makes no difference for how they appear on the screen.</p> -
documented-examples/trunk/garish-e/etc/collectionConfig.xml
r36369 r36446 16 16 <displayItem dictionary="collectionConfig" key="description4" name="description4"/> 17 17 <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"/> 18 21 </displayItemList> 19 22 <format> … … 39 42 </index> 40 43 <index name="text"> 41 44 <displayItem dictionary="collectionConfig" key="index_text" name="name"/> 42 45 </index> 43 46 <index name="dls.Subject"> 44 47 <displayItem dictionary="collectionConfig" key="dls.Subject" name="name"/> 45 48 </index> 46 49 <defaultIndex name="text"/> 47 50 <level name="document"> 48 51 <displayItem dictionary="collectionConfig" key="index_document" name="name"/> 49 52 </level> 50 53 <level name="section"> 51 54 <displayItem dictionary="collectionConfig" key="index_section" name="name"/> 52 55 </level> 53 56 <defaultLevel name="section"/> … … 179 182 <br/> 180 183 <small> 181 <i> _textdate_<gsf:metadata name="Date"/></i>184 <i><gsf:displayItem name="textdate"/><gsf:metadata name="Date"/></i> 182 185 </small> 183 186 </gsf:when> … … 188 191 <br/> 189 192 <small> 190 <i> _textnumpages_<gsf:metadata name="NumPages"/></i>193 <i><gsf:displayItem name="textnumpages"/><gsf:metadata name="NumPages"/></i> 191 194 </small> 192 195 </gsf:when> … … 197 200 <br/> 198 201 <small> 199 <i> _textsource_<gsf:metadata name="Source"/></i>202 <i><gsf:displayItem name="textsource"/><gsf:metadata name="Source"/></i> 200 203 </small> 201 204 </gsf:when> … … 238 241 <br/> 239 242 <small> 240 <i> _textdate_<gsf:metadata name="Date"/></i>243 <i><gsf:displayItem name="textdate"/><gsf:metadata name="Date"/></i> 241 244 </small> 242 245 </gsf:when> … … 247 250 <br/> 248 251 <small> 249 <i> _textnumpages_<gsf:metadata name="NumPages"/></i>252 <i><gsf:displayItem name="textnumpages"/><gsf:metadata name="NumPages"/></i> 250 253 </small> 251 254 </gsf:when> … … 256 259 <br/> 257 260 <small> 258 <i> _textsource_<gsf:metadata name="Source"/></i>261 <i><gsf:displayItem name="textsource"/><gsf:metadata name="Source"/></i> 259 262 </small> 260 263 </gsf:when> -
documented-examples/trunk/garish-e/resources/collectionConfig.properties
r36404 r36446 1 1 name=Custom stylesheet demo collection 2 3 textdate=publication date: 4 textnumpages=no. of pages: 5 textsource=source ref: 2 6 3 7 dls.Organization=Organizations
Note:
See TracChangeset
for help on using the changeset viewer.