Changeset 19680 for documentation/trunk/tutorials/xml-source
- Timestamp:
- 2009-05-30T14:40:10+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r19676 r19680 2211 2211 <Prerequisite id="multimedia_collection_explore"/> 2212 2212 <SampleFiles folder="beatles"/> 2213 <Version initial="2.60" current="2.8 1"/>2213 <Version initial="2.60" current="2.82"/> 2214 2214 <Content> 2215 2215 <Comment> … … 2223 2223 <Path>sample_files → beatles → advbeat_small</Path> 2224 2224 <Text id="0555">into your new collection. Do this by opening up <Path>advbeat_small</Path>, selecting the eight items within it (from <Path>discography</Path> to <Path>beatles_midi.zip</Path>), and dragging them across. Because some of these files are in MP3 and MARC formats you will be asked whether to include <AutoText text="MP3Plugin" /> and <AutoText text="MARCPlugin" /> in your collection. Click <AutoText key="glidict::CDM.PlugInManager.QuickAdd" type="button"/>.</Text> 2225 <Text id="0555a">A window pops up explaining that the import documents contain css files, which none of Greenstone's plugins are expected to process directly. CSS files normally belong to a web page and we don't need to process them directly. Click <AutoText key="glidict::General.OK" type="button"/> button.</Text> 2225 2226 </NumberedItem> 2226 2227 <NumberedItem> … … 2267 2268 </Heading> 2268 2269 <NumberedItem> 2269 <Text id="0569">First let's remove the <AutoText text=" AZList" /> classifier for filenames, which isn't very useful, and replace it with a browsing structure that groups documents by category (discography, lyrics, audio etc.). Categories are defined by manually assigned metadata.</Text>2270 <Text id="0569">First let's remove the <AutoText text="List" /> classifier for filenames, which isn't very useful, and replace it with a browsing structure that groups documents by category (discography, lyrics, audio etc.). Categories are defined by manually assigned metadata.</Text> 2270 2271 <BulletList> 2271 2272 <Bullet> … … 2282 2283 </Bullet> 2283 2284 <Bullet> 2284 <Text id="0574">Add a n <AutoText text="AZCompactList" /> classifier. Select <AutoText key="metadata::dc.Format"/> as the <AutoText text="metadata"/> field and specify "browse" as the <AutoText text="buttonname"/>. Click the <AutoText text="sort_leaf_nodes_using"/> checkbox, and select <AutoText key="metadata::ex.Title"/> in the drop-down list: this will make the classifier display documents in alphabetical order of title.</Text>2285 <Text id="0574">Add a <AutoText text="List"/> classifier and click the <AutoText text="bookshelf_type"/> and select <AutoText text="always"/> in the drop-down list (or add an <AutoText text="AZCompactList"/> for versions before 2.82). Select <AutoText key="metadata::dc.Format"/> as the <AutoText text="metadata"/> field and specify "browse" as the <AutoText text="buttonname"/>. Click the <AutoText text="sort_leaf_nodes_using"/> checkbox, and select <AutoText key="metadata::ex.Title"/> in the drop-down list: this will make the classifier display documents in alphabetical order of title.</Text> 2285 2286 </Bullet> 2286 2287 </BulletList> … … 2300 2301 </Bullet> 2301 2302 <Bullet> 2302 <Text id="0582">Ensure that <AutoText text="VList" 2303 <Text id="0582">Ensure that <AutoText text="VList"/> is selected, and make the changes that are highlighted below. You need to insert five lines into the first line, and delete the second line. (Note, the changes are available in a text file, see below.)</Text> 2303 2304 <Text id="0582a">Change:</Text> 2304 2305 <Format> … … 2306 2307 <highlight><td valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td> </highlight><br/> 2307 2308 <td valign=top>[highlight]<br/> 2308 {Or}{[d ls.Title],[dc.Title],[Title],Untitled} <br/>2309 {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} <br/> 2309 2310 [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td> 2310 2311 </Format> … … 2320 2321 <highlight>[link][icon][/link]}}}</highlight></td> <br/> 2321 2322 <td valign=top>[highlight]<br/> 2322 {Or}{[d ls.Title],[dc.Title],[Title],Untitled}<br/>2323 {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}<br/> 2323 2324 [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td> 2324 2325 </Format> … … 2343 2344 [link][icon][/link]}}</td> <br/> 2344 2345 <td valign=top>[highlight]<br/> 2345 {Or}{[d ls.Title],[dc.Title],[Title],Untitled}<br/>2346 {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}<br/> 2346 2347 [/highlight]<highlight>{If}{[ex.Source],<br><i>([ex.Source])</i>}</highlight></td></Format> 2347 2348 </Bullet> … … 2350 2351 </NumberedItem> 2351 2352 <Heading> 2352 <Text id="0596">Using <AutoText text="AZCompactList"/> rather than <AutoText text=" AZList"/></Text>2353 </Heading> 2354 <NumberedItem> 2355 <Text id="0597">There are sometimes several documents with the same title. For example, <AutoText text="All My Loving" type="italics"/> appears both as lyrics and tablature (under <AutoText text="ALL MY LOVING" type="italics"/>). The <AutoText key="coredm::_Global:labelTitle_"/> browser might be improved by grouping these together under a bookshelf icon. This is a job for an <AutoText text="AZCompactList" />.</Text>2353 <Text id="0596">Using <AutoText text="AZCompactList"/> rather than <AutoText text="List"/></Text> 2354 </Heading> 2355 <NumberedItem> 2356 <Text id="0597">There are sometimes several documents with the same title. For example, <AutoText text="All My Loving" type="italics"/> appears both as lyrics and tablature (under <AutoText text="ALL MY LOVING" type="italics"/>). The <AutoText key="coredm::_Global:labelTitle_"/> browser might be improved by grouping these together under a bookshelf icon. This is a job for an <AutoText text="AZCompactList"/>. In the previous tutorial we showed how to use the <AutoText text="bookshelf_type"/> option in <AutoText key="List"/> classifier to group documents with the same metadata value (<AutoText key="metadata::dc.Format"/> in that case) in one bookshelf. Here we use <AutoText text="AZCompactList"/> instead.</Text> 2356 2357 <BulletList> 2357 2358 <Bullet> … … 2359 2360 </Bullet> 2360 2361 <Bullet> 2361 <Text id="0599">Remove the <AutoText key="metadata:: ex.Title"/> classifier (at the top)</Text>2362 <Text id="0599">Remove the <AutoText key="metadata::dc.Title;Title"/> classifier (at the top)</Text> 2362 2363 </Bullet> 2363 2364 <Bullet> … … 2387 2388 <highlight><td>{If}{[numleafdocs],([numleafdocs])}</td></highlight><br/> 2388 2389 <td valign=top>[highlight]<br/> 2389 {Or}{[d ls.Title],[dc.Title],[Title],Untitled}<br/>2390 {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}<br/> 2390 2391 [/highlight]</td></Format> 2391 2392 <Text id="0609"><b>Preview</b> the result (you don't need to build the collection.) Bookshelves in the titles and browse classifiers should show how many documents they contain.</Text> … … 3200 3201 </Title> 3201 3202 <Prerequisite id="dspace_to_greenstone"/> 3202 <Version initial="2.60" current="2.8 1"/>3203 <Version initial="2.60" current="2.82"/> 3203 3204 <Content> 3204 3205 <Comment> … … 3243 3244 <Text id="gems-1">Editing metadata sets</Text> 3244 3245 </Title> 3245 <Version initial="2.70w" current="2.8 1"/>3246 <Version initial="2.70w" current="2.82"/> 3246 3247 <Content> 3247 3248 <Text id="gems-2">GEMS (Greenstone Editor for Metadata Sets) can be used to modify existing metadata sets or create new ones. GEMS is launched from the Librarian Interface when you want to create a new metadata set, or edit an existing one. In this exercise, we run GEMS outside of the Librarian Interface.</Text>
Note:
See TracChangeset
for help on using the changeset viewer.