File: README.Debian

package info (click to toggle)
swish-e 2.4.7-7.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 8,188 kB
  • sloc: ansic: 51,640; sh: 8,889; perl: 3,019; makefile: 591; xml: 9
file content (44 lines) | stat: -rw-r--r-- 1,424 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
swish-e for Debian
==================

For users:
----------

To add a few filters to swish-e, add the following lines to your Swish 
configuration file (you'll need to install xpdf-utils, wv and libmp3-tag-perl):

  FilterDir   /usr/share/doc/swish-e/examples/filter-bin
  Filefilter  .pdf   swish_filter.pl %p
  Filefilter  .doc   swish_filter.pl %p
  Filefilter  .xls   /usr/bin/xls2csv %p
  Filefilter  .ppt   /usr/bin/catppt %p
  Filefilter  .vsd   /usr/bin/wvSummary %p
  Filefilter  .mpp   /usr/bin/wvSummary %p
  Filefilter  .mp3   swish_filter.pl %p
  # Open Office filter
  FileFilterMatch "/usr/bin/unzip" "-p %p content.xml" /\.(sxw|sxc|sxg|sxi|odt)$/i
  # Simple Maildir filter
  FileFilterMatch "sed" "-n 1,/base64/p < %p" /\,S$/
  # Improved Maildir filter which needs the 'hypermail' package
  # FileFilterMatch "/usr/share/doc/swish-e/examples/swish-mail" %p /\,S$/

You can find even more filter in the sample configuration file:
/usr/share/doc/swish-e/examples/swish.config
  
Indexing the Debian documentation:

In the examples directory, 'swish-debiandoc' indexes the whole Debian 
documentation, and 'search-debiandoc' searches the index created in 
/var/cache/swish-e/.

Web interface:

If you need a WEB interface start with 'swish.cgi'. It's very simple to set-up 
and use.

For developers:
---------------

If you need headers and static swish-e libraries, please install the
swish-e-dev package.