root/other-projects/nightly-tasks/diffcol/trunk/model-collect/OAI-Local/etc/collect.cfg @ 29407

Revision 29407, 2.3 KB (checked in by ak19, 5 years ago)

Rebuilding OAILocal model-collection for perl 5.18/5.17 and later, since new versions of perl randomise the order of children of unsorted classifiers and for those children with identical filenames. The changes are to collect.cfg: now sorting both classifiers on ex.dc.Title (a unique field in this collection), to ensure the documents are displayed in the same order on each rebuild, despite the description metadata on which the classifier is built containing duplicate descriptions.

Line 
1creator
2maintainer
3public      true
4
5buildtype   mgpp
6infodbtype  gdbm
7
8indexes     ex.dc.Description
9defaultindex    ex.dc.Description
10
11levels  document
12
13indexoptions    accentfold casefold stem
14
15defaultlevel    document
16
17classify    AZCompactList -metadata ex.dc.Subject -sort ex.dc.Title -buttonname subjects
18
19classify    AZCompactList -metadata ex.dc.Description -sort ex.dc.Title -mingroup 2 -mincompact 1 -buttonname captions -maxcompact 10
20
21# import options, needed for diffcol testing
22# especially in conjunction with -sort flag to ArchivesInfPlugin
23OIDtype hash_on_full_filename
24sortmeta OID
25
26plugin  ZIPPlugin
27plugin  GreenstoneXMLPlugin
28plugin  TextPlugin
29plugin  HTMLPlugin
30plugin  EmailPlugin
31plugin  PDFPlugin
32plugin  RTFPlugin
33plugin  WordPlugin
34plugin  PostScriptPlugin
35plugin  PowerPointPlugin
36plugin  ExcelPlugin
37plugin  ImagePlugin -screenviewsize 300
38plugin  ISISPlugin
39plugin  NulPlugin
40plugin  OAIPlugin -document_field ex.dc.Identifier
41plugin  EmbeddedMetadataPlugin
42plugin  MetadataXMLPlugin
43plugin  ArchivesInfPlugin -sort
44plugin  DirectoryPlugin
45
46format VList "<td>
47{If}{[numleafdocs],[link][icon][/link],[link][thumbicon][/link]}
48</td>
49<td valign=middle>
50{If}{[numleafdocs],[Title],<i>[ex.dc.Description]</i>}
51</td>"
52
53format HList "[link][highlight][ex.Title][/highlight][/link]"
54
55format DocumentHeading "<h3>[ex.dc.Subject]</h3>"
56
57format DocumentText "<center><table width=_pagewidth_ border=1>
58<tr><td colspan=2 align=center>
59[ex.srclink][screenicon][ex./srclink]</td></tr>
60<tr><td>Caption:</td><td> <i>[ex.dc.Description]</i> <br>
61([ex.srclink]original [ImageWidth]x[ImageHeight] [ImageType] available[/ex.srclink])
62</td></tr>
63<tr><td>Subject:</td><td> [ex.dc.Subject]</td></tr>
64<tr><td>Publisher:</td><td> [ex.dc.Publisher]</td></tr>
65<tr><td>Rights:<td> [ex.dc.Rights]</td></tr>
66</table></center>"
67
68format DocumentButtons "Detach|Highlight"
69
70format SearchTypes "plain,form"
71
72collectionmeta  collectionname [l=en] "OAI-Local"
73collectionmeta  .document [l=en] "_textdocument_"
74collectionmeta  .section [l=en] "_textsection_"
75collectionmeta  .document:text [l=en] "_labeltext_"
76collectionmeta  .document:dc.Title,Title,ex.dc.Title [l=en] "_labelTitle_"
77collectionmeta  .document:Source [l=en] "_labelSource_"
78collectionmeta  .document:dc.Title,Title [l=en] "_labelTitle_"
79collectionmeta  .ex.dc.Description [l=en] "_labelDescription_"
Note: See TracBrowser for help on using the browser.