/[webpac-proto]/search/config.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /search/config.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations)
Thu Oct 24 18:25:20 2002 UTC (21 years, 5 months ago) by dpavlin
Branch: MAIN
Changes since 1.10: +8 -0 lines
various on-line resource fixes

1 #!/usr/bin/perl
2
3 use strict;
4
5 ### this is for search
6
7 # define fileds in basic search
8 @main::NormalSearchFieldNames = (
9 '700+',
10 '200+',
11 '610',
12 '210+',
13 'ISN',
14 );
15 $main::NormalSearchDropdowns = 3 ;
16
17 # define fileds in Advanced search
18 @main::AdvancedSearchFieldNames = (
19 '700+',
20 '200+',
21 '610',
22 '210+',
23 '225',
24 '300+',
25 '330',
26 '464',
27 '675',
28 '686',
29 '990',
30 '991',
31 'ISN',
32 'MFN',
33 '215+',
34 '101',
35 );
36 $main::AdvancedSearchDropdowns = 4 ;
37
38 ### this is for output
39
40 # Field Names
41 %default::FieldNames = (
42 '700+', 'Autor(i)',
43 '200+', 'Naslov',
44 '205', 'Izdanje',
45 '210+', 'Izdavanje',
46 '215+', 'Materijalni opis',
47 '101', 'Jezik',
48 '225', 'Nakladnièka cjelina',
49 '300+', 'Napomena',
50 '330', 'Sadr¾aj',
51 '423', 'Prikriveni radovi',
52 '464', 'Analitièki radovi',
53 '610', 'Kljuène rijeèi',
54 '675+', 'Klasifik. oznaka',
55 '990', 'Signatura',
56 '991', 'Inventarni broj',
57 'ISBN', 'ISBN',
58 'knjiz','Knji¾nica',
59 'sv', 'Podaci o svescima',
60 'ISSN', 'ISSN',
61 '326', 'Uèestalost izla¾enja',
62 '992', 'Podaci o fondu',
63 'tip', 'Tip graðe',
64 '856', 'URI',
65 );
66
67
68 # Field Display Order
69 @default::FieldDisplayOrder = (
70 'ISBN',
71 'ISSN',
72 '700+',
73 '200+',
74 '205',
75 '210+',
76 '326',
77 '215+',
78 '101',
79 '225',
80 '300+',
81 '330',
82 '423',
83 '464',
84 '610',
85 '675+',
86 '990',
87 '991',
88 '992',
89 'sv',
90 '856',
91 'knjiz',
92 'tip',
93 );
94
95 # separators
96 %default::Separator = (
97 '700+', '; ',
98 '990', ' ',
99 '991', ', ',
100 '300+', '.- ',
101 '225', ', ',
102 '610', ' * ',
103 '101', '; '
104
105 );
106
107 # tip gradje
108 %default::tip = (
109 'LIBRI', "Knjiga",
110 # 'ARTI', "Èlanak/poglavlje",
111 'PERI', "Èasopis",
112 'online', "On-line èasopisi",
113 );
114 $default::max_display_url_len = 80;
115
116 # Search.cgi Configuration Constrants
117
118 # List of default configuration settings
119 %main::DefaultSettings = (
120 'lowest-year', '1990',
121 'max-score', '1000',
122 'allow-summary-displays','no',
123 'allow-similiar-search','no',
124 'allow-regular-searches','no',
125 'deliver-empty-results-from-regular-search','no',
126 # 'allow-relevance-feedback-searches','no',
127 'mailer-application','/usr/lib/sendmail',
128 'server-log','mps.log',
129 'output-colums','yes',
130 'show-nr-colums',3,
131 'show-past-date-list','no',
132 'database-for-SearchFieldDescriptions','ps',
133 );
134
135 # Hash of icon/images names that we use
136 %main::ImageNames = (
137 'banner', 'banner.gif',
138 'collapse', 'collapse.gif',
139 'expand', 'expand.gif',
140 );
141
142 # Javascript magic
143 $main::JavaScript_SetChecked = '<SCRIPT LANGUAGE="JavaScript">
144 <!-- hide
145 function SetChecked(val) {
146 dml=document.Search;
147 len = dml.elements.length;
148 var i=0;
149 for( i=0 ; i<len ; i++) {
150 if (dml.elements[i].name==\'Database\') {
151 dml.elements[i].checked=val;
152 }
153 }
154 }
155 // -->
156 </SCRIPT>
157 ';
158
159 # databases which don't have to be in database.cf (for example filled by
160 # other external script like web crawler)
161 @main::always_selected_databases = (
162 "sciencedirect",
163 );
164
165 1;

  ViewVC Help
Powered by ViewVC 1.1.26