source: other-projects/nightly-tasks/diffcol/trunk/model-collect/MARC-Exploded/etc/collect.bak@ 28007

Last change on this file since 28007 was 28007, checked in by ak19, 11 years ago

Adding the 2 collections for the MARC tutorial.

File size: 1.9 KB
Line 
1creator
2maintainer
3public true
4
5buildtype mgpp
6infodbtype gdbm
7
8indexes allfields exp.Title exp.Subject
9defaultindex allfields
10
11levels document
12
13indexoptions accentfold casefold stem
14
15defaultlevel document
16
17# import options, needed for diffcol testing
18# especially in conjunction with -sort flag to ArchivesInfPlugin
19OIDtype hash_on_full_filename
20sortmeta OID
21
22plugin ZIPPlugin
23plugin GreenstoneXMLPlugin
24plugin TextPlugin
25plugin HTMLPlugin
26plugin EmailPlugin
27plugin PDFPlugin
28plugin RTFPlugin
29plugin WordPlugin
30plugin PostScriptPlugin
31plugin PowerPointPlugin
32plugin ExcelPlugin
33plugin ImagePlugin
34plugin ISISPlugin
35plugin NulPlugin
36plugin EmbeddedMetadataPlugin
37plugin MetadataXMLPlugin
38plugin ArchivesInfPlugin -sort
39plugin DirectoryPlugin
40
41classify List -metadata exp.Title -partition_type_within_level approximate_size
42
43classify AZCompactList -metadata exp.Subject
44
45format VList "<td valign=\"top\">[link][icon][/link]</td>
46<td valign=\"top\">[highlight]
47{Or}{[exp.Title],[ex.Title],Untitled}
48[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
49
50format HList "[link][highlight][ex.Title][/highlight][/link]"
51
52format DocumentHeading ""
53
54format DocumentText "<table>
55<tr><td>Title:</td><td>[exp.Title]</td></tr>
56<tr><td>Subject:</td><td>[exp.Subject]</td></tr>
57<tr><td>Publisher:</td><td>[exp.Publisher]</td></tr>
58</table>"
59
60format DocumentButtons ""
61
62format SearchTypes "form"
63
64collectionmeta collectionname [l=en] "MARC-Exploded"
65collectionmeta .document [l=en] "_textdocument_"
66collectionmeta .section [l=en] "_textsection_"
67collectionmeta .document:text [l=en] "_labeltext_"
68collectionmeta .document:dc.Title,Title,ex.dc.Title [l=en] "_labelTitle_"
69collectionmeta .document:Source [l=en] "_labelSource_"
70collectionmeta .document:dc.Title,Title [l=en] "_labelTitle_"
71collectionmeta .exp.Title [l=en] "_labelTitle_"
72collectionmeta .exp.Subject [l=en] "_labelSubject_"
73collectionmeta .allfields [l=en] "allfields"
Note: See TracBrowser for help on using the repository browser.