/[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

Annotation of /search/config.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations)
Mon Jun 24 17:52:31 2002 UTC (19 years, 3 months ago) by dpavlin
Branch: MAIN
Changes since 1.3: +2 -4 lines
syntetic filed 'knjiz' == database description + mfn

1 dpavlin 1.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     'ISBN',
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     'ISBN',
32     'MFN',
33     '215+',
34     );
35     $main::AdvancedSearchDropdowns = 4 ;
36    
37     ### this is for output
38    
39     # Field Names
40     %default::FieldNames = (
41     '700+', 'Autor(i)',
42     '200+', 'Naslov',
43     '205', 'Izdanje',
44     '210+', 'Izdavanje',
45     '215+', 'Materijalni opis',
46     '225', 'Nakladnièka cjelina',
47     '300+', 'Napomena',
48     '330', 'Sadr¾aj',
49     '423', 'Prikriveni radovi',
50     '464', 'Analitièki radovi',
51     '610', 'Kljuène rijeèi',
52     '675+', 'Klasifik. oznaka',
53     '990', 'Signatura',
54     '991', 'Inventarni broj',
55     'ISBN', 'ISBN',
56 dpavlin 1.4 'knjiz','Knji¾nica',
57 dpavlin 1.1 'sv', 'Podaci o svescima',
58     );
59    
60    
61     # Field Display Order
62     @default::FieldDisplayOrder = (
63     'ISBN',
64     '700+',
65     '200+',
66     '205',
67     '210+',
68     '215+',
69     '225',
70     '300+',
71     '330',
72     '423',
73     '464',
74     '610',
75     '675+',
76     '990',
77     '991',
78     'sv',
79 dpavlin 1.4 'knjiz',
80 dpavlin 1.1
81     );
82    
83     # separators
84     %default::Separator = (
85 dpavlin 1.3 '700+', '; ',
86 dpavlin 1.1 '990', ' ',
87     '991', ', ',
88     '300+', '.- ',
89     '225', ', ',
90     '610', ' * ',
91    
92     );
93    
94 dpavlin 1.2 # Search.cgi Configuration Constrants
95    
96     # List of default configuration settings
97     %main::DefaultSettings = (
98     'lowest-year', '1990',
99     'max-score', '1000',
100     'allow-summary-displays','no',
101     'allow-similiar-search','no',
102     'allow-regular-searches','no',
103     'deliver-empty-results-from-regular-search','no',
104     # 'allow-relevance-feedback-searches','no',
105     'mailer-application','/usr/lib/sendmail',
106     'server-log','mps.log',
107     'output-colums','yes',
108     'show-nr-colums',3,
109     'show-past-date-list','no',
110     'database-for-SearchFieldDescriptions','ps',
111     );
112    
113    
114 dpavlin 1.1 1;

  ViewVC Help
Powered by ViewVC 1.1.26