From a9e43ad95069dc02672a64c5725bbb34f44b0926 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 23 Jul 2014 10:21:37 +0200 Subject: [PATCH] mimeconf: create entries for application/javascript and application/x-php (for using xdg-mime) --- src/sampleconf/mimeconf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index d53e27d8..13403d3b 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -42,6 +42,8 @@ application/x-lzma = uncompress rcluncomp unxz %f %t # each filter, see the exemples below (ie: msword) [index] application/epub+zip = execm rclepub +# Returned by xdg-mime for .js. Future-proofing +application/javascript = internal text/plain # MSWORD: the rcldoc script handles a number of marginal case that raw # antiword won't: @@ -107,6 +109,8 @@ application/x-mimehtml = internal message/rfc822 #application/x-mobipocket-ebook = execm rclmobi application/x-okular-notes = exec rclokulnote application/x-perl = internal text/plain +# Returned by xdg-mime for .php. Future-proofing +application/x-php = internal text/plain application/x-rar = execm rclrar;charset=default application/x-scribus = exec rclscribus application/x-shellscript = internal text/plain @@ -162,6 +166,7 @@ text/xml = exec rclxml # Icons to be used in the result list if required by gui config [icons] application/epub+zip = book +application/javascript = source application/msword = wordprocessing application/ogg = sownd application/pdf = pdf @@ -204,6 +209,7 @@ application/x-mimehtml = message application/x-mobipocket-ebook = document application/x-okular-notes = document application/x-perl = source +application/x-php = source application/x-rar = archive application/x-scribus = document application/x-scribus = wordprocessing