##this is used when (v)iewing a text/html attachment:
##allowing you to browse and "click" links
##order matters the first entry which passes the test is used
#gui browser if $DISPLAY is set
text/html; conkeror "%s" &; test=test -n "$DISPLAY"; nametemplate=%s.html
#text browser otherwise
text/html; w3m -v -F -T text/html "%s"; nametemplate=%s.html; needsterminal
##auto_view will use the entry with the copiousoutput part:
text/html; lynx -stdin -dump -force_html ; copiousoutput
image/*; feh %s
application/pdf; okular %s