source: main/trunk/model-sites-dev/hauraki-dl/collect/resources/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: 5.1 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 section
14
15indexoptions accentfold casefold stem
16
17defaultlevel section
18
19plugin ZIPPlugin
20plugin GreenstoneXMLPlugin
21plugin ImagePlugin -screenviewsize 800
22plugin PagedImagePlugin -screenviewtype jpg -screenviewsize 800 -create_thumbnail true -enable_cache -block_exp (?i)(\.jpe?g|\.gif|\.png|\.tif?f|\.te?xt|\.html?|\.css|\.opd|~)$ -documenttype paged -associate_ext pdf
23plugin MetadataCSVPlugin
24plugin MetadataXMLPlugin
25plugin ArchivesInfPlugin
26plugin DirectoryPlugin
27plugin UnknownPlugin -process_exp ".*\.flv" -assoc_field "Video" -associate_ext "jpg"
28
29#classify AZCompactList -metadata dc.Title -firstvalueonly
30classify List -metadata dc.Group/dc.TitleOrSubGroup;Title -buttonname "Browse" -bookshelf_type duplicate_only
31#classify AZCompactList -mingroup 2 -metadata dc.Description,Title -minnesting 5 -maxcompact 10
32
33format CL1VList "
34<td style=\"{If}{[numleafdocs],padding-top:5px; padding-bottom: 5px,padding-top: 10px; padding-bottom: 10px;}\"><div style=\"text-align:center\">{If}{[child(1):thumbicon],[link][child(1):thumbicon][/link],{If}{[forcedsrcicon],[link][forcedsrcicon][/link],[link][icon][/link]}}</div></td>
35<td style=\"text-align:top; {If}{[numleafdocs],padding-top:5px; padding-bottom: 5px,padding-top: 10px; padding-bottom: 10px;}\">{If}{[numleafdocs],[link][Title] ([numleafdocs])[/link],
36<table cellspacing=\"0px\">
37<tr>
38<td>
39 <b>Title:</b> [link][dc.Title][/link]
40</td>
41</tr>
42<tr>
43<td>
44 <b>Description:</b> [dc.Description]
45</td>
46</tr>
47</table>
48}</td>"
49
50format SearchVList "
51<td style=\"padding-top: 10px; padding-bottom: 10px;\"><div style=\"text-align:center\">[link]{Or}{[thumbicon],[parent(Top):forcedsrcicon],[child(1):thumbicon],[forcedsrcicon],[parent(Top):icon]}</div></td>
52<td style=\"text-align:top; padding-top: 10px; padding-bottom: 10px;\">
53<table cellspacing=\"0px\">
54<tr>
55<td>
56 <b>Title:</b> [link]{Or}{[parent(Top):dc.Title],[dc.Title]} {If}{[parent(Top):dc.Title],Page [Title]}[/link]
57</td>
58</tr>
59<tr>
60<td>
61 <b>Description:</b> {Or}{[parent(Top):dc.Description],[dc.Description]}
62</td>
63</tr>
64</table>
65</td>"
66
67format HList "[link][highlight][ex.Title][/highlight][/link]"
68
69format AllowExtendedOptions true
70##format DocumentHeading "{Or}{[parent(Top):dc.Title],[Title],untitled}<br>"
71format DocumentHeading "<h1>{Or}{[parent(Top):dc.Title],[dc.Title],[Title],untitled}</h1><br />
72{If}{[parent(Top):hasPages],<table align=\"center\" border=0 cellspacing=10 cellpadding=0>
73<tr>
74<td colspan=\'3\'>
75<center>
76<b>_page_ [Title]</b> _document:textnumpages_(_numpages_) [parent(Top):pdf.assoclink]
77</center>
78</td>
79</tr>
80
81<tr valign=middle>
82<td align=right>
83<!-- No chapters\, so we dont need the previous chapter links -->
84{If}{_document:prevarrow_,_document:prevarrow_}
85</td>
86<td align=center valign=top>_document:gotoform_</td>
87<td align=left>
88<!-- No chapters\, so we dont need the next chapter links -->
89{If}{_document:nextarrow_,_document:nextarrow_}
90</td>
91</tr>
92</table>}"
93
94format DocumentText "
95{If}{[Video],
96<div id=\"viewer\" style=\"height: 400px; overflow: auto; text-align: center; width: 100%\">
97 <div style=\"padding: 20px;\">
98 <object class=\"playerpreview\" type=\"application/x-shockwave-flash\" data=\"_httpprefix_/collect/[collection]/macros/flv_player/player_flv_maxi.swf\" width=\"360\" height=\"288\">
99 <param name=\"movie\" value=\"_httpprefix_/collect/[collection]/macros/flv_player/player_flv_maxi.swf\" />
100 <param name=\"allowFullScreen\" value=\"true\" />
101 <param name=\"FlashVars\" value=\"flv=_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Video]&amp;width=360&amp;height=288&amp;showstop=1&amp;showvolume=1&amp;showtime=1&amp;startimage=[videobackground]&amp;showfullscreen=0&amp;bgcolor1=333333&amp;bgcolor2=333333&amp;playercolor=333333&amp;showplayer=always&amp;autoplay=1\" />
102 Media not playing? Click <a href=\"_httpprefix_/collect/[collection]/macros/flv_player/player_flv_maxi.swf\">here</a> to access the file.
103 </object>
104 </div>
105</div>}
106
107{If}{[isBook][isPlan],
108{If}{_cgiargonlytext_,
109 <hr><h2><font size=\"-1\">[Title]</font></h2>
110 <p></p>
111<div>
112 [Text]
113</div>
114}}
115
116{If}{[Image],<center>
117<table width=_pagewidth_>
118<tr><td>
119<a href=\"_httpprefix_/collect/[collection]/index/assoc/[parent(Top):assocfilepath]/[Image]\">[screenicon]</a>
120</td></tr>
121{If}{[dc.Description],<tr><td>[dc.Description]</td></tr></table></center>}}
122"
123
124
125format DocumentButtons "Detach|Highlight"
126
127format SearchTypes "plain,form"
128
129collectionmeta collectionname [l=en] "Resources"
130collectionmeta .document:text [l=en] "text"
131collectionmeta .document:Title [l=en] "titles"
132collectionmeta .document:Source [l=en] "filenames"
133collectionmeta .text [l=en] "text"
134collectionmeta .Title [l=en] "titles"
135collectionmeta .Source [l=en] "filenames"
136collectionmeta .text,Title,Source,dc.Title,dc.Description [l=en] "ALL"
137
138collectionmeta collectionextra "_about:aboutthiscollection_"
139
140cgiarg shortname=fqf argdefault=TE
Note: See TracBrowser for help on using the repository browser.