|
a/src/sampleconf/mimemap |
|
b/src/sampleconf/mimemap |
1 |
# @(#$Id: mimemap,v 1.14 2006-03-29 13:08:08 dockes Exp $ (C) 2004 J.F.Dockes
|
1 |
# @(#$Id: mimemap,v 1.15 2006-04-01 07:34:21 dockes Exp $ (C) 2004 J.F.Dockes
|
|
|
2 |
# Recoll: associations of file name extensions to mime types
|
2 |
|
3 |
|
3 |
# Recoll: associations of file name extensions to mime types
|
|
|
4 |
.txt = text/plain
|
4 |
.txt = text/plain
|
5 |
.text = text/plain
|
5 |
.text = text/plain
|
6 |
.d = text/plain
|
6 |
.d = text/plain
|
|
|
7 |
|
|
|
8 |
# Source files. Defining them as text/x-c will enable ext viewer. If
|
|
|
9 |
# text/plain they will be somewhat indexed
|
|
|
10 |
.cpp = text/x-c
|
|
|
11 |
.h = text/x-c
|
|
|
12 |
.c = text/x-c
|
|
|
13 |
.cc = text/x-c
|
7 |
|
14 |
|
8 |
.rtf = text/rtf
|
15 |
.rtf = text/rtf
|
9 |
|
16 |
|
10 |
.html = text/html
|
17 |
.html = text/html
|
11 |
.htm = text/html
|
18 |
.htm = text/html
|
|
... |
|
... |
23 |
.djvu = image/vnd.djvu
|
30 |
.djvu = image/vnd.djvu
|
24 |
|
31 |
|
25 |
.gz = application/x-gzip
|
32 |
.gz = application/x-gzip
|
26 |
.Z = application/x-gzip
|
33 |
.Z = application/x-gzip
|
27 |
.bz2 = application/x-bzip2
|
34 |
.bz2 = application/x-bzip2
|
28 |
.Z = application/x-compress
|
35 |
#.Z = application/x-compress
|
29 |
|
36 |
|
30 |
.doc = application/msword
|
37 |
.doc = application/msword
|
31 |
|
38 |
|
32 |
# OpenOffice / opendocument. We handle opendocument as old openoffice files
|
39 |
# OpenOffice / opendocument. We handle opendocument as old openoffice files
|
33 |
# for now
|
40 |
# for now
|
|
... |
|
... |
56 |
# A list of stuff that we don't want to touch at all (for now). Having the
|
63 |
# A list of stuff that we don't want to touch at all (for now). Having the
|
57 |
# suffixes listed in there speeds up things quite a lot by avoiding
|
64 |
# suffixes listed in there speeds up things quite a lot by avoiding
|
58 |
# unneeded decompression or 'file' calls. File names still get indexed if
|
65 |
# unneeded decompression or 'file' calls. File names still get indexed if
|
59 |
# indexallfilenames is set
|
66 |
# indexallfilenames is set
|
60 |
recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \
|
67 |
recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \
|
61 |
.c .h .cpp .m4 .tcl .js .sh .pl .awk .php .php3 \
|
68 |
.m4 .tcl .js .sh .pl .awk \
|
62 |
.o .lib .dll .a \
|
69 |
.o .lib .dll .a \
|
63 |
.dat .bak .rdf .log .db .ini .msf \
|
70 |
.dat .bak .rdf .log .db .ini .msf \
|
64 |
.gnm .gnumeric .tex \
|
71 |
.gnm .gnumeric .tex \
|
65 |
.gif .bmp .xpm \
|
72 |
.gif .bmp .xpm \
|
66 |
,v ~ #
|
73 |
,v ~ #
|
67 |
|
74 |
|
|
|
75 |
# Special handling of .txt files inside ~/.gaim directory
|
68 |
[~/.gaim]
|
76 |
[~/.gaim]
|
69 |
.txt = text/x-gaim-log
|
77 |
.txt = text/x-gaim-log
|