- Timestamp:
- 2009-06-10T12:14:42+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
collections/documented-examples/trunk/dls-e/etc/collect.cfg
r19691 r19786 540 540 541 541 <!-- _text1_ --> 542 The DLS collection is fairly complex. 542 543 еÑлО ÐÑ ÑвлÑеÑеÑÑ ÑПлÑкП МаÑОМаÑÑОЌ пПлÑзПваÑелеЌ, ÑП лÑÑÑе вМаÑале ПзМакПЌОÑÑÑÑ Ñ ÐœÐµÐºÐŸÑПÑÑЌО ÐŽÑÑгОЌО кПллекÑОÑЌО (МапÑОЌеÑ, Ñ <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/wrdpdf-e&a=p&p=about\">msword О pdf ЎеЌПМÑÑÑаÑОÑЌО</a> ОлО же Ñ Ð°ÑÑ 543 544 ОваЌО ОлО Ñ Ð¿ÑПÑÑПй гÑаÑОÑеÑкПй кПллекÑОей). … … 545 546 546 547 <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>ÐПМÑОгÑÑаÑОПММÑй Ñайл</a> кПллекÑОО, пПЎПбМП вÑеЌ кПМÑОгÑÑаÑОПММÑÐŒ ÑайлаЌ ÐŽÑÑÐ³ÐžÑ 547 кПллекÑОй, МаÑОМаеÑÑÑ ÑП ÑÑÑПкО «СПзЎаÑелÑ» (\"Сreator\"), кПÑПÑÐ°Ñ ÑППбÑÐ°ÐµÑ Ð°ÐŽÑÐµÑ ÑлекÑÑПММПй пПÑÑÑ Ð¡ÐŸÐ·ÐŽÐ°ÑÐµÐ»Ñ ÐºÐŸÐ»Ð»ÐµÐºÑОО, О ÐŽÑÑгПй -- «ÐÑблОка» (\"Public\"), кПÑПÑÐ°Ñ ÐŸÐ¿ÑеЎелÑеÑ, пПÑвОÑÑÑ Ð»Ðž кПллекÑÐžÑ ÐœÐ° ЎПЌаÑМей ÑÑÑаМОÑе ÑÑÑаМПвкО Greenstone. <!-- _text3_ --> 548 кПллекÑОй, МаÑОМаеÑÑÑ ÑП ÑÑÑПкО «СПзЎаÑелÑ» (\"Сreator\"), кПÑПÑÐ°Ñ ÑППбÑÐ°ÐµÑ Ð°ÐŽÑÐµÑ ÑлекÑÑПММПй пПÑÑÑ Ð¡ÐŸÐ·ÐŽÐ°ÑÐµÐ»Ñ ÐºÐŸÐ»Ð»ÐµÐºÑОО, О ÐŽÑÑгПй -- «ÐÑблОка» (\"Public\"), кПÑПÑÐ°Ñ ÐŸÐ¿ÑеЎелÑеÑ, пПÑвОÑÑÑ Ð»Ðž кПллекÑÐžÑ ÐœÐ° ЎПЌаÑМей ÑÑÑаМОÑе ÑÑÑаМПвкО Greenstone. <!-- _text3_ -->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 (a=p&p=about&c=coll-shortname). 548 549 549 550 <p> … … 584 585 585 586 <!-- _text6_ --> 587 The second classifier provides access by title. It is also a <i>Hierarchy</i> classifier, this time based on 588 <i>dls.AZList</i> metadata, whose hierarchy is defined in <a href=\"_httpcollection_/etc/dls.Title.txt\" target=text>dls.AZList.txt</a>. This file is discussed below. 586 589 587 590 ТÑеÑОй ÐŽÐ°ÐµÑ ÐŽÐŸÑÑÑп пП ПÑгаМОзаÑОÑÐŒ: ÑÑП клаÑÑОÑОкаÑÐŸÑ <i>СпОÑПк</i> ПÑМПваММÑй Ма ЌеÑаЎаММÑÑ 588 <i>dls.Organization</i>. <!-- _text8_ --> 589 590 <!-- _text9_ --> 591 592 591 <i>dls.Organization</i>. <!-- _text8_ -->The <i>-bookshelf_type always</i> option creates a new bookshelf for each organization, even if only one document belongs to that category. 592 593 <!-- _text9_ -->The fourth provides access by \"Howto\" text: it is a <i>List</i> classifier based on <i>dls.Keyword</i> metadata. The <i>-bookshelf_type never</i> option prevents bookshelves being created even if two documents share the same keywords. 593 594 594 595 <p> … … 596 597 597 598 <p> 598 <b>ÐпеÑаÑПÑÑ ÑПÑЌаÑа</b>. <!-- _text10_ --> 599 <!-- <p> 600 _text11_ --> 599 <b>ÐпеÑаÑПÑÑ ÑПÑЌаÑа</b>. 600 <!-- _text10_ --> 601 The lines beginning with <i>format</i>, called \"format statements\", govern how various parts of the collection should be displayed. The <i>VList</i> format statement applies to lists of items displayed vertically, such as the lists of titles, subjects and organisations, and the table of contents for the target documents. It is overridden for the search results list by the <i>SearchVList</i> format statement, and also for the <i>Howto</i> classifier by the <i>CL4VList</i> statement (CL4 specifies the fourth classifier). 602 <p> 603 <!--_text11_ --> 604 The <i>DocumentText</i> statement governs how the document text is formatted, 605 with <i>Title</i> metadata ([<i>Title</i>]) in HTML <<i>h3</i>> format 606 followed by the text of the document [<i>Text</i>]. Setting the <i>DocumentImages</i> format statement to <i>true</i> ensures that cover images are shown with each document. The <i>DocumentButtons</i> statement calls for the <i>Expand 607 Text, Expand Contents, Detach</i> and <i>Highlight</i> buttons to be shown with each document. 608 601 609 <p> 602 610 … … 615 623 <b>ÐеÑаЎаММÑе ÑÑÐŸÐ²ÐœÑ ÐºÐŸÐ»Ð»ÐµÐºÑОО</b>. СÑÑПкО <i>collectionmeta</i> в кПМÑОгÑÑаÑОПММПЌ Ñайле Ñакже ÑÑаМЎаÑÑÐœÑ Ð²ÐŸ вÑÐµÑ 616 624 кПллекÑОÑÑ 617 Greenstone. ÐМО ЎаÑÑ ÐŸÐ±ÑÑÑ ÐžÐœÑПÑЌаÑÐžÑ ÐŸ кПллекÑОО, ПпÑеЎелÑÑ ÐµÐµ МазваМОе (ОЌÑ), пÑеЎÑÑавлÑÑÑ ÐºÑаÑкПе ПпОÑаМОе, кПÑПÑПе пПÑвлÑеÑÑÑ ÐœÐ° ее ЎПЌаÑМей ÑÑÑаМОÑе. ÐÑаÑкПе ПпОÑаМОе (в <i>collectionextra</i>) ЌПжМП вОЎеÑÑ ÐœÐ° ЎПЌаÑМей ÑÑÑаМОÑе кПллекÑОО <!-- (_text2_) --> 625 Greenstone. ÐМО ЎаÑÑ ÐŸÐ±ÑÑÑ ÐžÐœÑПÑЌаÑÐžÑ ÐŸ кПллекÑОО, ПпÑеЎелÑÑ ÐµÐµ МазваМОе (ОЌÑ), пÑеЎÑÑавлÑÑÑ ÐºÑаÑкПе ПпОÑаМОе, кПÑПÑПе пПÑвлÑеÑÑÑ ÐœÐ° ее ЎПЌаÑМей ÑÑÑаМОÑе. ÐÑаÑкПе ПпОÑаМОе (в <i>collectionextra</i>) ЌПжМП вОЎеÑÑ ÐœÐ° ЎПЌаÑМей ÑÑÑаМОÑе кПллекÑОО <!-- (_text2_) -->(this text is part of it) 618 626 <p> 619 627 … … 660 668 <<i>FileSet</i>> ... <<i>FileSet</i>>. ÐМО ПпÑеЎелÑÑÑ <i>dls.Title, dls.Language, dls.Subject</i> О ЌеÑаЎаММÑе <i>dls.AZList</i>. ÐПлÑÑе ÑеЌ ПЎМП зМаÑеМОе ÐŒÐŸÐ¶ÐµÑ Ð±ÑÑÑ ÐŸÐ¿ÑеЎелеМП ÐŽÐ»Ñ Ð»ÑбÑÑ 661 669 пÑМкÑПв ЌеÑаЎаММÑÑ 662 . <!-- _text5_ --> Ðба ÑПÑ670 . <!-- _text5_ -->For example, this book has two dls.Subject classifications. Ðба ÑÐŸÑ 663 671 ÑÐ°ÐœÐµÐœÑ Ð² каÑеÑÑве ЌеÑаЎаММÑÑ 664 672 ÐŽÐ»Ñ ÑÑПгП ÑпеÑОÑОÑеÑкПгП ЎПкÑЌеМÑа, пПÑÐŸÐŒÑ ÑÑП ÑПÑÑПÑМОе=МакаплОваÑÑ (<i>mode=accumulate</i>) ПпÑеЎелеМП, а в каÑеÑÑве алÑÑеÑМаÑÐžÐ²Ñ - зМаÑеМОе пП ÑЌПлÑаМОÑ, кПÑПÑÑÐŒ ÑвлÑеÑÑÑ <i>mode=override</i>. … … 666 674 667 675 <b>ÐеÑаÑÑ 668 ОÑеÑкОе ÑайлÑ</b>. <!-- _text12_ 669 670 <p> 671 _text13_ --> 676 ОÑеÑкОе ÑайлÑ</b>. 677 <!-- _text12_ --> 678 Hierarchy files contain a 679 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. 680 681 <p> 682 <!-- _text13_ --> 683 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>. 672 684 673 685 <pre> … … 677 689 </pre> 678 690 679 <!-- 680 <p> 681 _text14_ 682 683 <p> 684 _text15_ 685 686 <p> 687 _text16_ 688 --> 691 <p> 692 <!--_text14_ --> 693 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. 694 695 <p> 696 <!--_text15_--> 697 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. 698 699 <p> 700 <!--_text16_ --> 701 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>. 689 702 " 690 703
Note:
See TracChangeset
for help on using the changeset viewer.