source: other-projects/nightly-tasks/diffcol/trunk/model-collect/Web-Tudor/etc/collect.cfg@ 29497

Last change on this file since 29497 was 29497, checked in by ak19, 9 years ago

Web-Tudor model-collection needs the same change as for the Tudor-Enhanced model-collection, which is to sort the Hierarchy classifier by ex.SourceFile instead of ex.Title, to ensure that despite some files having identical titles, the ordering of the documents remains consistent. This is necessary after the 64 bit Ubuntu got updated and its perl was updated to perl 5.18 too.

File size: 2.5 KB
RevLine 
[27993]1creator
2maintainer
3public true
4
5buildtype mgpp
6infodbtype gdbm
7
8indexes text dc.Title,ex.dc.Title,ex.Title ex.Source
9defaultindex text
10
11levels document
12
[28237]13indexoptions accentfold casefold stem
14
15defaultlevel document
16
[27993]17subcollection monarchs "dc.Subject/Monarchs/"
18
19subcollection relatives "dc.Subject/Relatives/"
20
21subcollection citizens "dc.Subject/Citizens/"
22
23subcollection others "dc.Subject/Others/"
24
25indexsubcollections citizens,monarchs,others,relatives citizens monarchs relatives others
26
27# import options, needed for diffcol testing
28# especially in conjunction with -sort flag to ArchivesInfPlugin
29OIDtype hash_on_full_filename
30sortmeta OID
31
32plugin ZIPPlugin
33plugin GreenstoneXMLPlugin
34plugin TextPlugin
35plugin HTMLPlugin -metadata_fields Title,Author,Page_topic,Content -file_is_url
36plugin EmailPlugin
37plugin PDFPlugin
38plugin RTFPlugin
39plugin WordPlugin
40plugin PostScriptPlugin
41plugin PowerPointPlugin
42plugin ExcelPlugin
43plugin ImagePlugin
44plugin ISISPlugin
45plugin NulPlugin
46plugin EmbeddedMetadataPlugin
47plugin MetadataXMLPlugin
48plugin ArchivesInfPlugin -sort
49plugin DirectoryPlugin
50
51classify List -metadata dc.Title;ex.Title -partition_type_within_level approximate_size
52
[29497]53classify Hierarchy -metadata dc.Subject -sort ex.SourceFile
[27993]54
55format VList "<td>[weblink][webicon][/weblink]</td>
56<td>[ex.Title]<br>
57<i>([ex.Source])</i>
58</td>"
59
60format HList "[link][highlight][ex.Title][/highlight][/link]"
61
62format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
63
64format DocumentText "[Text]"
65
66format DocumentButtons "Detach|Highlight"
67
68format SearchTypes "plain,form"
69
70format CL2VList "<td>[link][icon][/link]</td>
71<td>{If}{[numleafdocs],<b>Bookshelf title:</b> [ex.Title],
72<b>Title:</b> [ex.Title]}
73</td>"
74
75format SearchVList "<td>[link][icon][/link]</td>
76<td>[ex.Title]<br>
77[dc.Subject]
78</td>"
79
80collectionmeta collectionname [l=en] "Web-Tudor"
81collectionmeta .text [l=en] "_labeltext_"
82collectionmeta .dc.Title,ex.dc.Title,Title [l=en] "_labelTitle_"
83collectionmeta .Source [l=en] "_labelSource_"
84collectionmeta .document [l=en] "_textdocument_"
85collectionmeta .section [l=en] "_textsection_"
86collectionmeta .document:text [l=en] "_labeltext_"
87collectionmeta .document:dc.Title,Title,ex.dc.Title [l=en] "_labelTitle_"
88collectionmeta .document:Source [l=en] "_labelSource_"
89collectionmeta .document:dc.Title,Title [l=en] "_labelTitle_"
90collectionmeta .citizens [l=en] "citizens"
91collectionmeta .monarchs [l=en] "monarchs"
92collectionmeta .others [l=en] "others"
93collectionmeta .relatives [l=en] "relatives"
94collectionmeta .citizens,monarchs,others,relatives [l=en] "all"
Note: See TracBrowser for help on using the repository browser.