[File] Adding text/gemtext to file
Christos Zoulas
christos at zoulas.com
Fri Feb 28 14:43:16 UTC 2025
> On Feb 28, 2025, at 8:44 AM, file at ploum.eu wrote:
>
> Hi,
>
> I’m working on a Gemini/Web browser called Offpunk ( https://offpunk.net
> ).
>
> As it saves every ressource to a local cache, it heavily relies on file
> to get the format, which is working fine 99,9% of the time.
>
> The main problem is that "file" seems to have no knowledge of
> text/gemtext format , used in the Gemini network.
>
> See : https://geminiprotocol.net/docs/gemtext-specification.gmi
>
> Gemtext is most of the time assumed as plaintext or markdown (which is
> fine) but it is also sometimes considered as something more exotic (like
> message/news ).
>
> Is there a way to add text/gemtext support to file?
Hi,
There is no magic number for gemtext, or any required structure that
file(1) can rely upon to identify the format.
Best,
christos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20250228/6c610cca/attachment.asc>
More information about the File
mailing list