/[swish]/trunk/mailman/.swishcgi.conf
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 /trunk/mailman/.swishcgi.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 77 - (hide annotations)
Sun Apr 18 06:31:38 2004 UTC (20 years ago) by dpavlin
File size: 1588 byte(s)
index MailMan archives

1 dpavlin 77 return {
2     title => "Search the MailMan List Archive",
3     swish_binary => '/usr/bin/swish-e',
4     display_props => [qw/ name email sent /],
5     sorts => [qw/swishrank swishtitle email sent/],
6     secondary_sort => [qw/sent desc/],
7     metanames => [qw/swishdefault swishtitle name email/],
8     name_labels => {
9     swishrank => 'Rank',
10     swishtitle => 'Subject Only',
11     name => "Poster's Name",
12     email => "Poster's Email",
13     sent => 'Message Date',
14     swishdefault => 'Subject & Body',
15     },
16    
17     highlight => {
18     package => 'SWISH::PhraseHighlight',
19     show_words => 10, # Number of swish words words to show around highlighted word
20     max_words => 100, # If no words are found to highlighted then show this many words
21     occurrences => 6, # Limit number of occurrences of highlighted words
22     highlight_on => '<font style="background:#FFFF99">',
23     highlight_off => '</font>',
24     meta_to_prop_map => { # this maps search metatags to display properties
25     swishdefault => [ qw/swishtitle swishdescription/ ],
26     swishtitle => [ qw/swishtitle/ ],
27     email => [ qw/email/ ],
28     name => [ qw/name/ ],
29     swishdocpath => [ qw/swishdocpath/ ],
30     },
31     },
32     date_ranges => {
33     property_name => 'sent', # property name to limit by
34     time_periods => [
35     'All',
36     'Today',
37     'Yesterday',
38     'This Week',
39     'Last Week',
40     'Last 90 Days',
41     'This Month',
42     'Last Month',
43     ],
44    
45     line_break => 0,
46     default => 'All',
47     date_range => 1,
48     },
49     };
50    

  ViewVC Help
Powered by ViewVC 1.1.26