Ignore:
Timestamp:
2009-05-11T15:24:06+12:00 (15 years ago)
Author:
kjdon
Message:

filled in the missing text macros for translations of the hierarchy files bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • collections/documented-examples/trunk/dls-e/etc/collect.cfg

    r19383 r19384  
    249249
    250250<p><b>Hierarchy files</b>. Hierarchy files contain a
    251 succession of lines each of which has three items. **_text12_ starts here. **The first item is a text string which is matched against the metadata that occurs in the <i>metadata.xml</i> file described above. The second item is a number that defines the position in the hierarchy. The third item is a text string that describes the node of the hierarchy on the web pages that Greenstone generates.
     251succession of lines each of which has three items. The first item is a text string which is matched against the metadata that occurs in the <i>metadata.xml</i> file described above. The second item is a number that defines the position in the hierarchy. The third item is a text string that describes the node of the hierarchy on the web pages that Greenstone generates.
    252252<p>
    253253For example, the following shows three lines from the subject hierarchy file <a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a>.
    254254
    255255<pre>
    256 \"Animal Husbandry and Animal Product Processing\" 7 \"Animal Husbandry and Animal Product Processing\"
    257 \"Animal Husbandry and Animal Product Processing|Cattle\" 7.1 \"Cattle\"
    258 \"Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)\" 7.2 \"Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)\"
    259 </pre>
    260 
     256\"Animal Husbandry and Animal Product Processing\" 7 \"Animal Husbandry and Animal Product Processing\" \n
     257\"Animal Husbandry and Animal Product Processing|Cattle\" 7.1 \"Cattle\" \n
     258\"Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" 7.2 \"Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" \n
     259</pre>
     260
     261<p>
    261262These three lines define one top level bookshelf (at position 7), titled \"Animal Husbandry and Animal Product Processing\", with two bookshelves underneath it, titled \"Cattle\" and \"Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)\" respectively.
    262 
     263<p>
    263264In this case, the first strings (and therefore the entries in metadata.xml files) contain the entire hierarchy values. Levels in the hierarchy are separated by \"|\". They could be used directly by a <i>Hierarchy</i> classifier without the use of the hierarchy file. However, then the entries would be ordered alphabetically, not in the special order defined by the file.
    264 
     265<p>
    265266The <a href=\"_httpcollection_/etc/dls.AZList.txt\" target=text>dls.AZList.txt</a> hierarchy file used by the titles classifier contains a similar structure. Ordinarily, a titles browser would use a <i>List</i> (or <i>AZList</i>) classifier. In this case, we want to predefine the A-Z groupings, and include a separate entry for periodicals, as can be seen <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2.7\">here</a>.
    266267"
     
    373374<b>Fichiers d\'hiérarchie</b>. _text12_
    374375
    375 
     376<p>
     377_text13_
     378
     379<pre>
     380\"Animal Husbandry and Animal Product Processing\" 7 \"Animal Husbandry and Animal Product Processing\" \n
     381\"Animal Husbandry and Animal Product Processing|Cattle\" 7.1 \"Cattle\" \n
     382\"Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" 7.2 \"Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" \n
     383</pre>
     384
     385<p>
     386_text14_
     387
     388<p>
     389_text15_
     390
     391<p>
     392_text16_
    376393"
    377394
     
    475492<p>
    476493
    477 <b>Archivos de jerarquía</b>.
     494<b>Archivos de jerarquía</b>. _text12_
     495
     496<p>
     497_text13_
     498
     499<pre>
     500\"Animal Husbandry and Animal Product Processing\" 7 \"Animal Husbandry and Animal Product Processing\" \n
     501\"Animal Husbandry and Animal Product Processing|Cattle\" 7.1 \"Cattle\" \n
     502\"Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" 7.2 \"Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" \n
     503</pre>
     504
     505<p>
     506_text14_
     507
     508<p>
     509_text15_
     510
     511<p>
     512_text16_
     513
    478514"
    479515
     
    625661ОческОе файлы</b>. _text12_
    626662
     663<p>
     664_text13_
     665
     666<pre>
     667\"Animal Husbandry and Animal Product Processing\" 7 \"Animal Husbandry and Animal Product Processing\" \n
     668\"Animal Husbandry and Animal Product Processing|Cattle\" 7.1 \"Cattle\" \n
     669\"Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" 7.2 \"Other animals (micro-livestock, little known animals, \n      silkworms, reptiles, frogs, snails, game, etc.)\" \n
     670</pre>
     671
     672<p>
     673_text14_
     674
     675<p>
     676_text15_
     677
     678<p>
     679_text16_
     680
    627681"
Note: See TracChangeset for help on using the changeset viewer.