1 | creator [email protected]
|
---|
2 | maintainer [email protected]
|
---|
3 | public true
|
---|
4 |
|
---|
5 | buildtype mgpp
|
---|
6 | searchtypes plain,form
|
---|
7 |
|
---|
8 | indexes text dls.Title,Title dls.Subject dls.Organization dls.Keyword
|
---|
9 |
|
---|
10 | levels section document
|
---|
11 |
|
---|
12 | plugin GreenstoneXMLPlugin
|
---|
13 | plugin HTMLPlugin -description_tags
|
---|
14 | plugin MetadataXMLPlugin
|
---|
15 | plugin ArchivesInfPlugin
|
---|
16 | plugin DirectoryPlugin
|
---|
17 |
|
---|
18 | classify List -metadata dls.Title
|
---|
19 |
|
---|
20 | classify Hierarchy -metadata "dls.Subject" -sort dls.Title
|
---|
21 |
|
---|
22 | classify List -sort_leaf_nodes_using dls.Title -metadata dls.Organization -bookshelf_type always
|
---|
23 |
|
---|
24 | classify List -metadata dls.Keyword -buttonname Howto
|
---|
25 |
|
---|
26 | format CL4VList "<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]"
|
---|
27 |
|
---|
28 | format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>"
|
---|
29 |
|
---|
30 | format VList "<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[Title],Untitled}[/highlight]{If}{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}{[NumPages],<br><small><i>_textnumpages_[NumPages]</i></small>}{If}{[Source],<br><small><i>_textsource_[Source]</i></small>}</td>"
|
---|
31 |
|
---|
32 | format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]"
|
---|
33 | format DocumentImages true
|
---|
34 | format DocumentButtons "Expand Text|Expand Contents|Highlight|Detach|Print"
|
---|
35 | format DocumentSearchResultLinks true
|
---|
36 |
|
---|
37 | format HList "[link][highlight][Title][/highlight][/link]"
|
---|
38 |
|
---|
39 | format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
|
---|
40 |
|
---|
41 | format SearchTypes "plain,form"
|
---|
42 |
|
---|
43 | # -- English strings ----------------
|
---|
44 | collectionmeta collectionname [l=en] "Cascading Style Sheets<br/> Demo collection"
|
---|
45 |
|
---|
46 | collectionmeta .text [l=en] "text"
|
---|
47 | collectionmeta .dls.Title,Title [l=en] "titles"
|
---|
48 | collectionmeta .dls.Subject [l=en] "subjects"
|
---|
49 | collectionmeta .dls.Organization [l=en] "organizations"
|
---|
50 | collectionmeta .dls.Keyword [l=en] "how to"
|
---|
51 |
|
---|
52 | collectionmeta .document [l=en] "book"
|
---|
53 | collectionmeta .section [l=en] "chapter"
|
---|
54 |
|
---|
55 | collectionmeta depositormetadata [l=en] "{\"name\":\"dls.Title\",\"label\":\"Title\",\"tooltip\":\"dls.Title: The title of this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Organization\",\"label\":\"Organization\",\"tooltip\":\"dls.Organization: The organization responsible for producing this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Subject\",\"label\":\"Subject\",\"tooltip\":\"dls.Subject: The subject of this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Keyword\",\"label\":\"Keyword\",\"tooltip\":\"dls.Keyword: A more specific indication of what the resource can be used for.\",\"type\":\"text\"}, {\"name\":\"dls.Language\",\"label\":\"Language\",\"tooltip\":\"dls.Language: The language of this resource.\",\"type\":\"text\"}"
|
---|
56 |
|
---|
57 | # -- French strings ----------------
|
---|
58 | collectionmeta collectionname [l=fr] "Démo de feuilles de styles en cascade (CSS)"
|
---|
59 |
|
---|
60 | collectionmeta .text [l=fr] "texte"
|
---|
61 | collectionmeta .dls.Title,Title [l=fr] "titres"
|
---|
62 | collectionmeta .dls.Subject [l=fr] "sujets"
|
---|
63 | collectionmeta .dls.Organization [l=fr] "organisations"
|
---|
64 | collectionmeta .dls.Keyword [l=fr] "comment faire"
|
---|
65 | collectionmeta .document [l=fr] "livre"
|
---|
66 | collectionmeta .section [l=fr] "châpitre"
|
---|
67 |
|
---|
68 | # -- Spanish strings ----------------
|
---|
69 | collectionmeta collectionname [l=es] "Colección de muestra CSS"
|
---|
70 |
|
---|
71 | collectionmeta .text [l=es] "texo"
|
---|
72 | collectionmeta .dls.Title,Title [l=es] "tÃtulos"
|
---|
73 | collectionmeta .dls.Subject [l=es] "temas"
|
---|
74 | collectionmeta .dls.Organization [l=es] "organizaciones"
|
---|
75 | collectionmeta .dls.Keyword [l=es] "cómo"
|
---|
76 | collectionmeta .document [l=es] "libro"
|
---|
77 | collectionmeta .section [l=es] "capÃtulo"
|
---|
78 |
|
---|
79 | # -- Russian strings ----------------
|
---|
80 | collectionmeta .text [l=ru] "ÑекÑÑ"
|
---|
81 | collectionmeta .dls.Title,Title [l=ru] "загПлПвкО"
|
---|
82 | collectionmeta .dls.Subject [l=ru] "ÑказаÑелО"
|
---|
83 | collectionmeta .dls.Organization [l=ru] "ПÑгаМОзаÑОО"
|
---|
84 | collectionmeta .dls.Keyword [l=ru] "ÑпПÑПбÑ"
|
---|
85 | collectionmeta .document [l=ru] "кМОга"
|
---|
86 | collectionmeta .section [l=ru] "глава"
|
---|
87 |
|
---|
88 | # -- Arabic strings ----------------
|
---|
89 | collectionmeta .text [l=ar] "Ùص"
|
---|
90 | collectionmeta .dls.Title,Title [l=ar] "اÙعÙاÙÙÙ"
|
---|
91 | collectionmeta .dls.Subject [l=ar] "اÙÙ
|
---|
92 | ÙضÙعات"
|
---|
93 | collectionmeta .dls.Organization [l=ar] "اÙÙ
|
---|
94 | ÙØžÙ
|
---|
95 | ات"
|
---|
96 | collectionmeta .dls.Keyword [l=ar] "إر؎اد"
|
---|
97 | collectionmeta .document [l=ar] "Ùتاؚ"
|
---|
98 | collectionmeta .section [l=ar] "ÙصÙ"
|
---|
99 |
|
---|
100 |
|
---|
101 | # -- Brazilian Portuguese strings ----------------
|
---|
102 | collectionmeta .text [l=pt-br] "texto"
|
---|
103 | collectionmeta .dls.Title,Title [l=pt-br] "tÃtulos"
|
---|
104 | collectionmeta .dls.Subject [l=pt-br] "assuntos"
|
---|
105 | collectionmeta .dls.Organization [l=pt-br] "organizações"
|
---|
106 | collectionmeta .dls.Keyword [l=pt-br] "como fazer"
|
---|
107 |
|
---|
108 | collectionmeta .document [l=pt-br] "livro"
|
---|
109 | collectionmeta .section [l=pt-br] "capÃtulo"
|
---|
110 |
|
---|
111 | # -- Thai strings ----------------
|
---|
112 | collectionmeta .text [l=th] "àžà¹àžàžàž§àž²àž¡"
|
---|
113 | collectionmeta .dls.Title,Title [l=th] "àžàž·à¹àžà¹àž£àž·à¹àžàž"
|
---|
114 | collectionmeta .dls.Subject [l=th] "àž«àž±àž§à¹àž£àž·à¹àžàž"
|
---|
115 | collectionmeta .dls.Organization [l=th] "àž«àžà¹àž§àž¢àžàž²àž"
|
---|
116 | collectionmeta .dls.Keyword [l=th] "àž§àžŽàžàžµà¹àžà¹"
|
---|
117 |
|
---|
118 | collectionmeta .document [l=th] "àž«àžàž±àžàžªàž·àž"
|
---|
119 | collectionmeta .section [l=th] "àžàž"
|
---|
120 |
|
---|
121 | # -- Simplified Chinese strings ----------------
|
---|
122 | collectionmeta .text [l=zh] "ææ¬"
|
---|
123 | collectionmeta .dls.Title,Title [l=zh] "é¢å"
|
---|
124 | collectionmeta .dls.Subject [l=zh] "äž»é¢"
|
---|
125 | collectionmeta .dls.Organization [l=zh] "æºæ"
|
---|
126 | collectionmeta .dls.Keyword [l=zh] "åŠäœ"
|
---|
127 |
|
---|
128 | collectionmeta .document [l=zh] "乊"
|
---|
129 | collectionmeta .section [l=zh] "ç« "
|
---|
130 |
|
---|
131 | # -- English text ---------------------------
|
---|
132 |
|
---|
133 | collectionmeta collectionextra [l=en] "
|
---|
134 | This collection demonstrates Greenstone\'s use of Cascading Style Sheets (CSS)
|
---|
135 | for visual formatting in web browsers. (Greenstone uses CSS instead of HTML
|
---|
136 | tables since version 2.63.) On every page, you can change the
|
---|
137 | style-sheet in effect, to modify that page\'s appearance.
|
---|
138 | </p>
|
---|
139 | <p>This collection contains the same material as the original Greenstone demo collection.</p>
|
---|
140 | <p>
|
---|
141 | An <a href=\'_httpcollection_/macros/extra.dm\'>extra.dm</a> macro file is used by the collection to provide the stylesheet switching. This redefines a few macros from the <i>Style</i> package: <b>\_cssheader\_</b>, to link to multiple stylesheets; <b>\_optnavigationbar\_</b>, to display the links to click; and <b>\_pagescriptextra\_</b>, to facilitate the switching when a link is clicked.
|
---|
142 | </p>
|
---|
143 | <p>If you want to download any of these stylesheets for your own collections,
|
---|
144 | here are links to them:
|
---|
145 | <ul>
|
---|
146 | <li><a href=\'_httpimages_/style.css\'>Default Greenstone Style</a></li>
|
---|
147 | <li><a href=\'_httpcstyle_/style-blue.css\'>âOcean Blueâ theme</a></li>
|
---|
148 | <li><a href=\'_httpcstyle_/style-red.css\'>âFire Redâ theme</a></li>
|
---|
149 | <li><a href=\'_httpimages_/style-print.css\'>Printer</a></li>
|
---|
150 | </ul>
|
---|
151 | </p>
|
---|
152 | <p>
|
---|
153 | <b>Using a downloaded stylesheet</b>
|
---|
154 | <ul>
|
---|
155 | <li>To use a stylesheet as the default, place it in greenstone/web/style and rename it to style.css. This will affect all collections.</li>
|
---|
156 | <li>To use a stylesheet for a particular collection, place it in the collection\'s style directory, add an extra.dm file to the collection\'s macros directory, and add a macro like the following (this uses style-red.css as the example):<br/>
|
---|
157 | <small><tt>
|
---|
158 | <br/>
|
---|
159 | package Style<br/>
|
---|
160 | <br/>
|
---|
161 | \_cssheader\_ {<br/>
|
---|
162 | <link rel=\'stylesheet\' href=\'\_httpcstyle\_/style-red.css\'<br/>
|
---|
163 | type=\'text/css\' title=\'Fire Red\' charset=\'UTF-8\'><br/>
|
---|
164 | }<br/>
|
---|
165 | </tt></small>
|
---|
166 | </li>
|
---|
167 | </ul>
|
---|
168 | </p>
|
---|
169 | "
|
---|
170 |
|
---|
171 | # -- Spanish text -----------------------
|
---|
172 | collectionmeta collectionextra [l=es] "
|
---|
173 | Esta colección demuestra el uso de hojas de estilo (CSS) con Greenstone para el formateo visual en los navegadores web. (Greenstone usa CSS en vez de tablas HTML desde la version 2.63.) En cada página, puede cambiar la plantilla usada, para modificar la apariencia de la página.
|
---|
174 | </p>
|
---|
175 | <p>Esta colección contiene el mismo material que la colección de demo original de Greenstone.</p>
|
---|
176 | <p>
|
---|
177 | Un archivo <a href=\'_httpcollection_/macros/extra.dm\'>extra.dm</a> se utiliza para proveer el cambio de plantilla de estilos. Este archivo redefine algunas macros del paquete <i>Style</i>: <b>\_cssheader\_</b>, para enlazar múltiples plantillas; <b>\_optnavigationbar\_</b>, para mostrar los links; y <b>\_pagescriptextra\_</b>, para facilitar el cambio cuando se selecciona un link.
|
---|
178 | </p>
|
---|
179 | <p>Si quiere descargar cualquiera de estas plantillas para sus propias colecciones, aquà están los links a ellas:
|
---|
180 | <ul>
|
---|
181 | <li><a href=\'_httpimages_/style.css\'>Plantilla por defecto de Greenstone</a></li>
|
---|
182 | <li><a href=\'_httpcstyle_/style-blue.css\'>Tema âOcean Blueâ</a></li>
|
---|
183 | <li><a href=\'_httpcstyle_/style-red.css\'>âTema Fire Redâ</a></li>
|
---|
184 | <li><a href=\'_httpimages_/style-print.css\'>Impresora</a></li>
|
---|
185 | </ul>
|
---|
186 | </p>
|
---|
187 | <p>
|
---|
188 | <b>Usar una plantilla descargada</b>
|
---|
189 | <ul>
|
---|
190 | <li>Para usar una plantilla de estilos por defecto, copiela en la carpeta greenstone/web/style y renómbrela como style.css. Esto afectará a todas las colecciones.</li>
|
---|
191 | <li>Para usar una plantilla para una colección en particular, copiela en la carpeta style de la colección, agregue un archivo extra.dm en la carpeta macros de la colección y edÃtelo para agregar las siguientes lÃneas (aquà se usa la plantilla style-red.css como ejemplo):<br/>
|
---|
192 | <small><tt>
|
---|
193 | <br/>
|
---|
194 | package Style<br/>
|
---|
195 | <br/>
|
---|
196 | \_cssheader\_ {<br/>
|
---|
197 | <link rel=\'stylesheet\' href=\'\_httpcstyle\_/style-red.css\'<br/>
|
---|
198 | type=\'text/css\' title=\'Fire Red\' charset=\'UTF-8\'><br/>
|
---|
199 | }<br/>
|
---|
200 | </tt></small>
|
---|
201 | </li>
|
---|
202 | </ul>
|
---|
203 | </p>
|
---|
204 | "
|
---|