|
a/src/README |
|
b/src/README |
|
... |
|
... |
92 |
4.4.1. Main configuration file
|
92 |
4.4.1. Main configuration file
|
93 |
|
93 |
|
94 |
4.4.2. The mimemap file
|
94 |
4.4.2. The mimemap file
|
95 |
|
95 |
|
96 |
4.4.3. The mimeconf file
|
96 |
4.4.3. The mimeconf file
|
|
|
97 |
|
|
|
98 |
4.4.4. The mimeview file
|
97 |
|
99 |
|
98 |
----------------------------------------------------------------------
|
100 |
----------------------------------------------------------------------
|
99 |
|
101 |
|
100 |
Chapter 1. Introduction
|
102 |
Chapter 1. Introduction
|
101 |
|
103 |
|
|
... |
|
... |
496 |
window for the document. Further Preview clicks for the same search will
|
498 |
window for the document. Further Preview clicks for the same search will
|
497 |
open tabs in the existing preview window. You can use Shift+Click to force
|
499 |
open tabs in the existing preview window. You can use Shift+Click to force
|
498 |
the creation of another preview window, which may be useful to view the
|
500 |
the creation of another preview window, which may be useful to view the
|
499 |
documents side by side.
|
501 |
documents side by side.
|
500 |
|
502 |
|
501 |
Clicking the Edit link will attempt to start an external viewer (have a
|
503 |
Clicking the Edit link will attempt to start an external viewer. The
|
502 |
look at the mimeconf configuration file to see how these are configured).
|
504 |
viewers can be configured through the user preferences dialog, or by
|
|
|
505 |
editing the mimeview configuration file.
|
503 |
|
506 |
|
504 |
The Preview and Edit edit links may not be present for all entries,
|
507 |
The Preview and Edit edit links may not be present for all entries,
|
505 |
meaning that Recoll has no configured way to preview a given file type
|
508 |
meaning that Recoll has no configured way to preview a given file type
|
506 |
(which was indexed by name only), or no configured external viewer for the
|
509 |
(which was indexed by name only), or no configured external viewer for the
|
507 |
file type. This can sometimes be adjusted simply by tweaking the mimemap
|
510 |
file type. This can sometimes be adjusted simply by tweaking the mimemap
|
508 |
and mimeconf configuration files.
|
511 |
and mimeview configuration files (the latter can be modified with the user
|
|
|
512 |
preferences dialog).
|
509 |
|
513 |
|
510 |
You can click on the Query details link at the top of the results page to
|
514 |
You can click on the Query details link at the top of the results page to
|
511 |
see the query actually performed, after stem expansion and other
|
515 |
see the query actually performed, after stem expansion and other
|
512 |
processing.
|
516 |
processing.
|
513 |
|
517 |
|
|
... |
|
... |
972 |
|
976 |
|
973 |
Recoll uses external applications to index some file types. You need to
|
977 |
Recoll uses external applications to index some file types. You need to
|
974 |
install them for the file types that you wish to have indexed (these are
|
978 |
install them for the file types that you wish to have indexed (these are
|
975 |
run-time dependencies. None is needed for building Recoll):
|
979 |
run-time dependencies. None is needed for building Recoll):
|
976 |
|
980 |
|
|
|
981 |
* Openoffice: supported natively, but needs the unzip command to be
|
|
|
982 |
installed.
|
|
|
983 |
|
977 |
* PDF: pdftotext is part of the Xpdf package.
|
984 |
* PDF: pdftotext is part of the Xpdf package.
|
978 |
|
985 |
|
979 |
* Postscript: pstotext.
|
986 |
* Postscript: pstotext.
|
980 |
|
987 |
|
981 |
* MS Word: antiword.
|
988 |
* MS Word: antiword.
|
|
... |
|
... |
1261 |
in some cases. Example: gaim logs have a .txt extension but should be
|
1268 |
in some cases. Example: gaim logs have a .txt extension but should be
|
1262 |
handled specially, which is possible because they are usually all located
|
1269 |
handled specially, which is possible because they are usually all located
|
1263 |
in one place.
|
1270 |
in one place.
|
1264 |
|
1271 |
|
1265 |
mimemap also has a recoll_noindex variable which is a list of suffixes.
|
1272 |
mimemap also has a recoll_noindex variable which is a list of suffixes.
|
1266 |
Matching files will be skipped (avoids unnecessary decompressions or file
|
1273 |
Matching files will be skipped (which avoids unnecessary decompressions or
|
1267 |
executions). This is partially redundant with skippedNames in the main
|
1274 |
file executions). This is partially redundant with skippedNames in the
|
1268 |
configuration file, with two differences: it will not affect directories,
|
1275 |
main configuration file, with two differences: it will not affect
|
1269 |
and it can be changed for any sub-directory.
|
1276 |
directories, and it cannot be made dependant on the file-system location
|
|
|
1277 |
(it is a configuration-wide parameter). You could accomplish with
|
|
|
1278 |
skippedNames anything that recoll_noindex does. The latter is used mostly
|
|
|
1279 |
for things known to be unindexable by a given Recoll version. Having it
|
|
|
1280 |
there avoids cluttering the more user-oriented and locally customized
|
|
|
1281 |
skippedNames.
|
1270 |
|
1282 |
|
1271 |
----------------------------------------------------------------------
|
1283 |
----------------------------------------------------------------------
|
1272 |
|
1284 |
|
1273 |
4.4.3. The mimeconf file
|
1285 |
4.4.3. The mimeconf file
|
1274 |
|
1286 |
|
1275 |
mimeconf specifies how the different mime types are handled for indexing,
|
1287 |
mimeconf specifies how the different mime types are handled for indexing,
|
1276 |
and for display.
|
1288 |
and which icons are displayed in the recoll result lists.
|
1277 |
|
1289 |
|
1278 |
Changing the indexing parameters is probably not a good idea except if you
|
1290 |
Changing the parameters in the [index] section is probably not a good idea
|
1279 |
are a Recoll developers.
|
1291 |
except if you are a Recoll developer.
|
1280 |
|
1292 |
|
1281 |
You may want to adjust the external viewers defined in (ie: HTML is either
|
1293 |
The [icons] section allows you to change the icons which are displayed by
|
1282 |
previewed internally or displayed using firefox, but you may prefer
|
1294 |
recoll in the result lists (the values are the basenames of the png images
|
1283 |
mozilla, your openoffice.org program might be named oofice instead of
|
|
|
1284 |
openoffice ...). Look for the [view] section.
|
|
|
1285 |
|
|
|
1286 |
You can also change the icons which are displayed by recoll in the result
|
|
|
1287 |
lists (the values are the basenames of the png images inside the iconsdir
|
|
|
1288 |
directory (specified in recoll.conf).
|
1295 |
inside the iconsdir directory (specified in recoll.conf).
|
1289 |
|
1296 |
|
1290 |
----------------------------------------------------------------------
|
1297 |
----------------------------------------------------------------------
|
|
|
1298 |
|
|
|
1299 |
4.4.4. The mimeview file
|
|
|
1300 |
|
|
|
1301 |
mimeview specifies which programs are started when you click on an Edit
|
|
|
1302 |
link in a result list. Ie: HTML is normally displayed using firefox, but
|
|
|
1303 |
you may prefer Konqueror, your openoffice.org program might be named
|
|
|
1304 |
oofice instead of openoffice etc.
|
|
|
1305 |
|
|
|
1306 |
Changes to this file can be done by direct editing, or through the recoll
|
|
|
1307 |
user preferences dialog.
|
|
|
1308 |
|
|
|
1309 |
As for the other configuration files, the normal usage is to have a
|
|
|
1310 |
mimeview inside your own configuration directory, with just the
|
|
|
1311 |
non-default entries, which will override those from the central
|
|
|
1312 |
configuration file.
|
|
|
1313 |
|
|
|
1314 |
Please note that these entries must be placed under a [view] section.
|
|
|
1315 |
|
|
|
1316 |
----------------------------------------------------------------------
|