File: example8.config

package info (click to toggle)
swish-e 2.4.3-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,308 kB
  • ctags: 7,642
  • sloc: ansic: 47,402; sh: 8,508; perl: 5,281; makefile: 723; xml: 9
file content (50 lines) | stat: -rwxr-xr-x 1,293 bytes parent folder | download | duplicates (11)
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
45
46
47
48
49
50
# ----- Example 8 - Filtering PDF files -------
#
#  Please see the swish-e documentation for
#  information on configuration directives.
#  Documentation is included with the swish-e
#  distribution, and also can be found on-line
#  at http://swish-e.org
#
#
#  This example demonstrates how to use swish's
#  "filter" feature to index PDF documents.
#
#  Filters can be used to filter PDF or MS Word documents
#  to uncompress gzipped files, or to modify content
#  before indexing.
#
#  You will need the xpdf package installed to use
#  this filter.
#
#  See filter-bin/_pdf2html.pl for more information.
#
#  Please see the documentation on File Filters in
#  the SWISH-CONFIG.pod manual page.
#
#  Note:
#  If you are filtering many documents and/or using
#  a perl script to filter, see example9.config for
#  perhaps a faster way to filter.
#
#---------------------------------------------------

# Include our site-wide configuration settings:

IncludeConfigFile example4.config

# Index the example config files and .pdf files
# in the current directory (and sub directories)

IndexDir .
IndexOnly .config .pdf


# Assign the pdf2text.pl filter to .pdf files
# Please see docs on what data can be passed to the filter.

FileFilter .pdf ../filter-bin/_pdf2html.pl


# end of example