source: main/trunk/model-sites-dev/hauraki-dl/collect/whakaahua/etc/collect.cfg.bak@ 32598

Last change on this file since 32598 was 32598, checked in by davidb, 5 years ago

Config files for Hauraki DL collections

  • Property svn:executable set to *
File size: 6.0 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5#authenticate collection
6#auth_group hauraki
7
8buildtype mgpp
9
10indexes text Title Source text,Title,Source,dc.Title,dc.Description
11defaultindex text,Title,Source,dc.Title,dc.Description
12
13levels document
14
15indexoptions accentfold casefold stem
16
17defaultlevel document
18
19defaultlevel
20
21defaultlevel
22
23defaultlevel
24
25defaultlevel
26
27defaultlevel
28
29plugin ZIPPlugin
30plugin GreenstoneXMLPlugin
31plugin ImagePlugin -screenviewsize 700 -thumbnailsize 150
32plugin MetadataCSVPlugin
33plugin MetadataXMLPlugin
34plugin MARCXMLPlugin -metadata_mapping_file marc2qdc.txt
35plugin ArchivesInfPlugin
36plugin DirectoryPlugin
37
38classify List -metadata dc.SourceCollection/dc.Title;Title -buttonname "Browse" -partition_type_within_level none/constant_size -partition_size_within_level 1000/20 -bookshelf_type duplicate_only
39
40format VList "<td></td> <!-- Starts with an empty cell to force the renderer to use tables, and not divs, to make this list -->
41<td style=\"{If}{[numleafdocs],padding-top:5px; padding-bottom: 5px;,padding-top: 10px; padding-bottom: 10px; width: 150px;} text-align: center;\" valign=\"top\">
42{If}{[numleafdocs],
43[link]
44{If}{[Title] eq \"Hauraki Photos\",_haurakiphotosicon_,
45{If}{[Title] eq \"Jim Nichols Collection\",_jimnicholsicon_,
46{If}{[Title] eq \"Timeframes Collection\",_timeframesicon_,[icon]}}}
47[/link]</td>
48<td valign=\"middle\">[highlight]
49[link]{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} ([numleafdocs])[/link]
50[/highlight]</td>,
51<div style=\"text-align: center\">[link]{If}{[URL],<script>mp\_thumb\\_imgurl(\"[URL]\"\,\"[Title]\")</script>, {Or}{[ex.thumbicon],[ex.srcicon]}}[/link]</div>
52</td>
53<td style=\"vertical-align: top; {If}{[numleafdocs],padding-top:5px; padding-bottom: 5px,padding-top: 10px; padding-bottom: 10px;}\">
54<table cellspacing=\"0px\">
55<tr><td><b>Title: </b>[link]{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled[/link]}</td></tr>
56{If}{[Description^Abstract],<tr><td><b>Abstract: </b>[Description^Abstract]</td></tr>}
57{If}{[Subject^Geographic],<tr><td><b>Geographic Location: </b>[sibling(All\'; \'):Subject^Geographic]</td></tr>}
58{If}{[dc.Description],<tr><td><b>Description: </b>[dc.Description]</td></tr>}
59</table>
60</td>
61}
62"
63
64format HList "[link][highlight][ex.Title][/highlight][/link]"
65
66format AllowExtendedOptions true
67##format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
68format DocumentHeading "<h3 style=\"padding-left:10px\">{Or}{[dc.Title],[dc.Description],[Title]}</h3>
69<table style=\"width: 100%;\">
70 <tr>
71 <td class=\"documentimage\">
72 {If}{[screenicon],[screenicon],
73 <script>mp\_access\_hrefurl(\"[URL]\")</script>
74 <span id=\"thumb[Title^RefNum]\">
75 <script>mp\_fullsize\_imgurl(\"[URL]\"\,\"[Title]\"\,\'onError=\\\\\"javascript:restricted\_image(\"thumb[Title^RefNum]\")\\\\\"\')</script>
76 </span></a>}
77 </td>
78 </tr>
79</table>
80"
81
82format DocumentText "
83<table style=\"width: 100%;\">
84 <tr>
85 <td>
86 <table cellspacing=\"5px\" class=\"documentinfo\">
87 <script>trcolor()</script>
88 <td class=\"title\">Title:</td><td colspan=\"2\">{Or}{[dc.Title],[Title]}</td></tr>
89
90 {If}{[dc.Description],
91 <script>trcolor()</script>
92 <td class=\"title\">Description:</td><td colspan=\"2\">[dc.Description]</td></tr>}
93
94 {If}{[Subject],
95 <script>trcolor()</script>
96 <td class=\"title\">Subject:</td><td colspan=\"2\">[sibling(All\'; \'):Subject]</td></tr>}
97
98 {If}{[Description^Abstract],
99 <script>trcolor()</script>
100 <td class=\"title\">Abstract:</td><td colspan=\"2\">[Description^Abstract]</td></tr>}
101
102 {If}{[Subject^Geographic],
103 <script>trcolor()</script>
104 <td class=\"title\">Geographic Location:</td><td colspan=\"2\">[sibling(All\'; \'):Subject^Geographic]</td></tr>}
105
106 {If}{[Creator^PersonalName],
107 <script>trcolor()</script>
108 <td class=\"title\">Personal name(s):</td><td colspan=\"2\">[sibling(All\'; \'):Creator^PersonalName]</td></tr>}
109
110 {If}{[Description],
111 <script>trcolor()</script>
112 <td class=\"title\">Addition Description:</td><td colspan=\"2\">[Description]</td></tr>}
113
114 {If}{[Date^Issued],
115 <script>trcolor()</script>
116 <td class=\"title\">Date Issued:</td><td colspan=\"2\">[Date^Issued]</td></tr>}
117
118 {If}{[Format^Description],
119 <script>trcolor()</script>
120 <td class=\"title\">Format:</td><td colspan=\"2\">[sibling(All\'<br>\'):Format^Description]</td></tr>}
121
122 {If}{[IsPartOf^Title],
123 <script>trcolor()</script>
124 <td class=\"title\">Collection:</td><td colspan=\"2\">[IsPartOf^Title]<br><script>at\_timeframes(\"[IsPartOf^RefNum]\"\,\'Locate items from this collection in Timeframes at the Alexander Turnbull Library\')</script></td></tr>}
125
126 {If}{[Title^RefNum],
127 <tr bgcolor=\"#ffe0e0\">
128 <td class=\"title\">Reference No.</td>
129 <td align=\"left\">[Title^RefNum]<br> <script>at\_timeframes(\"[Title^RefNum]\"\,\'Locate this item in Timeframes at the Alexander Turnbull Library\')</script></td>
130 <td align=\"right\">View <a href=\"Open new window\" onClick=\"javascript:window.open(\'_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/marcxml.xml\'\,\'fullrecord\'\, \'toolbar=0\,menubar=0\,location=0\,scrollbars=1\,directories=0\,width=750\,height=900\');return false\">Full record</a></td>
131 </tr>}
132
133 </table>
134 </td>
135 </tr>
136</table>
137
138<p>
139</p>
140"
141
142
143format DocumentButtons "Detach|Highlight"
144
145format SearchTypes "plain,form"
146
147collectionmeta collectionname [l=en] "Nga Whakaahua"
148collectionmeta .document:text [l=en] "text"
149collectionmeta .document:Title [l=en] "titles"
150collectionmeta .document:Source [l=en] "filenames"
151collectionmeta .text [l=en] "text"
152collectionmeta .Title [l=en] "titles"
153collectionmeta .SourceCollection "collection"
154collectionmeta .Source [l=en] "filenames"
155collectionmeta .text,Title,Source,dc.Title,dc.Description [l=en] "ALL"
156
157collectionmeta collectionextra "_about:aboutthiscollection_"
158
159cgiarg shortname=fqf argdefault=TE
Note: See TracBrowser for help on using the repository browser.