Add support for indexing fictionbook documents

This commit is contained in:
Jean-Francois Dockes
2010-02-08 11:25:08 +01:00
parent 62da0f8b02
commit 47f76c6c42
3 changed files with 145 additions and 0 deletions
+3
View File
@@ -89,6 +89,7 @@ text/html = internal
text/plain = internal
text/rtf = exec unrtf --nopict --html;charset=iso-8859-1;mimetype=text/html
text/x-c = internal
text/x-fictionbook = exec rclfb2
text/x-gaim-log = exec rclgaim
text/x-html-sidux-man = exec rclsiduxman
text/x-mail = internal
@@ -151,6 +152,7 @@ text/html = html
text/plain = txt
text/x-c = source
text/x-c++ = source
text/x-fictionbook = document
text/x-html-sidux-man = sidux-book
text/x-mail = message
text/x-man = document
@@ -187,6 +189,7 @@ text = \
text/rtf \
text/x-c \
text/x-c++ \
text/x-fictionbook \
text/x-html-sidux-man \
text/x-man \
text/x-python \
+2
View File
@@ -107,6 +107,8 @@
.tiff = image/tiff
.tif = image/tiff
.fb2 = text/x-fictionbook
# A list of suffixes (name endings) that we don't want to touch at all.
# Having these explicitely listed speeds things up a bit by avoiding
# unneeded decompression or 'file' calls. File names still get indexed if