more filter cleanup: factorize code in the vanilla xslt ones, move a few more to python.

This commit is contained in:
Jean-Francois Dockes
2018-06-04 13:30:09 +02:00
parent 2a45f7fef6
commit 211ea8010c
17 changed files with 373 additions and 697 deletions
+3 -5
View File
@@ -118,12 +118,12 @@ application/x-dvi = exec rcldvi
application/x-flac = execm rclaudio
application/x-gnote = execm rclxml.py
application/x-gnuinfo = execm rclinfo
application/x-gnumeric = exec rclgnm
application/x-gnumeric = execm rclgnm.py
application/x-kword = exec rclkwd
application/x-lyx = exec rcllyx
application/x-mimehtml = internal message/rfc822
#application/x-mobipocket-ebook = execm rclmobi
application/x-okular-notes = exec rclokulnote
application/x-okular-notes = execm rclokulnote.py
application/x-perl = internal text/plain
# Returned by xdg-mime for .php. Future-proofing
application/x-php = internal text/plain
@@ -168,9 +168,8 @@ text/css = internal text/plain
application/javascript = internal text/plain
text/x-bibtex = exec rclbibtex.sh ; mimetype = text/plain
text/x-csv = internal text/plain
text/x-fictionbook = exec rclfb2
text/x-fictionbook = execm rclfb2.py
text/x-gaim-log = exec rclgaim
text/x-html-sidux-man = exec rclsiduxman
text/x-html-aptosid-man = exec rclaptosidman
text/x-lua = internal
text/x-chm-html = internal text/html
@@ -283,7 +282,6 @@ text/x-c++ = source
text/x-csv = txt
text/x-fictionbook = document
text/x-html-aptosid-man = aptosid-book
text/x-html-sidux-man = sidux-book
text/x-ini = txt
text/x-bibtex = txt
text/x-lua = source