Ignore:
Timestamp:
2009-04-22T11:21:08+12:00 (15 years ago)
Author:
kjdon
Message:

modifed document links to use _sampleoid_ macro, which is set as a collectionmeta. Easier to keep the links up to date in all languages. Have changed the plugin to use -OIDtype and -OIDmetadata options, as otherwise the HASH ids were different between linux and windows. added some text about this

File:
1 edited

Legend:

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

    r19164 r19179  
    99indexes     text metadata
    1010
    11 plugin      BibTexPlugin
     11plugin      BibTexPlugin -OIDtype assigned -OIDmetadata Number
    1212plugin      GreenstoneXMLPlugin
    1313plugin      MetadataXMLPlugin
     
    7171format DocumentContents false
    7272
     73collectionmeta  sampleoid "13/2004"
     74
    7375collectionmeta  collectionname [l=en] "Bibliography collection"
    7476collectionmeta  .text [l=en] "full records"
     
    209211
    210212<p>
    211 Apart from the standard ones, the plugins specified for this collection are
    212 <i>ZIPPlugin</i>, which unzips compressed documents and archives, and
    213 <i>BibTexPlugin</i>, which processes references in the BibTeX format (well
    214 known to computer scientists).\n
     213Apart from the standard plugins, this collection uses <i>BibTexPlugin</i>,
     214which processes references in the BibTeX format (well known to computer
     215scientists). Two options have been set for BibTexPlugin:
     216<i>-OIDtype assigned -OIDmetadata Number</i>. This means the metadata
     217element \"Number\" will be used as the record identifier, instead of
     218Greenstone's default hash identifiers. These options are available for
     219all plugins.\n
    215220
    216221<p>
     
    302307<p>
    303308The documents themselves (here is an
    304 <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH48345462199800bcaeae7es110\">example</a>)
     309<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">example</a>)
    305310are generated by two format statements, one (a long one)
    306311called <i>DocumentHeading</i>, and another called <i>DocumentText</i>. The
     
    319324hyperlink is clicked, the <i>href</i> goes to the same URL but with
    320325<i>showrecord=1</i>, which generates a page like <a
    321 href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH48345462199800bcaeae7es110&showrecord=1\">this</a>.
     326href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_&showrecord=1\">this</a>.
    322327The <i>If</i> test succeeds, which shows the <i>Text</i> of the document. With
    323328the BibTeX plugin, the text of a document is its unadulterated BibTeX record.\n
     
    339344
    340345<p>
    341 A part les Plugins standards, les modules qui sont spécifiés pour
    342 cette collection sont <i>Zipplug</i> qui ouvre les archives et les documents compressés, et <i>Bibtext plug</i> qui traite les références dans le
    343 format BibText (bien connu des informaticiens).
     346_text1_
    344347
    345348<p>
     
    408411
    409412<p>
    410 Les documents eux-mêmes (voici un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH48345462199800bcaeae7es110\">exemple</a>) sont produits par
     413Les documents eux-mêmes (voici un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">exemple</a>) sont produits par
    411414deux déclarations de format, une (longue celle-la) appelée <i>DocumentHeading</i>, et une autre appelée <i>DocumentText</i>. Le <i>Document Heading</i>, qui est représente les deux tiers supérieurs de la page contient le <i>Titre</i> du document suivi d'une table qui
    412415donne tous les éléments de méta-donnée que le plugin BibTex peut générer.
     
    418421Cependant, quand le document est affiché la premiÚre fois, seul
    419422le lien <i>ShowBibtexRecord</i> apparaît --- ceci correspond à la derniÚre partie (c'est la partie \"else\") de l'instruction <i>If</i> dans <i>DocumentText</i>. Quand le lien est cliqué, <i>href</i> va vers la même URL mais avec <i>showrecord=1</i>, qui génÚre une page comme <a
    420 href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH48345462199800bcaeae7es110&showrecord=1\">celle-ci</a>. Le test <i>If</i> marche, ce qui affiche le <i>Text</i> du document. Avec le plugin BibTex, le texte d'un document est son enregistrement BibTEX pur.
     423href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_&showrecord=1\">celle-ci</a>. Le test <i>If</i> marche, ce qui affiche le <i>Text</i> du document. Avec le plugin BibTex, le texte d'un document est son enregistrement BibTEX pur.
    421424"
    422425
     
    431434<p>
    432435
    433 Aparte de los plugins estándar esta colección cuenta con <i>ZIPPlugin</i>, que descomprime los documentos y archivos comprimidos, y <i>BibTexPlugin</i>, que procesa las referencias en el formato BibTeX (bastante conocido por los especialistas en informática).
     436_text1_
    434437<p>
    435438
     
    466469<p>
    467470
    468 Los documentos mismos (he aquí un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH48345462199800bcaeae7es110\">ejemplo</a>) se generan por medio de dos enunciados de formato, uno llamado <i>DocumentHeading</i>, que es bastante largo, y otro llamado <i>DocumentText</i>. DocumentHeading ocupa los dos tercios superiores de la página y contiene el <i>Título</i> del documento seguido por una tabla de todos los elementos del metadato que el plugin BibTeX puede generar. El papel de todos los enunciados <i>If</i> en el <a href=\"_httpcollection_/etc/collect.cfg\"
     471Los documentos mismos (he aquí un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">ejemplo</a>) se generan por medio de dos enunciados de formato, uno llamado <i>DocumentHeading</i>, que es bastante largo, y otro llamado <i>DocumentText</i>. DocumentHeading ocupa los dos tercios superiores de la página y contiene el <i>Título</i> del documento seguido por una tabla de todos los elementos del metadato que el plugin BibTeX puede generar. El papel de todos los enunciados <i>If</i> en el <a href=\"_httpcollection_/etc/collect.cfg\"
    469472target=collect.cfg>archivo de configuración</a> es determinar los elementos que se definen.
    470473<p>
    471474
    472475<i>DocumentText</i> muestra la versión BibTeX de la referencia. Sin embargo, cuando el documento se despliega por primera vez únicamente aparece un hipervínculo llamado <i>Mostrar Registro BibTex</i>. Este corresponde a la última parte (es decir, a la parte \"adicional\") del enunciado <i>If</i> en <i>DocumentText</i>. Cuando se hace click en este hipervínculo la <i>href</i> va al mismo URL pero con showrecord=1, que genera una página como <a
    473 href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH48345462199800bcaeae7es110&showrecord=1\">ésta</a>. A continuación sigue la prueba <i>If</i>, que muestra el <i>Texto</i> del documento. Con el plugin BibTeX el texto de un documento es su registro BibTeX no adulterado.
     476href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_&showrecord=1\">ésta</a>. A continuación sigue la prueba <i>If</i>, que muestra el <i>Texto</i> del documento. Con el plugin BibTeX el texto de un documento es su registro BibTeX no adulterado.
    474477"
    475478
     
    494497<p>
    495498
    496 Ð’ ПтлОчОе Пт стаМЎартМыÑ
    497 , спецОфОчМыЌО плагОМаЌО Ўля этПй кПллекцОО являются -- <i>ZIPPlugin</i>, кПтПрый распакПвывают сжатые ЎПкуЌеМты О арÑ
    498 ÐžÐ²Ñ‹, О <i>BibTexPlugin</i>, кПтПрый Пбрабатывает ссылкО в фПрЌате BibTex, Ñ
    499 ÐŸÑ€ÐŸÑˆÐŸ ОзвестМПЌ  Ўля учеМыÑ
    500 .
     499_text1_
    501500
    502501<p>
     
    510509
    511510
    512 ** delete??В этПЌ случае стрПка <i>ОМЎексПв</i> ПпреЎеляет ЎПступМые Ўля пПОска ОМЎексы вП всёЌ тексте О в кажЎПЌ пПле ЌетаЎаММыÑ
    513 .** ТакОЌ ПбразПЌ, кПгЎа Ма пПОскПвПй страМОце пПявляется спускающееся ЌеМю \"пПле\", в МёЌ пПказаМ пПлМый спОсПк, сПпрПвПжЎающОй прО                     
     511ТакОЌ ПбразПЌ, кПгЎа Ма пПОскПвПй страМОце пПявляется спускающееся ЌеМю \"пПле\", в МёЌ пПказаМ пПлМый спОсПк, сПпрПвПжЎающОй прО                     
    514512вÑ
    515513ПЎе Ўля кажЎПгП элеЌеМта ЌетаЎаММыÑ
     
    564562<p>
    565563
    566 Ð¡Ð°ÐŒÐž же ДПкуЌеМты (зЎесь ОЌеется <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH48345462199800bcaeae7es110\">прОЌер</a>), геМерОруются ЎвуЌя ПператПраЌО фПрЌата, ПЎОМ Оз кПтПрыÑ
     564СаЌО же ДПкуЌеМты (зЎесь ОЌеется <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">прОЌер</a>), геМерОруются ЎвуЌя ПператПраЌО фПрЌата, ПЎОМ Оз кПтПрыÑ
    567565 (ЎлОММый) МазваМ <i>DocumentHeading</i>, а ЎругПй - <i>DocumentText</i>. <i>DocumentHeading</i>, кПтПрый сПставляет верÑ
    568566МОе Ўве третО страМОцы, сПЎержОт <i>НазваМОе</i> ЎПкуЌеМта, сПпрПвПжЎаеЌПе таблОцей, кПтПрая сПЎержОт все элеЌеМты ЌетаЎаММыÑ
Note: See TracChangeset for help on using the changeset viewer.