[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gopher item type for Markdown?



On 14.08.2020 21:59, Christoph Lohmann wrote:

But there are multiple ways in gopher  to break out of the namespace of
the menu items:

1.) file(1) or check for file extensions on whatever is given back. You
need to do this for images, video, audio already. It is the most widely
used method on the web too. There the mime type is specified everywhere
and noone really implements it properly.  See how firefox can have html
in jpeg files.

2.) »M«, as stated above allows  to easily have the full mime(!)-type
namespace accessible. It  just needs to be implemented.  It's an e-mail
you receive and decode it. MIME is hard to implement, but it would be a
proper way.

3.) Escape to a  different protocol, like via »h«, as  in html or the
non-standard URL:  escape. This is  the way  to go, when  someone might
think of adding SSH support to gopher. Just use »ssh://«.

Gopher has so many ways and possibilities, it is beautiful.

I would also add that (undeservedly) neglected Gopher+ has full support of MIME types.



Sincerely,

Christoph Lohmann



Reply to: