Ignore:
Timestamp:
2009-06-10T12:14:42+12:00 (15 years ago)
Author:
anna
Message:

display English text where translations are missing.

File:
1 edited

Legend:

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

    r19691 r19786  
    540540
    541541<!-- _text1_ -->
     542The DLS collection is fairly complex.
    542543еслО Вы являетесь тПлькП МачОМающОЌ пПльзПвателеЌ, тП лучше вМачале ПзМакПЌОться с МекПтПрыЌО ЎругОЌО кПллекцОяЌО (МапрОЌер, с <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/wrdpdf-e&a=p&p=about\">msword О pdf ЎеЌПМстрацОяЌО</a> ОлО же с арÑ
    543544ОваЌО ОлО с прПстПй графОческПй кПллекцОей).
     
    545546
    546547<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).
    548549
    549550<p>
     
    584585
    585586<!-- _text6_ -->
     587The 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.
    586589
    587590ТретОй Ўает ЎПступ пП ПргаМОзацОяЌ: этП классОфОкатПр <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.
    593594
    594595<p>
     
    596597
    597598<p>
    598 <b>ОператПры фПрЌата</b>. <!-- _text10_ -->
    599 <!-- <p>
    600 _text11_ -->
     599<b>ОператПры фПрЌата</b>.
     600<!-- _text10_ -->
     601The 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_ -->
     604The <i>DocumentText</i> statement governs how the document text is formatted,
     605with <i>Title</i> metadata ([<i>Title</i>]) in HTML &lt;<i>h3</i>&gt; format
     606followed 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
     607Text, Expand Contents, Detach</i> and <i>Highlight</i> buttons to be shown with each document.
     608
    601609<p>
    602610
     
    615623<b>МетаЎаММые урПвМя кПллекцОО</b>. СтрПкО <i>collectionmeta</i> в кПМфОгурацОПММПЌ файле также стаМЎартМы вП всеÑ
    616624 ÐºÐŸÐ»Ð»ÐµÐºÑ†ÐžÑÑ
    617  Greenstone. ОМО Ўают Пбщую ОМфПрЌацОю П кПллекцОО, ПпреЎеляя ее МазваМОе (ОЌя), преЎставляют краткПе ПпОсаМОе, кПтПрПе пПявляется Ма ее ЎПЌашМей страМОце. КраткПе ПпОсаМОе (в <i>collectionextra</i>) ЌПжМП вОЎеть Ма ЎПЌашМей страМОце кПллекцОО <!-- (_text2_) -->
     625 Greenstone. ОМО Ўают Пбщую ОМфПрЌацОю П кПллекцОО, ПпреЎеляя ее МазваМОе (ОЌя), преЎставляют краткПе ПпОсаМОе, кПтПрПе пПявляется Ма ее ЎПЌашМей страМОце. КраткПе ПпОсаМОе (в <i>collectionextra</i>) ЌПжМП вОЎеть Ма ЎПЌашМей страМОце кПллекцОО <!-- (_text2_) -->(this text is part of it)
    618626<p>
    619627
     
    660668 &lt;<i>FileSet</i>&gt; ... &lt;<i>FileSet</i>&gt;. ОМО ПпреЎеляют <i>dls.Title, dls.Language, dls.Subject</i> О ЌетаЎаММые <i>dls.AZList</i>. БПльше чеЌ ПЎМП зМачеМОе ЌПжет быть ПпреЎелеМП Ўля любыÑ
    661669 Ð¿ÑƒÐœÐºÑ‚Пв ЌетаЎаММыÑ
    662 . <!-- _text5_ --> Оба сПÑ
     670. <!-- _text5_ -->For example, this book has two dls.Subject classifications. Оба сПÑ
    663671раМеМы в качестве ЌетаЎаММыÑ
    664672 ÐŽÐ»Ñ этПгП спецОфОческПгП ЎПкуЌеМта, пПтПЌу чтП сПстПяМОе=МакаплОвать (<i>mode=accumulate</i>) ПпреЎелеМП, а в качестве альтерМатОвы - зМачеМОе пП уЌПлчаМОю, кПтПрыЌ является <i>mode=override</i>.
     
    666674
    667675<b>ИерарÑ
    668 ÐžÑ‡ÐµÑÐºÐžÐµ файлы</b>. <!-- _text12_
    669 
    670 <p>
    671 _text13_ -->
     676ОческОе файлы</b>.
     677<!-- _text12_ -->
     678Hierarchy files contain a
     679succession 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_ -->
     683For example, the following shows three lines from the subject hierarchy file <a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a>.
    672684
    673685<pre>
     
    677689</pre>
    678690
    679 <!--
    680 <p>
    681 _text14_
    682 
    683 <p>
    684 _text15_
    685 
    686 <p>
    687 _text16_
    688 -->
     691<p>
     692<!--_text14_ -->
     693These 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_-->
     697In 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_ -->
     701The <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>.
    689702"
    690703
Note: See TracChangeset for help on using the changeset viewer.