1 | creator [email protected]
|
---|
2 | maintainer [email protected]
|
---|
3 | public true
|
---|
4 |
|
---|
5 | buildtype mgpp
|
---|
6 |
|
---|
7 | #indexes document:text document:Title document:Source
|
---|
8 | indexes text Title Source
|
---|
9 | defaultindex text
|
---|
10 |
|
---|
11 | levels document
|
---|
12 |
|
---|
13 | plugin GreenstoneXMLPlugin
|
---|
14 | plugin PDFPlugin
|
---|
15 | plugin WordPlugin
|
---|
16 | plugin NulPlugin
|
---|
17 | plugin MediaWikiPlugin -show_toc -toc_exp <table([^>]*)id=(\"|')toc(\"|')(.|\n)*?</table>\n -delete_nav -nav_div_exp <div([^>]*)id=(\"|')p-navigation(\"|')(.|\n)*?</div> -delete_toc -searchbox_div_exp <div([^>]*)id=(\"|')p-search(\"|')(.|\n)*?</div> -delete_searchbox -remove_title_suffix_exp " - (.*)"
|
---|
18 | plugin MetadataXMLPlugin
|
---|
19 | plugin ArchivesInfPlugin
|
---|
20 | plugin DirectoryPlugin
|
---|
21 |
|
---|
22 | classify AZList -metadata Title
|
---|
23 | classify AZList -metadata Source
|
---|
24 |
|
---|
25 | format 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 |
|
---|
31 | format HList "[link][highlight][ex.Title][/highlight][/link]"
|
---|
32 |
|
---|
33 | format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
|
---|
34 |
|
---|
35 | format DocumentText "[Text]"
|
---|
36 |
|
---|
37 | format DocumentButtons "Detach|Highlight"
|
---|
38 |
|
---|
39 | format SearchTypes "plain"
|
---|
40 |
|
---|
41 | collectionmeta .text [l=en] "_labeltext_"
|
---|
42 | collectionmeta .Title [l=en] "_labeltitle_"
|
---|
43 | collectionmeta .Source [l=en] "_labelSource_"
|
---|
44 |
|
---|
45 | # -- English text ----------------
|
---|
46 | collectionmeta collectionname [l=en] "MediaWiki collection"
|
---|
47 | collectionmeta collectionextra [l=en] "
|
---|
48 | This demonstration collection is made from the Greenstone Wiki website.
|
---|
49 | It shows off the new feature of building a Greenstone collection from a
|
---|
50 | MediaWiki website in Greestone.
|
---|
51 |
|
---|
52 | <h3>How the collection works</h3>
|
---|
53 |
|
---|
54 | <p>
|
---|
55 | The <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
|
---|
59 | plugins <i>GreenstoneXMLPlugin</i>, <i>ArchivesInfPlugin</i> and
|
---|
60 | <i>DirectoryPlugin</i>). The <i>MediaWikiPlugin</i> handles the HTML pages
|
---|
61 | downloaded 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
|
---|
64 | files associated with the Greenstone Wiki.
|
---|
65 |
|
---|
66 | <p>
|
---|
67 | To build a collection from a MediaWiki website, first download the wiki
|
---|
68 | files using the <i>MediaWiki</i> option on the <i>Download</i> panel of GLI.
|
---|
69 | This download type works in a similar way to a the <i>Web</i> download, but
|
---|
70 | is 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>
|
---|
75 | In the <i>Document Plugins</i> section of the <i>Design</i> panel,
|
---|
76 | add <i>MediaWikiPlugin</i>. <i>MediaWikiPlugin</i> has several specific
|
---|
77 | options which control aspects of page presentation, such as whether or not
|
---|
78 | the table of contents, navigation toolbars and search box are shown on each
|
---|
79 | page. 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 | # -- French text ----------------
|
---|
85 | collectionmeta collectionname [l=fr] "Collection d'éléments au format MediaWiki"
|
---|
86 | collectionmeta collectionextra [l=fr] "
|
---|
87 | Cette collection de démonstration est constituée à partir du site web du wiki Greenstone.
|
---|
88 | Elle montre la nouvelle possibilité de créer une collection Greenstone à partir d'un site web MediaWiki.
|
---|
89 |
|
---|
90 | <h3>Comment fonctionne la collection</h3>
|
---|
91 | <p>Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration de la collection</a>
|
---|
92 | contient les plugiciels <i>MediaWikiPlugin</i>, <i>ImagePlugin</i>, <i>ZipPlugin</i>, <i>PDFPlugin</i>,
|
---|
93 | <i>PowerPointPlugin</i>, <i>WordPlugin</i> (de même que les plugiciels standards <i>GreenstoneXMLPlugin</i>, <i>ArchivesInfPlugin</i>
|
---|
94 | et <i>DirectoryPlugin</i>). Le plugiciel <i>MediaWikiPlugin</i> traite les pages HTML téléchargées à partir d'un site MediaWiki,
|
---|
95 | tandis que les plugiciels <i>ImagePlugin</i>, <i>ZipPlugin</i>, <i>PDFPlugin</i>, <i>PowerPointPlugin</i> et <i>WordPlugin</i>
|
---|
96 | traitent les images, et les fichiers ZIP, PDF, PowerPoint et Word associés au Wiki Greenstone. <p>Pour construire une collection
|
---|
97 | à partir d'un site MediaWiki, il faut d'abord télécharger les fichiers du wiki en utilisant l'option <i>MediaWiki</i> du panneau
|
---|
98 | <i>Télécharger</i> du GLI. Ce type de téléchargement fonctionne d'une façon similaire au téléchargement <i>Web</i>, mais il est
|
---|
99 | spécialement conçu pour parcourir les sites MediaWiki.\n
|
---|
100 |
|
---|
101 | <p>Une fois que les fichiers sont téléchargés, il faut les copier dans une collection en utilisant l'onglet <i>Rassembler</i>,
|
---|
102 | en les faisant glisser du dossier <i>Fichiers téléchargés</i> dans l'arborescence de l'espace de travail, situé sur la gauche
|
---|
103 | de l'écran. <p>Dans la section <i>Document Plugins</i> du panneau <i>Concevoir</i>, ajoutez le plugiciel <i>MediaWikiPlugin</i>.
|
---|
104 | Le plugiciel <i>MediaWikiPlugin</i> a de nombreuses options spécifiques qui déterminent des aspects de la présentation des pages,
|
---|
105 | comme la présence ou non d'une table des matiÚres, l'affichage ou non de barres de navigation et de boîtes de recherche sur chaque
|
---|
106 | page. Configurez ces options en fonction de l'apparence que vous souhaitez pour vos pages. Vous pouvez voir les options utilisées
|
---|
107 | par cette collection dans son <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration de collection</a>.
|
---|
108 | "
|
---|
109 |
|
---|
110 | # -- Spanish text ----------------
|
---|
111 | collectionmeta collectionname [l=es] "MediaWiki collection"
|
---|
112 | collectionmeta collectionextra [l=es] "
|
---|
113 | Esta colección de demostración está hecha en base al sitio Wiki de Greenstone.
|
---|
114 | Muestra la nueva caracterÃstica que permite la construcción de una colección de Greenstone desde el sitio MediaWiki de Greenstone.
|
---|
115 |
|
---|
116 | <h3>Cómo funciona la colección</h3>
|
---|
117 |
|
---|
118 | <p>
|
---|
119 | El <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración de la colección</a> contiene los plugins <i>MediaWikiPlugin</i>,
|
---|
120 | <i>ImagePlugin</i>, <i>ZipPlugin</i>, <i>PDFPlugin</i>,
|
---|
121 | <i>PowerPointPlugin</i>, <i>WordPlugin</i> (junto a los plugins estándar <i>GreenstoneXMLPlugin</i>, <i>ArchivesInfPlugin</i> y
|
---|
122 | <i>DirectoryPlugin</i>). El <i>MediaWikiPlugin</i> manipula páginas HTML descargadas desde el sitio MediaWiki, mientras que <i>ImagePlugin</i>,
|
---|
123 | <i>ZipPlugin</i>, <i>PDFPlugin</i>, <i>PowerPointPlugin</i> y
|
---|
124 | <i>WordPlugin</i> manejan los archivos de imágenes, los zip, PDF, PowerPoint y Word
|
---|
125 | asociados con la Wiki de Greenstone.
|
---|
126 |
|
---|
127 | <p>
|
---|
128 | Para 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.
|
---|
129 | Este tipo de descarga funciona de manera similar a la descarga <i>Web</i>, pero está diseñado especÃficamente para incursionar sitios MediaWiki.\n
|
---|
130 |
|
---|
131 | <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.
|
---|
132 |
|
---|
133 | <p>
|
---|
134 | En 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>.
|
---|
135 | "
|
---|
136 |
|
---|
137 | # -- Simplified Chinese text ----------------
|
---|
138 | collectionmeta collectionname [l=zh] "MediaWikiéŠè"
|
---|
139 | collectionmeta collectionextra [l=zh] "
|
---|
140 | æ¬æŒç€ºéŠèæå»ºäºGreenstone绎åºçœç«ã宿Œç€ºGreenstoneä»äžäžªMediaWikiçœç«äžå建éŠèçåèœã
|
---|
141 |
|
---|
142 | <h3>åŠäœå建æ¬éŠè</h3>
|
---|
143 |
|
---|
144 | <p>æ¬éŠèç<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>é
|
---|
145 | 眮æä»¶</a>å
|
---|
146 | å«åŠäžçæä»¶ïŒ
|
---|
147 | <i>MediaWikiPlugin</i>ïŒ<i>ImagePlugin</i>ïŒ<i>ZipPlugin</i>ïŒ<i>PDFPlugin</i>ïŒ<i>PowerPointPlugin</i>ïŒ
|
---|
148 | <i>WordPlugin</i>ïŒä»¥åæ åæä»¶<i>GreenstoneXMLPlugin</i>ïŒ<i>ArchivesInfPlugin</i>以å<i>DirectoryPlugin</i>ïŒã
|
---|
149 | <i>MediaWikiPlugin</i>æä»¶å€çä»MediaWikiçœç«äžèœœçHTML页é¢ïŒè<i>ImagePlugin</i>ïŒ<i>ZipPlugin</i>ïŒ
|
---|
150 | <i>PDFPlugin</i>ïŒ<i>PowerPointPlugin</i>以å<i>WordPlugin</i>å€çGreenstone绎åºé垊çåŸçïŒ
|
---|
151 | zipïŒPDFïŒPowerPoint以åWordæä»¶ã
|
---|
152 |
|
---|
153 | <p>èŠä»äžäžªMediaWikiçœç«äžå建äžäžªéŠèïŒéŠå
|
---|
154 | èŠçšGLI<i>äžèœœ</i>颿¿äžç<i>MediaWiki</i>é项è¿è¡äžèœœã
|
---|
155 | è¿äžªäžèœœç±»åäž<i>HTTP</i>äžèœœç±»äŒŒïŒäœäžéšé对MediaWikiçœç«ã\n
|
---|
156 |
|
---|
157 | <p>äžæŠæä»¶è¢«æåäžèœœïŒå°å
|
---|
158 | ¶å€å¶å°éŠèäžïŒå³åš<i>æ¶é</i>颿¿äžïŒå°è¿äºææ¡£ä»å·ŠèŸ¹ç<i>äžèœœæä»¶</i>æä»¶å€¹äžææœè¿æ¥ã
|
---|
159 |
|
---|
160 | <p>åš<i>讟计</i>颿¿ç<i>ææ¡£æä»¶</i>éšåïŒæ·»å <i>MediaWikiPlugin</i>ã<i>MediaWikiPlugin</i>æå 䞪çšäº
|
---|
161 | æ§å¶é¡µé¢åç°æ ŒåŒçéé¡¹ïŒæ¯åŠæ¯åŠåšæ¯é¡µäžæŸç€ºå
|
---|
162 | å®¹å€§çº²ãæµè§å·¥å
|
---|
163 | ·æ¡åæçŽ¢æ¡ãè¿äºé项çé
|
---|
164 | 眮åå³äºäœ ææ³èŠç页颿Ÿç€ºæ ŒåŒã
|
---|
165 | æ¬éŠèç<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>é
|
---|
166 | 眮æä»¶</a>æŸç€ºäºæ¬éŠè对è¿äºé项ç讟眮ã
|
---|
167 | "
|
---|