source: other-projects/nightly-tasks/diffcol/trunk/model-collect/Scanned-Img-Advanced/etc/collect.cfg@ 29502

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

ISO-8859-15 pound sign did not get processed to pound sign in collection built on Ubuntu 64-bit after this got updated. It doesn't seem to have any to do with the perl 5.18 update, but may have resulted from some other aspect of the general OS update. Now the PagedImgPlugin working on the xml folder in import, which contains the character, is set to use the iso-8859-15 encoding.

File size: 3.1 KB
Line 
1creator
2maintainer
3public true
4
5buildtype mgpp
6infodbtype gdbm
7
8indexes text dc.Title,ex.dc.Title,ex.Title
9defaultindex text
10
11levels document section
12
13indexoptions accentfold casefold stem
14
15defaultlevel section
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 PagedImagePlugin -process_exp xml.*\.item$ -create_screenview true -documenttype hierarchy -default_encoding iso_8859_15
38plugin PagedImagePlugin -create_thumbnail false
39plugin MetadataXMLPlugin
40plugin ArchivesInfPlugin -sort
41plugin DirectoryPlugin
42
43classify List -metadata dc.Title;ex.Title -partition_type_within_level approximate_size -bookshelf_type always
44
45classify DateList -metadata ex.Date
46
47format VList "<td valign=\"top\">[link][icon][/link]</td>
48<td valign=\"top\">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
49<td valign=\"top\">[highlight]
50{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
51[/highlight]</td>"
52
53format HList "[link][highlight][ex.Title][/highlight][/link]"
54
55format DocumentHeading "<div class=\"heading_title\">{Or}{[parent(Top):ex.Title],[ex.Title]}</div>
56<div class=\"buttons\" id=\"toc_buttons\">
57{If}{[srcicon],_document:viewfullsize_}
58{If}{[screenicon],_document:viewpreview_}
59{If}{[NoText] ne \'1\',_document:viewtext_}
60</div>
61<div class=\"toc\">[DocTOC]</div>"
62
63format DocumentText "{If}{_cgiargp_ eq \'fullsize\',[srcicon],
64{If}{_cgiargp_ eq \'preview\',[screenicon],
65{If}{[NoText] ne \'1\',[Text],[screenicon]}}}"
66
67format DocumentButtons "Detach|Highlight"
68
69format SearchTypes "plain,form"
70
71format CL1VList "<td valign=\"top\">[link][icon][/link]</td>
72<td valign=\"top\">
73{If}{[numleafdocs],[ex.Title] ([numleafdocs]),
74Volume [ex.Volume] Number [ex.Number] Date [format:ex.Date]}
75</td>"
76
77format DateList "<td>[link][icon][/link]</td>
78<td>[highlight]{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}[/highlight]</td>
79<td>{Or}{[format:dc.Date],[format:exp.Date],[format:ex.Date]}</td>"
80
81format SearchVList "<td valign=\"top\">[link][icon][/link]</td>
82<td valign=\"top\">
83{If}{[parent:ex.Title],[parent:ex.Title] Volume [parent:ex.Volume] Number [parent:ex.Number]: Page [ex.Title],
84[ex.Title] Volume [ex.Volume] Number [ex.Number]}
85<br/><i>({Or}{[format:parent:ex.Date],[format:ex.Date],undated})</i></td>
86</td>"
87
88format AllowExtendedOptions true
89
90collectionmeta collectionname [l=en] "Scanned-Img-Advanced"
91collectionmeta .text [l=en] "_labeltext_"
92collectionmeta .dc.Title,ex.dc.Title,Title [l=en] "_labelTitle_"
93collectionmeta .document [l=en] "newspaper"
94collectionmeta .section [l=en] "page"
95collectionmeta .document:text [l=en] "_labeltext_"
96collectionmeta .document:dc.Title,Title,ex.dc.Title [l=en] "_labelTitle_"
97collectionmeta .document:Source [l=en] "_labelSource_"
98collectionmeta .document:dc.Title,Title [l=en] "_labelTitle_"
Note: See TracBrowser for help on using the repository browser.