text/html; lynx -dump -assume_charset=%{charset} \
 -display_charset='iso-8859-1' -force_html '%s' ; nametemplate=%s.html
text/*;  xlate %s %{charset} iso-8859-1
application/pdf; ( echo "[FROM PDF]" \; pdftotext %s - ) ; nametemplate=%s.pdf
application/msword; ( echo "[FROM MSWORD]" \; catdoc %s ) ; nametemplate=%s.doc
audio/*; echo [SKIPPING %t]
image/*; echo [SKIPPING %t]
application/*;  echo [SKIPPING %t]
