Saurabh T <saur...@hotmail.com> writes:

> How do I specify a mime type with a period in it in elinks.conf?
> For example,
> set mime.type.image.x.djvu = ...
> gives "unknown option" error.

http://elinks.cz/documentation/manpages/elinks.conf.5.html#mime.type._template_._template_
shows the description of the option:

#  mime.type._template_._template_ <str> (default: "")
#    Handler matching this MIME-type name ('*' is used here in place of '.').

So this is what you should write in elinks.conf:

set mime.type.image.x*djvu = "hoho"

However, if I try to add such an option via the option manager,
I get an error: "Option names may only contain alpha-numeric
characters in addition to '_' and '-'."  Apparently, the check
there is too strict.  Filed as bug 1084.
_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to