1 | creator [email protected]
|
---|
2 | maintainer [email protected]
|
---|
3 | public true
|
---|
4 |
|
---|
5 | #authenticate collection
|
---|
6 | #auth_group hauraki
|
---|
7 |
|
---|
8 | buildtype mgpp
|
---|
9 |
|
---|
10 | indexes text Title Source text,Title,Source,dc.Title,dc.Description
|
---|
11 | defaultindex text,Title,Source,dc.Title,dc.Description
|
---|
12 |
|
---|
13 | levels document
|
---|
14 |
|
---|
15 | indexoptions accentfold casefold stem
|
---|
16 |
|
---|
17 | defaultlevel document
|
---|
18 |
|
---|
19 | defaultlevel
|
---|
20 |
|
---|
21 | defaultlevel
|
---|
22 |
|
---|
23 | defaultlevel
|
---|
24 |
|
---|
25 | defaultlevel
|
---|
26 |
|
---|
27 | defaultlevel
|
---|
28 |
|
---|
29 | plugin ZIPPlugin
|
---|
30 | plugin GreenstoneXMLPlugin
|
---|
31 | plugin ImagePlugin -screenviewsize 700 -thumbnailsize 150
|
---|
32 | plugin MetadataCSVPlugin
|
---|
33 | plugin MetadataXMLPlugin
|
---|
34 | plugin MARCXMLPlugin -metadata_mapping_file marc2qdc.txt
|
---|
35 | plugin ArchivesInfPlugin
|
---|
36 | plugin DirectoryPlugin
|
---|
37 |
|
---|
38 | classify 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 |
|
---|
40 | format 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 |
|
---|
64 | format HList "[link][highlight][ex.Title][/highlight][/link]"
|
---|
65 |
|
---|
66 | format AllowExtendedOptions true
|
---|
67 | ##format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
|
---|
68 | format 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 |
|
---|
82 | format 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 |
|
---|
143 | format DocumentButtons "Detach|Highlight"
|
---|
144 |
|
---|
145 | format SearchTypes "plain,form"
|
---|
146 |
|
---|
147 | collectionmeta collectionname [l=en] "Nga Whakaahua"
|
---|
148 | collectionmeta .document:text [l=en] "text"
|
---|
149 | collectionmeta .document:Title [l=en] "titles"
|
---|
150 | collectionmeta .document:Source [l=en] "filenames"
|
---|
151 | collectionmeta .text [l=en] "text"
|
---|
152 | collectionmeta .Title [l=en] "titles"
|
---|
153 | collectionmeta .SourceCollection "collection"
|
---|
154 | collectionmeta .Source [l=en] "filenames"
|
---|
155 | collectionmeta .text,Title,Source,dc.Title,dc.Description [l=en] "ALL"
|
---|
156 |
|
---|
157 | collectionmeta collectionextra "_about:aboutthiscollection_"
|
---|
158 |
|
---|
159 | cgiarg shortname=fqf argdefault=TE |
---|