Changeset 19384 for collections/documented-examples/trunk
- Timestamp:
- 2009-05-11T15:24:06+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
collections/documented-examples/trunk/dls-e/etc/collect.cfg
r19383 r19384 249 249 250 250 <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.251 succession 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. 252 252 <p> 253 253 For example, the following shows three lines from the subject hierarchy file <a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a>. 254 254 255 255 <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> 261 262 These 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> 263 264 In 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> 265 266 The <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>. 266 267 " … … 373 374 <b>Fichiers d\'hiérarchie</b>. _text12_ 374 375 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_ 376 393 " 377 394 … … 475 492 <p> 476 493 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 478 514 " 479 515 … … 625 661 ОÑеÑкОе ÑайлÑ</b>. _text12_ 626 662 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 627 681 "
Note:
See TracChangeset
for help on using the changeset viewer.