source: collections/documented-examples/trunk/wiki-e/etc/collect.cfg@ 19359

Last change on this file since 19359 was 19359, checked in by anna, 15 years ago

Spanish translations of the documented example collections. Many thanks to Diego Spano.

  • Property svn:executable set to *
File size: 5.5 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5buildtype mgpp
6
7#indexes document:text document:Title document:Source
8indexes text Title Source
9defaultindex text
10
11levels document
12
13plugin GreenstoneXMLPlugin
14plugin PDFPlugin
15plugin WordPlugin
16plugin NulPlugin
17plugin MediaWikiPlugin -searchbox_div_exp <div([^>]*)id=(\"|')p-search(\"|')(.|\n)*?</div> -show_toc -delete_toc -remove_title_suffix_exp " - (.*)" -toc_exp <table([^>]*)id=(\"|')toc(\"|')(.|\n)*?</table>\n -nav_div_exp <div([^>]*)id=(\"|')p-navigation(\"|')(.|\n)*?</div> -delete_searchbox -delete_nav
18plugin MetadataXMLPlugin
19plugin ArchivesInfPlugin
20plugin DirectoryPlugin
21
22classify AZList -metadata Title
23classify AZList -metadata Source
24
25format VList "<td valign=\"top\">[link][icon][/link]</td>
26<td valign=\"top\">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
27<td valign=\"top\">[highlight]
28{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
29[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
30
31format HList "[link][highlight][ex.Title][/highlight][/link]"
32
33format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
34
35format DocumentText "[Text]"
36
37format DocumentButtons "Detach|Highlight"
38
39format SearchTypes "plain"
40
41collectionmeta .text "_labeltext_"
42collectionmeta .Title "_labeltitle_"
43collectionmeta .Source "_labelSource_"
44
45# -- English text ----------------
46collectionmeta collectionname [l=en] "MediaWiki collection"
47collectionmeta collectionextra [l=en] "
48This demonstration collection is made from the Greenstone Wiki website.
49It shows off the new feature of building a Greenstone collection from a
50MediaWiki website in Greestone.
51
52<h3>How the collection works</h3>
53
54<p>
55The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>collection
56 configuration file</a> contains the plugins <i>MediaWikiPlugin</i>,
57<i>ImagePlugin</i>, <i>ZipPlugin</i>, <i>PDFPlugin</i>,
58<i>PowerPointPlugin</i>, <i>WordPlugin</i> (along with the standard
59plugins <i>GreenstoneXMLPlugin</i>, <i>ArchivesInfPlugin</i> and
60<i>DirectoryPlugin</i>). The <i>MediaWikiPlugin</i> handles the HTML pages
61downloaded from a MediaWiki website, while <i>ImagePlugin</i>,
62<i>ZipPlugin</i>, <i>PDFPlugin</i>, <i>PowerPointPlugin</i> and
63<i>WordPlugin</i> handle the image, zip, PDF, PowerPoint and Word
64files associated with the Greenstone Wiki.
65
66<p>
67To build a collection from a MediaWiki website, first download the wiki
68files using the <i>MediaWiki</i> option on the <i>Download</i> panel of GLI.
69This download type works in a similar way to a the <i>Web</i> download, but
70is specially designed for crawling MediaWiki websites.\n
71
72<p>Once the files are downloaded, copy them into a collection using the <i>Gather</i>, dragging them from the <i>Downloaded Files</i> folder in the Workspace tree on the left-hand side.
73
74<p>
75In the <i>Document Plugins</i> section of the <i>Design</i> panel,
76add <i>MediaWikiPlugin</i>. <i>MediaWikiPlugin</i> has several specific
77options which control aspects of page presentation, such as whether or not
78the table of contents, navigation toolbars and search box are shown on each
79page. Configure these options based on how you want the pages to appear. You can see the options used by this collection in its
80<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>collection
81 configuration file</a>.
82"
83
84# -- Spanish text ----------------
85collectionmeta collectionname [l=es] "MediaWiki collection"
86collectionmeta collectionextra [l=es] "
87Esta colección de demostración está hecha en base al sitio Wiki de Greenstone.
88Muestra la nueva característica que permite la construcción de una colección de Greenstone desde el sitio MediaWiki de Greenstone.
89
90<h3>Cómo funciona la colección</h3>
91
92<p>
93El <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración de la colección</a> contiene los plugins <i>MediaWikiPlugin</i>,
94<i>ImagePlugin</i>, <i>ZipPlugin</i>, <i>PDFPlugin</i>,
95<i>PowerPointPlugin</i>, <i>WordPlugin</i> (junto a los plugins estándar <i>GreenstoneXMLPlugin</i>, <i>ArchivesInfPlugin</i> y
96<i>DirectoryPlugin</i>). El <i>MediaWikiPlugin</i> manipula páginas HTML descargadas desde el sitio MediaWiki, mientras que <i>ImagePlugin</i>,
97<i>ZipPlugin</i>, <i>PDFPlugin</i>, <i>PowerPointPlugin</i> y
98<i>WordPlugin</i> manejan los archivos de imágenes, los zip, PDF, PowerPoint y Word
99asociados con la Wiki de Greenstone.
100
101<p>
102Para construir una colección desde el sitio MediaWiki, primero descargue los archivos del wiki usando la opción <i>MediaWiki</i> en el panel <i>Descarga</i> del GLI.
103Este tipo de descarga funciona de manera similar a la descarga <i>Web</i>, pero está diseñado específicamente para incursionar sitios MediaWiki.\n
104
105<p>Una vez que los archivos fueron descargados, copielos en la colección usando el panel <i>Reunir</i>, arrastrándolos desde la carpeta <i>Archivos descargados</i> en el árbol izquierdo del espacio de trabajo del GLI.
106
107<p>
108En la sección <i>Plugins del documento</i> del panel <i>Diseño</i>, agregue <i>MediaWikiPlugin</i>. <i>MediaWikiPlugin</i> tiene varias opciones específicas que controlan los aspectos de presentación de la página, tales como si se deben mostrar o no la tabla de contenidos, las barras de navegación y el recuadro de búsqueda en cada página. Configure estas opciones basándose en cómo quiere que aparezcan esas páginas. Puede ver las opciones usadas por esta colección en su <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración de la colección</a>.
109"
Note: See TracBrowser for help on using the repository browser.