Index: src/trackerd/tracker-metadata.c
===================================================================
--- src/trackerd/tracker-metadata.c	(revision 974)
+++ src/trackerd/tracker-metadata.c	(working copy)
@@ -90,7 +90,8 @@
 			  "application/x-kivio",
 			  "application/x-kontour",
 			  "application/x-wpg",
-			  "application/rdf+xml"
+			  "application/rdf+xml",
+			  "application/x-chm"
 };
 
 
Index: filters/application/x-chm_filter
===================================================================
--- filters/application/x-chm_filter	(revision 0)
+++ filters/application/x-chm_filter	(revision 0)
@@ -0,0 +1,9 @@
+#!/bin/sh
+[ -n "$TMP" ] || TMP='/tmp'
+umask 077
+CHM_DIR="$TMP/chm.$$" 
+HTML_FILE="$TMP/chm-html.$$"
+nice -n19 extract_chmLib "$1" "$CHM_DIR" >/dev/null
+nice -n19 find "$CHM_DIR" -name '*.html' -exec cat {} \; >"$HTML_FILE"
+sh /usr/lib/tracker/filters/text/html_filter "$HTML_FILE" "$2"
+rm -rf "$CHM_DIR" "$HTML_FILE"

Property changes on: filters/application/x-chm_filter
___________________________________________________________________
Name: svn:executable
   + *

Index: filters/application/Makefile.am
===================================================================
--- filters/application/Makefile.am	(revision 974)
+++ filters/application/Makefile.am	(working copy)
@@ -20,6 +20,7 @@
 			vnd.sun.xml.draw_filter \
 			csv_filter \
 			vnd.ms-excel_filter \
-			tab-separated-values_filter
+			tab-separated-values_filter \
+			x-chm_filter
 
 EXTRA_DIST = $(thumbappbin_SCRIPTS)
