added epub + chm/info rclaptg

This commit is contained in:
Jean-Francois Dockes 2012-10-11 14:04:54 +02:00
parent 4e3a33cf49
commit abdf4c12b5
3 changed files with 13 additions and 6 deletions

View file

@ -32,6 +32,7 @@ application/x-lzma = uncompress rcluncomp unxz %f %t
# A different format (ie text/plain), and a character set can be defined for # A different format (ie text/plain), and a character set can be defined for
# each filter, see the exemples below (ie: msword) # each filter, see the exemples below (ie: msword)
[index] [index]
application/epub+zip = execm rclepub
# MSWORD: the rcldoc script handles a number of marginal case that raw # MSWORD: the rcldoc script handles a number of marginal case that raw
# antiword won't: # antiword won't:
@ -142,6 +143,7 @@ text/xml = exec rclxml
## ############################################# ## #############################################
# Icons to be used in the result list if required by gui config # Icons to be used in the result list if required by gui config
[icons] [icons]
application/epub+zip = document
application/msword = wordprocessing application/msword = wordprocessing
application/ogg = sownd application/ogg = sownd
application/pdf = pdf application/pdf = pdf
@ -231,6 +233,7 @@ text/xml = document
# If you add/remove categories, you may also want to change the # If you add/remove categories, you may also want to change the
# "guifilters" section below. # "guifilters" section below.
text = \ text = \
application/epub+zip \
application/msword \ application/msword \
application/pdf \ application/pdf \
application/postscript \ application/postscript \
@ -245,12 +248,12 @@ text = \
application/x-awk \ application/x-awk \
application/x-chm \ application/x-chm \
application/x-dvi \ application/x-dvi \
application/x-gnuinfo \
application/x-kword \ application/x-kword \
application/x-lyx \ application/x-lyx \
application/x-okular-notes \ application/x-okular-notes \
application/x-perl \ application/x-perl \
application/x-scribus \ application/x-scribus \
application/x-gnuinfo \
application/x-shellscript \ application/x-shellscript \
application/x-tex \ application/x-tex \
application/xml \ application/xml \

View file

@ -70,6 +70,8 @@
.xls = application/vnd.ms-excel .xls = application/vnd.ms-excel
.chm = application/x-chm .chm = application/x-chm
.epub = application/epub+zip
# OpenOffice / opendocument. We handle opendocument as old openoffice files # OpenOffice / opendocument. We handle opendocument as old openoffice files
# for now # for now
.sxc = application/vnd.sun.xml.calc .sxc = application/vnd.sun.xml.calc

View file

@ -13,12 +13,14 @@
# definition. This is useful, e.g. for pdf, where we can pass additional # definition. This is useful, e.g. for pdf, where we can pass additional
# parameters like page to open and search string when using the local # parameters like page to open and search string when using the local
# definition # definition
xallexcepts = application/pdf application/postscript application/x-dvi xallexcepts = application/pdf application/postscript application/x-dvi \
text/html|gnuinfo text/html|chm
[view] [view]
# Pseudo entry used if the 'use desktop' preference is set in the GUI # Pseudo entry used if the 'use desktop' preference is set in the GUI
application/x-all = xdg-open %f application/x-all = xdg-open %f
application/epub+zip = ebook-viewer %f
application/x-kword = kword %f application/x-kword = kword %f
application/x-abiword = abiword %f application/x-abiword = abiword %f
@ -102,10 +104,10 @@ text/x-shellscript = emacsclient %f
# Or firefox -remote "openFile(%u)" # Or firefox -remote "openFile(%u)"
text/html = firefox %u text/html = firefox %u
text/html|gnuinfo = rclshowinfo %F %(title) text/html|gnuinfo = rclshowinfo %F %(title);ignoreipath=1
application/x-webarchive = konqueror %f application/x-webarchive = konqueror %f
text/x-fictionbook = calibre %f text/x-fictionbook = ebook-viewer %f
application/x-tex = emacsclient %f application/x-tex = emacsclient %f
application/xml = emacsclient %f application/xml = emacsclient %f
@ -119,7 +121,7 @@ text/x-c++ = emacsclient %f
text/x-csv = libreoffice %f text/x-csv = libreoffice %f
text/x-html-sidux-man = konqueror %f text/x-html-sidux-man = konqueror %f
text/x-html-aptosid-man = iceweasel %f text/x-html-aptosid-man = iceweasel %f
text/x-chm-html = openchm %f %i text/html|chm = rclshowchm %f %i
text/x-ini = emacsclient %f text/x-ini = emacsclient %f
text/x-man = xterm -u8 -e "groff -T ascii -man %f | more" text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
text/x-python = idle %f text/x-python = idle %f