1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
3 | ><metadataList
|
---|
4 | ><metadata lang="en" name="creator"
|
---|
5 | >[email protected]</metadata
|
---|
6 | ><metadata lang="en" name="public"
|
---|
7 | >true</metadata
|
---|
8 | ></metadataList
|
---|
9 | ><displayItemList
|
---|
10 | ><displayItem name="description" lang="ru"
|
---|
11 | > ÐÑП ПÑÐœÐŸÐ²ÐœÐ°Ñ ÐºÐŸÐ»Ð»ÐµÐºÑÐžÑ ÐžÐ·ÐŸÐ±ÑажеМОй, кПÑПÑÐ°Ñ ÐœÐµ ÑПЎеÑÐ¶ÐžÑ ÐœÐžÐºÐ°ÐºÐŸÐ³ÐŸ ÑекÑÑа О МОкакОÑ
|
---|
12 | ÑвМÑÑ
|
---|
13 | ЌеÑаЎаММÑÑ
|
---|
14 | . ÐеÑкПлÑкП JPEG-ÑайлПв пПЌеÑÐµÐœÑ Ð² ЎОÑекÑПÑÐžÑ ÐžÐŒÐ¿ÐŸÑÑа ЎП ОЌпПÑÑОÑÐŸÐ²Ð°ÐœÐžÑ Ðž пПÑÑÑÐŸÐµÐœÐžÑ ÐºÐŸÐ»Ð»ÐµÐºÑОО. Ð ÑÑП вÑе. <p> <!-- _text1_ --> The images in this collection have been produced by members of the Department of Computer Science, University of Waikato. The University of Waikato holds copyright. They may be distributed freely, without any restrictions. <h3>Ðак ÑабПÑÐ°ÐµÑ ÐºÐŸÐ»Ð»ÐµÐºÑОÑ</h3> <p> <a href="?a=d&d=_sampleoid_">ÐЎеÑÑ</a> пÑеЎÑÑавлеМ ÑОпПвПй ЎПкÑÐŒÐµÐœÑ ÐºÐŸÐ»Ð»ÐµÐºÑОО. <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>ÐПМÑОгÑÑаÑОПММÑй Ñайл</a> Ме ПпÑеЎелÑÐµÑ ÐœÐžÐºÐ°ÐºÐžÑ
|
---|
15 | ОМЎекÑПв, Ñак ÑÑП кМПпка пПОÑка пПЎавлеМа. <p> ÐЌееÑÑÑ ÑПлÑкП ПЎОМ плагОМ <i>ImagePlugin</i>, пПЌОЌП 4, кПÑПÑÑе пÑОÑÑÑÑÑвÑÑÑ Ð²ÑегЎа (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> пПлагаеÑÑÑ ÐœÐ° ÑÑÑеÑÑвПваМОе ЎвÑÑ
|
---|
16 | пÑПгÑаЌЌ Оз МабПÑа ImageMagick (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>) - <i>convert</i> О <i>identify</i>. Greenstone Ме ÑÐŒÐŸÐ¶ÐµÑ ÑÑÑПОÑÑ ÐºÐŸÐ»Ð»ÐµÐºÑОО пÑавОлÑМП, еÑлО ImageMagick Ме ÑÑÑаМПвлеМ Ма ваÑеЌ кПЌпÑÑÑеÑе. <p> <i>ImagePlugin</i> авÑПЌаÑОÑеÑкО геМеÑОÑÑÐµÑ ÑлеЎÑÑÑОе ЌеÑаЎаММÑе ÐŽÐ»Ñ ÐºÐ°Ð¶ÐŽÐŸÐ³ÐŸ ОзПбÑÐ°Ð¶ÐµÐœÐžÑ Ð² кПллекÑОО: <p> <blockquote> <table border=0 cellspacing=0> <tr> <td width=125 valign=top><i>Image</i></td> <td> ÐÐŒÑ Ñайла, ÑПЎеÑжаÑегП ОзПбÑажеМОе </td></tr> <tr><td valign=top><i>ImageWidth</i></td> <td> КОÑОМа ОзПбÑÐ°Ð¶ÐµÐœÐžÑ (в пОкÑелаÑ
|
---|
17 | ) </td></tr> <tr><td valign=top><i>ImageHeight</i></td> <td> ÐÑÑПÑа ОзПбÑÐ°Ð¶ÐµÐœÐžÑ (в пОкÑелаÑ
|
---|
18 | ) </td></tr> <tr><td valign=top><i>Thumb</i></td> <td> ÐÐŒÑ Ñайла ÑПÑЌаÑа ПбЌеМа гÑаÑОÑеÑкОЌ ЎаММÑЌО, ÑПЎеÑжаÑегП ÑЌеМÑÑеММПе ОзПбÑажеМОе </td></tr> <tr><td valign=top><i>ThumbWidth</i></td> <td> КОÑОМа ÑЌеМÑÑеММПгП ОзПбÑÐ°Ð¶ÐµÐœÐžÑ (в пОкÑелаÑ
|
---|
19 | ) </td></tr> <tr><td valign=top><i>ThumbHeight</i></td> <td> ÐÑÑПÑа ÑЌеМÑÑеММПгП ОзПбÑÐ°Ð¶ÐµÐœÐžÑ (в пОкÑелаÑ
|
---|
20 | ) </td></tr> <tr><td valign=top><i>Thumbicon</i></td> <td> ÐПлМПе ПпОÑаМОе пÑÑО к ÑЌеМÑÑÐµÐœÐœÐŸÐŒÑ ÐžÐ·ÐŸÐ±ÑÐ°Ð¶ÐµÐœÐžÑ </td></tr> <tr><td valign=top><i>assocfilepath</i></td> <td> ÐÐŒÑ Ð¿ÑÑО к пПЎЎОÑекÑПÑОО ОзПбÑажеМОй в ЎОÑекÑПÑОО кПллекÑОО <i>assoc</i> </td></tr></table> </blockquote> <p> ÐзПбÑажеМОе ÑПÑ
|
---|
21 | ÑаМОÑÑÑ ÐºÐ°Ðº «ÑвÑзаММÑй Ñайл» в пПЎЎОÑекÑПÑОО <i>assoc</i> ЎОÑекÑПÑОО кПллекÑОО <i>index</i>. Index -- ÑÑП ЎОÑекÑПÑОÑ, кÑЎа вÑе ÑайлÑ, МеПбÑ
|
---|
22 | ПЎОЌÑе ÐŽÐ»Ñ ÐŸÐ±ÑлÑÐ¶ÐžÐ²Ð°ÐœÐžÑ ÐºÐŸÐ»Ð»ÐµÐºÑОО, пПЌеÑеМÑ, ÑÑÐŸÐ±Ñ ÐŸÐœÐ° бÑла авÑПМПЌМПй. ÐОÑекÑПÑÐžÑ <i>httpassocdir</i>, кПÑПÑÐ°Ñ ÑвлÑеÑÑÑ ÑПй же ÑаЌПй, ÑÑП О <i>&#095httpcollection&#095/index/assoc</i>, ПбÑаÑаеÑÑÑ Ðº ÑÑПй ЎОÑекÑПÑОО. ÐÐ»Ñ Ð»ÑбПгП ЎПкÑЌеМÑа ÑЌеМÑÑеММПе О пПлМПе ОзПбÑажеМОе МаÑ
|
---|
23 | ПЎÑÑÑÑ Ð² пПЎЎОÑекÑПÑОО, ÐžÐŒÑ ÐºÐŸÑПÑПй ПпÑеЎелÑеÑÑÑ <i>assocfilepath</i>. ÐеÑаЎаММÑе ÑлеЌеМÑа <i>thumbicon</i> ЎаÑÑ Ð¿ÐŸÐ»ÐœÐŸÐµ ПпОÑаМОе пÑÑО к ÑЌеМÑÑÐµÐœÐœÐŸÐŒÑ ÐžÐ·ÐŸÐ±ÑÐ°Ð¶ÐµÐœÐžÑ Ðž ЌПгÑÑ ÐžÑпПлÑзПваÑÑÑÑ ÑеЌ же ÑаЌÑÐŒ ПбÑазПЌ, ÑÑП О <i>srcicon</i> (ÑÐŒ. ЎеЌПМÑÑÑаÑОПММÑе кПллекÑОО MS Word О PDF). <p> ÐÑПÑПй ПпеÑаÑÐŸÑ ÑПÑЌаÑа в кПМÑОгÑÑаÑОПММПЌ Ñайле, <i>DocumentText</i>, ПпÑеЎелÑеÑ, как ÑÐ»ÐµÐŒÐµÐœÑ Ð¿ÐŸÑвлÑеÑÑÑ, О <a href="?a=d&d=_sampleoid_">ÑÑÐŸÑ Ð¿ÑОЌеÑ</a> ÑвлÑеÑÑÑ ÑезÑлÑÑаÑПЌ. ТекÑÑ ÐŽÐŸÐºÑЌеМÑа ПÑÑÑÑÑÑвÑÐµÑ (еÑлО Ð±Ñ ÐŸÐœ бÑл, ÑП ПМ Ð±Ñ Ð¿ÑПОзвПЎОлÑÑ [ТекÑÑПЌ] [Text]. ТП, ÑÑП пПказаМП, ÑвлÑеÑÑÑ ÐœÐµÐ¿ÐŸÑÑеЎÑÑвеММП ОзПбÑажеМОеЌ вЌеÑÑе Ñ ÐœÐµÐºÐŸÑПÑÑЌО ЌеÑаЎаММÑЌО, ОзвлеÑеММÑЌО Оз МегП. <p> ÐПМÑОгÑÑаÑОПММÑй Ñайл ПпÑеЎелÑÐµÑ ÐŸÐŽÐžÐœ клаÑÑОÑОкаÑÐŸÑ -- <i>List</i>, ПÑМПваММÑй Ма ЌеÑаЎаММÑÑ
|
---|
24 | <i>Image</i>, кПÑПÑÑй пПказаМ <a href="?a=d&cl=CL1">зЎеÑÑ</a>. ÐпеÑаÑÐŸÑ ÑПÑЌаÑа пПказÑÐ²Ð°ÐµÑ ÑЌеМÑÑеММПе ОзПбÑажеМОе вЌеÑÑе Ñ ÐœÐµÐºÐŸÑПÑÑЌО ЌеÑаЎаММÑЌО (лÑбÑе ÐŽÑÑгОе клаÑÑОÑОкаÑПÑÑ ÐžÐŒÐµÐ»Ðž Ð±Ñ ÑÐŸÑ Ð¶Ðµ ÑаЌÑй ÑПÑЌаÑ, Ñак как ÑÑÐŸÑ ÐŸÐ¿ÐµÑаÑÐŸÑ ÐœÐµ МазÑÐ²Ð°ÐµÑ ÐºÐ»Ð°ÑÑОÑОкаÑПÑ). <p> ÐÑ ÐŒÐŸÐ¶ÐµÑе ÑпÑПÑОÑÑ, пПÑÐµÐŒÑ ÑЌеМÑÑеММПе ОзПбÑажеМОе геМеÑОÑÑеÑÑÑ Ðž ÑПÑ
|
---|
25 | ÑаМÑеÑÑÑ ÑвМП, кПгЎа ÑÐŸÑ Ð¶Ðµ ÑаЌÑй ÑÑÑÐµÐºÑ ÐŒÐŸÐ³ Ð±Ñ Ð±ÑÑÑ Ð¿ÐŸÐ»ÑÑеМ пÑО ОÑпПлÑзПваМОО ПÑОгОМалÑМПгП ОзПбÑÐ°Ð¶ÐµÐœÐžÑ Ðž ЌаÑÑÑабОÑПваМОО егП: <br> <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> ÐÑОÑОМа ÑПÑÑÐŸÐžÑ Ð² ÑПЌ, ÑÑÐŸÐ±Ñ ÑПÑ
|
---|
26 | ÑаМОÑÑ Ð¿ÐŸÐ»ÐŸÑÑ Ð¿ÑПпÑÑÐºÐ°ÐœÐžÑ ÑвÑзО, Ме пПÑÑÐ»Ð°Ñ Ð±ÐŸÐ»ÑÑОе ОзПбÑажеМОÑ, кПгЎа ЌалеМÑкОе ЎелаÑÑ ÑП же. <p> ÐПлее ОÑÑеÑпÑваÑÑÑÑ ÐºÐŸÐ»Ð»ÐµÐºÑÐžÑ ÐžÐ·ÐŸÐ±ÑажеМОй ÑЌПÑÑОÑе в <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a> в ÐПвПзелаМЎÑкПй ЊОÑÑПвПй ÐОблОПÑеке. СÑÑÑкÑÑÑа ÑÑПй кПллекÑОО веÑÑЌа ПÑлОÑаеÑÑÑ, пПÑкПлÑÐºÑ ÑÑП О кПллекÑÐžÑ Web-ÑÑÑаМОÑ, кПÑПÑÐ°Ñ Ð²ÐºÐ»ÑÑÐ°ÐµÑ ÐŒÐœÐŸÐ³ÐŸ ОзПбÑажеМОй МаÑÑÐŽÑ Ñ ÑекÑÑПЌ. ÐлагОМ <i>HTMLPlugin</i> Ñакже ПбÑабаÑÑÐ²Ð°ÐµÑ ÑÐ°Ð¹Ð»Ñ ÐžÐ·ÐŸÐ±ÑажеМОй, МП ÐŽÐµÐ»Ð°ÐµÑ ÑÑП Ñак ÐŽÑÑгОЌ ÑпПÑПбПЌ, ÑеЌ ImagePlugin (МпÑОЌеÑ, ПМ Ме геМеÑОÑÑÐµÑ ÐŒÐµÑаЎаММÑе, ПпОÑаММÑе вÑÑе). <p> </displayItem
|
---|
27 | ><displayItem name="description" lang="en"
|
---|
28 | >This is a basic image collection that contains no text and no explicit metadata. Several JPEG files are placed in the import directory prior to importing and building the collection, that's all. <p> The images in this collection have been produced by members of the Department of Computer Science, University of Waikato. The University of Waikato holds copyright. They may be distributed freely, without any restrictions. <h3>How the collection works</h3> <p> <a href="?a=d&d=_sampleoid_">Here</a> is a sample document in the collection. The <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg> configuration file</a> specifies no indexes, so the search button is suppressed. <p> There is only one plugin, <i>ImagePlugin</i>, aside from the four that are always present (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> relies on the existence of two programs from the ImageMagick suite (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>): <i>convert</i> and <i>identify</i>. Greenstone will not be able to build the collection correctly unless ImageMagick is installed on your computer. <p> <i>ImagePlugin</i> automatically creates a thumbnail and generates the following metadata for each image in the collection: <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td>Name of file containing the image <tr> <tr><td valign=top><i>ImageWidth</i></td><td>Width of image (in pixels) <tr> <tr><td valign=top><i>ImageHeight</i></td><td>Height of image (in pixels) <tr> <tr><td valign=top><i>Thumb</i></td><td> Name of gif file containing thumbnail of image <tr> <tr><td valign=top><i>ThumbWidth</i></td><td>Width of thumbnail image (in pixels) <tr> <tr><td valign=top><i>ThumbHeight</i></td><td>Height of thumbnail image (in pixels) <tr> <tr><td valign=top><i>thumbicon</i></td><td>Full pathname specification of thumbnail image <tr> <tr><td valign=top><i>assocfilepath</i></td><td>Pathname of image directory in the collection's <i>assoc</i> directory <tr> </table> </blockquote> <p> The image is stored as an "associated file" in the <i>assoc</i> subdirectory of the collection's <i>index</i> directory. (<i>Index</i> is where all files necessary to serve the collection are placed, to make it self-contained.) The pathname &#095;<i>httpassocdir</i>&#095;, which is the same as &#095;<i>httpcollection</i>&#095;<i>/index/assoc</i>, refers to this directory. For any document, its thumbnail and image are both in a subdirectory whose filename is given by <i>assocfilepath</i>. The metadata element <i>thumbicon</i> is set to the full pathname specification of the thumbnail image, and can be used in the same way as <i>srcicon</i> (see the MSWord and PDF demonstration collection). <p> The second format statement in the <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>configuration file</a>, <i>DocumentText</i>, dictates how the document will appear, and <a href="?a=d&d=_sampleoid_">this</a> is the result. There is no document text (if there were, it would be producible by [<i>Text</i>]). What is shown is the image itself, along with some metadata extracted from it. <p> The configuration file specifies one classifier, a <i>List</i> based on <i>Image</i> metadata, shown <a href="?a=d&cl=CL1">here</a>. The format statement shows the thumbnail image along with some metadata. (Any other classifiers would have the same format, since this statement does not name the classifier.) <p> You may wonder why the thumbnail image is generated and stored explicitly, when the same effect would be obtained by using the original image and scaling it: <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p> The reason is to save communication bandwidth by not sending large images when small ones would do. <p>For a more comprehensive image collection, see the <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a> in the New Zealand Digital Library. The structure of this collection is quite different, however: it is a collection of web pages that include many images along with the text. The HTML plugin <i>HTMLPlugin</i> also processes image files, but it does so in a different way from ImagePlugin (for example, it does not produce the metadata described above). </displayItem
|
---|
29 | ><displayItem name="description" lang="fr"
|
---|
30 | > C'est une collection d'images de base qui ne contient ni texte ni méta-donnée explicite. Plusieurs fichiers JPEG sont placés dans dans le répertoire "import" avant toute importation et toute création de la collection. C'est tout. <p> Les images de cette collection ont été produites par des membres du Department of Computer Science, de l'Université de Waikato. L'Université de Waikato en détient le copyright. Elles peuvent être distribuées librement, sans aucune restriction. <h3>Comment fonctionne cette collection ?</h3> <p> <a href="?a=d&d=_sampleoid_">Voici</a> un document test dans la collection. Le <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg> fichier de configuration</a> ne spécifie aucun index, ainsi le bouton de recherche est supprimé. <p> Il n'y a qu'un seul plugin, <i>ImagePlugin</i>, à cÎté des quatre qui sont toujours présents (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> dépend de deux programmes de la suite ImageMagick (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>): <i>convert</i> et <i>identify</i>. Greenstone ne sera pas en mesure de créer la collection sans l'installation de ImageMagick sur votre ordinateur. <p> <i>ImagePlugin</i> crée automatiquement une vignette d'image et génÚre les méta-données suivantes pour chaque image dans la collection : <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td>Nom de fichier contenant l'image<tr> <tr><td valign=top><i>ImageWidth</i></td><td>Largeur de l'image(en pixels)<tr> <tr><td valign=top><i>ImageHeight</i></td><td>Hauteur de l'image(en pixels)<tr> <tr><td valign=top><i>Thumb</i></td><td>Nom de fichier gif contenant la vignette de l'image<tr> <tr><td valign=top><i>ThumbWidth</i></td><td>Largeur de la vignette d'image (en pixels)<tr> <tr><td valign=top><i>ThumbHeight</i></td><td>Hauteur de la vignette d'image (en pixels)<tr> <tr><td valign=top><i>Thumbicon</i></td><td>Spécification entiÚre du chemin de la vignette d'image <tr> <tr><td valign=top><i>assocfilepath</i></td><td>Chemin du répertoire de l'image dans le dossier <i>assoc</i> de la collection<tr> </table> </blockquote> <p> L'image est stockée en tant que "associated file" (fichier associé) du sous-répertoire <i>assoc</i> du répertoire <i>index</i> de la collection. (<i>Index</i> est le lieu de stockage de tous les fichiers nécessaires à la collection pour en assurer la consistance. Le chemin _<i>httpassocdir</i>_ qui est le même que _<i>httpcollection</i>_<i>/index/assoc</i> fait référence à ce répertoire. Pour tout document, la vignette et l'image sont tous les deux dans un sous répertoire dont le nom de fichier est donné par <i>assocfilepath</i>. L'élément de méta-donnée <i>thumbicon</i> est prend la valeur de du chemin complet de la vignette de l'image et peut être utilisé de la même façon que <i>srcicon</i> (voir la collection de démonstration MSWord et PDF). <p> La seconde déclaration de format dans le <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>fichier de configuration</a>, <i>DocumentText</i>, impose la maniÚre dont le document est affiché; <a href="?a=d&d=_sampleoid_">voici</a> le résultat. Il n'existe aucun texte de document (si tel était le cas, il serait produit par <i>[Text]</i>). Ce qui est affiché est l'image elle-même, avec quelques méta-données qui en sont extraites. <p> Le fichier de configuration spécifie un classificateur, une <i>List</i> basée sur la méta-donnée <i>image</i>, comme indiqué <a href="?a=d&cl=CL1">ici</a>. La déclaration de format montre la vignette d'image avec quelques méta-données (Tous les autres classificateurs auraient le même format, dÚs lors que la déclaration ne fait mention d'aucun classificateur). <p> On peut se demander pourquoi la vignette d'image est produite et stockée explicitement alors que le même effet serait obtenu en utilisant l'image originale et en la dessinant à l'échelle: <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p> La raison est que pour économiser de la bande passante, il est préférable d'envoyer des images de petite taille. <p> Pour une collection d'images plus complÚte, consulter <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">Kiwi aircraft images</a> dans la bibliothÚque numérique de Nouvelle Zélande. La structure de cette collection est cependant tout à fait différente : c'est une collection de pages web qui comprennent beaucoup d'images avec du texte. Le plugin HTML, <i>HTMLPlugin</i> traite aussi des fichiers d'images mais de maniÚre différente que ImagePlugin (par exemple, il ne produit pas la méta-donnée décrite ci-dessus). </displayItem
|
---|
31 | ><displayItem name="description" lang="es"
|
---|
32 | > Esta es una colección básica de imágenes sin texto ni ningún metadato explÃcito. Varios archivos JPEG se colocan en un directorio especÃfico antes de importar y construir la colección. Eso es todo. <p> Las imágenes en esta colección han sido producidas por miembros del Departamento de Ciencias de la Computación, de la Universidad de Waikato. La Universidad de Waikato tiene el copyright. Ellas pueden distribuirse libremente, sin ninguna restricción. <h3>Cómo trabaja esta colección</h3> <p> Se puede <a href="?a=d&d=_sampleoid_">ver aquÃ</a> un documento de muestra de la colección. El <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>archivo de configuración</a> no especifica ningún Ãndice, por lo que el botón de búsqueda se suprime. <p> Sólo hay un plugin, <i>ImagePlugin</i>, además de los cuatro que siempre están presentes (<i>GreenstoneXMLPlugin, MetadataXMLPlugin, ArchivesInfPlugin, DirectoryPlugin</i>). <i>ImagePlugin</i> se basa en la existencia de dos programas del paquete de software ImageMagick (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>): <i>convert</i> e <i>identify</i>. Greenstone no podrá construir correctamente la colección a menos que ImageMagick esté instalado en su computadora. <p> <i>ImagePlugin</i> crea automáticamente una miniatura de la imagen y genera los siguientes metadatos para cada imagen de la colección: <p> <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td> Nombre del archivo que contiene la imagen. <tr> <tr><td valign=top><i>ImageWidth</i></td><td> Ancho de la imagen (en pixeles). <tr> <tr><td valign=top><i>ImageHeight</i></td><td> Altura de la imagen (en pixeles). <tr> <tr><td valign=top><i>Thumb</i></td><td> Nombre del archivo gif que contiene la miniatura de la imagen. <tr> <tr><td valign=top><i>ThumbWidth</i></td><td> Ancho de la imagen reducida (en pixeles). <tr> <tr><td valign=top><i>ThumbHeight</i></td><td> Altura de la imagen reducida (en pixeles). <tr> <tr><td valign=top><i>thumbicon</i></td><td> Especificación del nombre de la ruta de acceso completo de la imagen reducida. <tr> <tr><td valign=top><i>assocfilepath</i></td><td> Nombre de la ruta de acceso del directorio de imágenes en el directorio asociado de la colección. <tr> </table> </blockquote> <p> La imagen se guarda como "archivo asociado" en el subdirectorio <i>assoc</i> del directorio <i>index</i> de la colección. (<i>Index</i> es el lugar donde todos los archivos necesarios para la colección se colocan con el fin de hacerla autocontenida.) El nombre de la ruta de acceso <i>_httpassocdir_</i> es el mismo que <i>_httpcollection_/index/assoc</i> y remite a este directorio. Para cualquier documento tanto la miniatura como la imagen están en un subdirectorio cuyo nombre de archivo es dado por <i>assocfilepath</i>. El elemento de metadato <i>thumbicon</i> tiene como valor la ruta completa a la imagen miniatura y puede usarse de la misma manera que <i>srcicon</i> (véase la colección de muestra en MSWord y PDF). <p> El segundo enunciado de formato en el <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>archivo de configuración</a>, <i>DocumentText</i>, dicta la forma en que aparecerá el documento. <a href="?a=d&d=_sampleoid_">Ãste</a> es el resultado. No hay texto (en caso de que hubiera, se podrÃa producir por medio de [<i>Text</i>]). Lo que se muestra es la imagen junto con algunos metadatos extraÃdos de ella. <p> El archivo de configuración especifica un clasificador, <i>List</i>, basado en el metadato <i>Image</i>, tal como se muestra <a href="?a=d&cl=CL1">aquÃ</a>. La cadena de formateo muestra la imagen reducida junto con algunos metadatos. (Cualquier otro clasificador tendrÃa el mismo formato, ya que esta cadena no especifica a ningún clasificador en particular.) <p> Tal vez se preguntará por qué se genera y guarda la imagen reducida de manera explÃcita, cuando se podrÃa obtener el mismo efecto usando la imagen original y escalándola: <p> <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p> La razón es que de esta manera se ahorra ancho de banda en la comunicación al no enviar imágenes de gran tamaño cuando se pueden enviar pequeñas. <p> Para conocer una colección de imágenes más completa, consulte la <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a> de la Biblioteca Digital de Nueva Zelanda. Sin embargo, la estructura de esta colección es muy diferente. Se trata de una colección de páginas Web que incluye muchas imágenes junto con el texto. El plugin <i>HTMLPlugin</i> también procesa archivos de imágenes, pero lo hace de manera diferente a ImagePlugin (por ejemplo, no produce los metadatos descritos arriba). <p> </displayItem
|
---|
33 | ><displayItem name="description" lang="zh"
|
---|
34 | > è¿æ¯äžäžªåºæ¬çåŸçéŠèïŒäžå
|
---|
35 | å«ä»»äœææ¬ä»¥åéå±å
|
---|
36 | æ°æ®ãåšå¯Œå
|
---|
37 | ¥æå»ºéŠèä¹åïŒåšimportç®åœäžååšå 䞪JPEGæä»¶ïŒå°±è¿äºã <p>æ¬éŠèäžçåŸçç±æå¡æå€§åŠè®¡ç®æºç³»çæåæææäŸãæå¡æå€§åŠæ¥æè¿äºæä»¶ççæãè¿äºæä»¶å¯èªç±ååžïŒæ²¡æä»»äœéå¶ã <h3>æ¬éŠèåŠäœå·¥äœ</h3> <p><a href="?a=d&d=_sampleoid_">è¿é</a>æ¯æ¬éŠèäžçäžäžªææ¡£ç€ºèã<a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>é
|
---|
38 | 眮æä»¶</a>äžæ²¡ææå®çŽ¢åŒïŒå æ€æ²¡ææçŽ¢æé®ã <p>æ¬éŠèåªæäžäžªæä»¶ïŒ<i>ImagePlugin</i>ïŒä»¥åæ°žè¿é
|
---|
39 | 眮奜çå䞪æ åæä»¶ïŒ<i>GreenstoneXMLPlugin</i>ïŒ<i>MetadataXMLPlugin</i>ïŒ<i>ArchivesInfPlugin</i>ïŒ<i>DirectoryPlugin</i>ïŒã<i>ImagePlugin</i>äŸèµäºäž€äžªæºèªImageMagickçå€éšèœ¯ä»¶(<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>)ïŒ<i>convert</i>å<i>identify</i>ãåŠæImageMagick没æè¢«æ£åžžå®è£
|
---|
40 | ïŒGreenstoneå°äžèœæ£åžžæå»ºéŠèã <p><i>ImagePlugin</i>èªåšå建äžäžªçŒ©åŸå¹¶äžºæ¯äžªåŸçå建以äžå
|
---|
41 | æ°æ®ïŒ <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td>å
|
---|
42 | å«åŸççæä»¶å <tr> <tr><td valign=top><i>ImageWidth</i></td><td>åŸç宜床ïŒä»¥åçŽ äžºåäœïŒ<tr> <tr><td valign=top><i>ImageHeight</i></td><td>åŸçé«åºŠïŒä»¥åçŽ äžºåäœïŒ<tr> <tr><td valign=top><i>Thumb</i></td><td>å
|
---|
43 | å«åŸç猩åŸçgifæä»¶å<tr> <tr><td valign=top><i>ThumbWidth</i></td><td>猩åŸå®œåºŠïŒä»¥åçŽ äžºåäœïŒ<tr> <tr><td valign=top><i>ThumbHeight</i></td><td>猩åŸå®œåºŠïŒä»¥åçŽ äžºåäœïŒ<tr> <tr><td valign=top><i>thumbicon</i></td><td>猩åŸç宿Žè·¯åŸ<tr> <tr><td valign=top><i>assocfilepath</i></td><td>éŠèäž<i>assoc</i>ç®åœçäžçimageç®åœè·¯åŸ<tr> </table> </blockquote> <p>è¿äžªåŸçå°ä»¥"associated file"ïŒé屿件ïŒç圢åŒååšåš<i>index</i>ç®åœç<i>assoc</i>åç®åœäžãïŒ<i>Index</i>ç®åœå
|
---|
44 | å«äºéŠèææçæææä»¶ïŒä»¥äŸ¿è®©å
|
---|
45 | ¶å
|
---|
46 | å«å®æŽçä¿¡æ¯ãïŒè·¯åŸå&#095;<i>httpassocdir</i>&#095;ïŒçåäº&#095;<i>httpcollection</i>&#095;<i>/index/assoc</i>ïŒéœæåè¿äžªç®åœã对äºä»»äžææ¡£ïŒå
|
---|
47 | ¶çŒ©åŸäžåŸçéœå°ä¿ååšäžäžªåç®åœäžïŒè¯¥åç®åœçæä»¶åç±<i>assocfilepath</i>æå®ãå
|
---|
48 | æ°æ®å
|
---|
49 | çŽ <i>thumbicon</i>被讟䞺猩åŸåŸçç宿Žè·¯åŸåïŒå¹¶å¯æçš<i>srcicon</i>çæ¹åŒäœ¿çšïŒåè§åŸ®èœ¯WordäžPDFæŒç€ºéŠèïŒã <p><a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>é
|
---|
50 | 眮æä»¶</a>äžç第äºäžªæ ŒåŒååæ°ïŒ<i>DocumentText</i>ïŒæå®åŠäœæŸç€ºææ¡£ïŒåŠ<a href="?a=d&d=_sampleoid_">è¿é</a>æç€ºãè¿é没æä»»äœææ¬ïŒåŠææçè¯ïŒææ¬å°ç±[<i>Text</i>]æäŸïŒãè¿éæŸç€ºçåªæ¯åŸçæ¬èº«ïŒä»¥åäžäºä»äžæœååºçå
|
---|
51 | æ°æ®ã <p>é
|
---|
52 | 眮æä»¶æå®äºäžäžªåç±»åšïŒäžäžªåºäº<i>åŸç</i>å
|
---|
53 | æ°æ®ç<i>List</i>ïŒåŠ<a href="?a=d&cl=CL1">è¿é</a>æç€ºãæ ŒåŒååæ°æŸç€ºçŒ©åŸä»¥åäžäºå
|
---|
54 | æ°æ®ãïŒææåç±»åšçæ ŒåŒéœæ¯çžåçïŒå 䞺è¿äžªæ ŒåŒåæ°å¹¶æ²¡ææå®åç±»åšåãïŒ <p>äœ å¯èœæ³é®éè¿çŒ©æŸååŸå³å¯åŸå°ææçæ
|
---|
55 | åµäžïŒäžºä»ä¹è¿èŠç¹å«ççæåååšçŒ©åŸïŒ <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p>åå æ¯äžºäºèç垊宜ïŒå³åšå¯ä»¥åéå°åŸççæ
|
---|
56 | åµå°ïŒäžåé倧çåŸçã <p>æŽå€æçåŸçéŠèå¯åè§æ°è¥¿å
|
---|
57 | °æ°ååŸä¹ŠéŠäžç<a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a>éŠèãç¶èïŒè¿äžªéŠèçç»ææåŸå€§å·®å«ïŒå®å
|
---|
58 | å«äºè®žå€éåžŠææ¬çåŸçãHTMLæä»¶<i>HTMLPlugin</i>ä¹å¯å€çåŸçæä»¶ïŒäœæ¯å
|
---|
59 | ¶å€çæ¹åŒæå«äºImagePluginïŒæ¯åŠå®äžäŒçæäžè¿°è¿äºå
|
---|
60 | æ°æ®ïŒã </displayItem
|
---|
61 | ><displayItem name="name" lang="ru"
|
---|
62 | >ÐÑПÑÑÐ°Ñ ÐºÐŸÐ»Ð»ÐµÐºÑÐžÑ ÐžÐ·ÐŸÐ±ÑажеМОй</displayItem
|
---|
63 | ><displayItem name="name" lang="en"
|
---|
64 | >Simple image collection</displayItem
|
---|
65 | ><displayItem name="name" lang="fr"
|
---|
66 | >Collection d'images simple</displayItem
|
---|
67 | ><displayItem name="name" lang="es"
|
---|
68 | >Colección simple de imágenes</displayItem
|
---|
69 | ><displayItem name="name" lang="zh"
|
---|
70 | >ç®ååŸçéŠè</displayItem
|
---|
71 | ><displayItem name="Size" lang="ru"
|
---|
72 | >РазЌеÑ</displayItem
|
---|
73 | ><displayItem name="Size" lang="en"
|
---|
74 | >Size</displayItem
|
---|
75 | ><displayItem name="Size" lang="fr"
|
---|
76 | >Taille</displayItem
|
---|
77 | ><displayItem name="Size" lang="es"
|
---|
78 | >Tamaño</displayItem
|
---|
79 | ><displayItem name="Size" lang="zh"
|
---|
80 | >倧å°</displayItem
|
---|
81 | ><displayItem name="Height" lang="ru"
|
---|
82 | >ÐÑÑПÑа</displayItem
|
---|
83 | ><displayItem name="Height" lang="en"
|
---|
84 | >Height</displayItem
|
---|
85 | ><displayItem name="Height" lang="fr"
|
---|
86 | >Hauteur</displayItem
|
---|
87 | ><displayItem name="Height" lang="es"
|
---|
88 | >Altura</displayItem
|
---|
89 | ><displayItem name="Height" lang="zh"
|
---|
90 | >é«åºŠ</displayItem
|
---|
91 | ><displayItem name="Width" lang="ru"
|
---|
92 | >КОÑОМа</displayItem
|
---|
93 | ><displayItem name="Width" lang="en"
|
---|
94 | >Width</displayItem
|
---|
95 | ><displayItem name="Width" lang="fr"
|
---|
96 | >Largeur</displayItem
|
---|
97 | ><displayItem name="Width" lang="es"
|
---|
98 | >Ancho</displayItem
|
---|
99 | ><displayItem name="Width" lang="zh"
|
---|
100 | >宜床</displayItem
|
---|
101 | ><displayItem name="ImageName" lang="ru"
|
---|
102 | >ÐÐŒÑ ÐžÐ·ÐŸÐ±ÑажеМОÑ</displayItem
|
---|
103 | ><displayItem name="ImageName" lang="en"
|
---|
104 | >Image Name</displayItem
|
---|
105 | ><displayItem name="ImageName" lang="fr"
|
---|
106 | >Nom d'image</displayItem
|
---|
107 | ><displayItem name="ImageName" lang="es"
|
---|
108 | >TÃtulo de la imagen</displayItem
|
---|
109 | ><displayItem name="ImageName" lang="zh"
|
---|
110 | >åŸçå</displayItem
|
---|
111 | ><displayItem name="sampleoid" lang="en"
|
---|
112 | >D2</displayItem
|
---|
113 | ></displayItemList
|
---|
114 | ><search type="mgpp"
|
---|
115 | ><defaultIndex name=""
|
---|
116 | /><level name="document"
|
---|
117 | ></level
|
---|
118 | ><defaultLevel name="document"
|
---|
119 | /><format
|
---|
120 | ><gsf:template match="documentNode"
|
---|
121 | ><td valign='top'><gsf:link type='source'><gsf:metadata name='thumbicon' /></gsf:link></td> <td valign='top'><gsf:displayText name="ImageName"/>: <gsf:metadata name="Image"/><br/><gsf:displayText name="Width"/>: <gsf:metadata name="ImageWidth"/><br/><gsf:displayText name="Height"/>: <gsf:metadata name="ImageHeight"/><br/><gsf:displayText name="Size"/>: <gsf:metadata name="ImageSize"/></td></gsf:template
|
---|
122 | ></format
|
---|
123 | ></search
|
---|
124 | ><import
|
---|
125 | ><pluginList
|
---|
126 | ><plugin name="ImagePlugin"
|
---|
127 | ><option name="-OIDtype" value="incremental"
|
---|
128 | ></option
|
---|
129 | ></plugin
|
---|
130 | ><plugin name="GreenstoneXMLPlugin"
|
---|
131 | ></plugin
|
---|
132 | ><plugin name="MetadataXMLPlugin"
|
---|
133 | ></plugin
|
---|
134 | ><plugin name="ArchivesInfPlugin"
|
---|
135 | ></plugin
|
---|
136 | ><plugin name="DirectoryPlugin"
|
---|
137 | ></plugin
|
---|
138 | ></pluginList
|
---|
139 | ></import
|
---|
140 | ><browse
|
---|
141 | ><format
|
---|
142 | ><gsf:template match="documentNode"
|
---|
143 | ><td valign='top'><gsf:link type='source'><gsf:metadata name='thumbicon' /></gsf:link></td> <td valign='top'><gsf:displayText name="ImageName"/>: <gsf:metadata name="Image"/><br/><gsf:displayText name="Width"/>: <gsf:metadata name="ImageWidth"/><br/><gsf:displayText name="Height"/>: <gsf:metadata name="ImageHeight"/><br/><gsf:displayText name="Size"/>: <gsf:metadata name="ImageSize"/></td></gsf:template
|
---|
144 | ><gsf:template match="classifierNode"
|
---|
145 | ><td valign='top'><gsf:link type='classifier'><gsf:metadata name='thumbicon' /></gsf:link></td> <td valign='top'><gsf:displayText name="ImageName"/>: <gsf:metadata name="Image"/><br/><gsf:displayText name="Width"/>: <gsf:metadata name="ImageWidth"/><br/><gsf:displayText name="Height"/>: <gsf:metadata name="ImageHeight"/><br/><gsf:displayText name="Size"/>: <gsf:metadata name="ImageSize"/></td></gsf:template
|
---|
146 | ><gsf:template match="classifierNode" mode="horizontal"
|
---|
147 | ><gsf:link type='horizontal'><gsf:metadata name='Title' /></gsf:link></gsf:template
|
---|
148 | ></format
|
---|
149 | ><classifier name="List"
|
---|
150 | ><option name="-metadata" value="Image"
|
---|
151 | ></option
|
---|
152 | ><option name="-buttonname" value="Browse"
|
---|
153 | ></option
|
---|
154 | ><option name="-partition_type_within_level" value="approximate_size"
|
---|
155 | ></option
|
---|
156 | ></classifier
|
---|
157 | ></browse
|
---|
158 | ><replaceListRef id="gs2-standard"
|
---|
159 | /><replaceListRef id="gs2-image"
|
---|
160 | />
|
---|
161 | <serviceRackList>
|
---|
162 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
163 | <serviceRack name="OAIPMH">
|
---|
164 | <ListMetadataFormats>
|
---|
165 | <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
166 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
167 | -->
|
---|
168 | <metadataFormat metadataPrefix="oai_dc">
|
---|
169 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
170 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
171 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
|
---|
172 | <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>-->
|
---|
173 | <mappingList>
|
---|
174 | <!--
|
---|
175 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
176 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
177 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
178 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
179 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
180 |
|
---|
181 | **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
|
---|
182 |
|
---|
183 | **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
|
---|
184 | -->
|
---|
185 | <mapping>dc.Title,Title</mapping>
|
---|
186 | <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
|
---|
187 | </mappingList>
|
---|
188 | </metadataFormat>
|
---|
189 | </ListMetadataFormats>
|
---|
190 | </serviceRack>
|
---|
191 | </serviceRackList>
|
---|
192 | </CollectionConfig
|
---|
193 | >
|
---|