Switch to unified view

a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf
1
# @(#$Id: mimeconf,v 1.15 2006-03-29 13:08:08 dockes Exp $  (C) 2004 J.F.Dockes
1
# @(#$Id: mimeconf,v 1.16 2006-04-01 07:34:21 dockes Exp $  (C) 2004 J.F.Dockes
2
2
3
# Recoll : associations of mime types to processing filters.
3
# Recoll : associations of mime types to processing filters.
4
# There are different sections for decompression, 'interning' for indexing
4
# There are different sections for decompression, 'interning' for indexing
5
# and preview, and external viewers
5
# and preview, and external viewers
6
6
7
## 
7
## #######################################
8
# Decompression: these types need a first pass to create a temp file to
8
# Decompression: these types need a first pass to create a temp file to
9
# work with. We use a script because uncompress utilities usually work in
9
# work with. We use a script because uncompress utilities usually work in
10
# place, which is not suitable. 
10
# place, which is not suitable. 
11
#
11
#
12
# The %t parameter will be substituted to the name of a temporary directory
12
# The %t parameter will be substituted to the name of a temporary directory
...
...
18
# stdout. 
18
# stdout. 
19
application/x-gzip  =  uncompress rcluncomp gunzip %f %t
19
application/x-gzip  =  uncompress rcluncomp gunzip %f %t
20
application/x-compress = uncompress rcluncomp gunzip %f %t
20
application/x-compress = uncompress rcluncomp gunzip %f %t
21
application/x-bzip2 =  uncompress rcluncomp bunzip2 %f %t
21
application/x-bzip2 =  uncompress rcluncomp bunzip2 %f %t
22
22
23
## 
23
## ###################################
24
# Filters for indexing and internal preview.
24
# Filters for indexing and internal preview.
25
# The external (exec) filters  output the document in simple html format,
25
# The external (exec) filters  output the document in simple html format,
26
# have a look at the scripts.
26
# have a look at the scripts.
27
[index]
27
[index]
28
application/msword = exec rcldoc
28
application/msword = exec rcldoc
...
...
37
application/vnd.sun.xml.math = exec rclsoff
37
application/vnd.sun.xml.math = exec rclsoff
38
application/vnd.sun.xml.writer = exec rclsoff
38
application/vnd.sun.xml.writer = exec rclsoff
39
application/vnd.sun.xml.writer.global = exec rclsoff
39
application/vnd.sun.xml.writer.global = exec rclsoff
40
application/vnd.sun.xml.writer.template = exec rclsoff
40
application/vnd.sun.xml.writer.template = exec rclsoff
41
application/x-dvi = exec rcldvi
41
application/x-dvi = exec rcldvi
42
42
audio/mpeg = exec rclmedia
43
image/vnd.djvu = exec rcldjvu
43
image/vnd.djvu = exec rcldjvu
44
45
audio/mpeg = exec rclmedia
46
47
message/rfc822 = internal
44
message/rfc822 = internal
48
49
text/html  = internal 
45
text/html  = internal 
50
text/plain = internal 
46
text/plain = internal 
51
text/rtf = exec rclrtf
47
text/rtf = exec rclrtf
52
text/x-gaim-log = exec rclgaim
48
text/x-gaim-log = exec rclgaim
53
text/x-mail = internal
49
text/x-mail = internal
54
50
55
## 
51
## ##########################################
56
# External viewers, launched when you double-click a result entry
52
# External viewers, launched when you on a result entry 'edit' link
57
[view]
53
[view]
58
text/plain = xemacs %f
54
application/msword = openoffice %f
59
#text/html = firefox -remote "openFile(%u)"
60
text/html = firefox %u
61
application/pdf  = xpdf %f
55
application/pdf  = xpdf %f
62
application/postscript = gv %f
56
application/postscript = gv %f
63
application/msword = openoffice %f
64
application/vnd.sun.xml.calc = openoffice %f
57
application/vnd.sun.xml.calc = openoffice %f
65
application/vnd.sun.xml.calc.template = openoffice %f
58
application/vnd.sun.xml.calc.template = openoffice %f
66
application/vnd.sun.xml.draw = openoffice %f
59
application/vnd.sun.xml.draw = openoffice %f
67
application/vnd.sun.xml.draw.template = openoffice %f
60
application/vnd.sun.xml.draw.template = openoffice %f
68
application/vnd.sun.xml.impress = openoffice %f
61
application/vnd.sun.xml.impress = openoffice %f
69
application/vnd.sun.xml.impress.template = openoffice %f
62
application/vnd.sun.xml.impress.template = openoffice %f
70
application/vnd.sun.xml.math = openoffice %f
63
application/vnd.sun.xml.math = openoffice %f
71
application/vnd.sun.xml.writer = openoffice %f
64
application/vnd.sun.xml.writer = openoffice %f
72
application/vnd.sun.xml.writer.global = openoffice %f
65
application/vnd.sun.xml.writer.global = openoffice %f
73
application/vnd.sun.xml.writer.template = openoffice %f
66
application/vnd.sun.xml.writer.template = openoffice %f
67
application/x-dvi = xdvi %f
68
audio/mpeg = xmms %f
69
image/jpeg = xv %f
70
image/png = xv %f
74
image/vnd.djvu = djview %f
71
image/vnd.djvu = djview %f
75
application/x-dvi = xdvi %f
72
# Or firefox -remote "openFile(%u)"
73
text/html = firefox %u
74
text/plain = gnuclient -q %f
75
text/x-c = gnuclient -q %f
76
76
77
audio/mpeg = xmms %f
77
## #############################################
78
image/png = xv %f
78
# Icons to be used in the result list if required by gui config
79
image/jpeg = xv %f
80
81
# Icons to be used in the result list.
82
[icons]
79
[icons]
83
application/msword = wordprocessing
80
application/msword = wordprocessing
84
application/pdf = pdf
81
application/pdf = pdf
85
application/postscript = postscript
82
application/postscript = postscript
86
application/vnd.sun.xml.calc = spreadsheet
83
application/vnd.sun.xml.calc = spreadsheet
...
...
91
application/vnd.sun.xml.impress.template = presentation
88
application/vnd.sun.xml.impress.template = presentation
92
application/vnd.sun.xml.writer = wordprocessing
89
application/vnd.sun.xml.writer = wordprocessing
93
application/vnd.sun.xml.writer.global = wordprocessing
90
application/vnd.sun.xml.writer.global = wordprocessing
94
application/vnd.sun.xml.writer.template = wordprocessing
91
application/vnd.sun.xml.writer.template = wordprocessing
95
audio/mpeg = sownd
92
audio/mpeg = sownd
93
message/rfc822 = message
96
text/html = html
94
text/html = html
97
text/plain = txt
95
text/plain = txt
98
text/x-mail = message
96
text/x-mail = message
99
message/rfc822 = message
100