--- a/src/sampleconf/mimeconf
+++ b/src/sampleconf/mimeconf
@@ -42,6 +42,8 @@
# 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-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 @@
# 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-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