Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Francois Dockes
recoll
Commits
4487ef72
Commit
4487ef72
authored
Jan 19, 2017
by
Jean-Francois Dockes
Browse files
doc
parent
de7c0767
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/doc/user/usermanual.xml
View file @
4487ef72
...
...
@@ -6021,13 +6021,18 @@ x-my-tag = mailmytag
<para><filename>
mimemap
</filename>
specifies the
file name extension to MIME type mappings.
</para>
<para>
For file names without an extension, or with an unknown one,
a system command (
<command>
file
</command>
<option>
-i
</option>
, or
<command>
xdg-mime
</command>
) will be executed to determine the MIME
type (this can be switched off, or the command changed inside the
main configuration file).
</para>
<para>
All extension values in
<filename>
mimemap
</filename>
must be
entered in lower case. File names extensions are lower-cased for
comparison during indexing, meaning that an upper case
<filename>
mimemap
</filename>
entry will never be matched.
</para>
<para>
The mappings can be specified on a per-subtree basis,
which may be useful in some cases. Example:
<application>
okular
</application>
notes have a
...
...
src/sampleconf/mimemap
View file @
4487ef72
# (C) 2004 J.F.Dockes
# Associations of file name extensions to mime types
#
# All entries must be in lower case characters. File name extensions are
# lower-cased for comparison during indexing, meaning that an upper or
# mixed case entry will never be matched.
.txt = text/plain
.text = text/plain
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment