<-- back to the mailing list

Reading Plain Text Files

nothien at uber.space nothien at uber.space

Fri Mar 26 08:17:06 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Jason Evans <jsevans at mailfence.com> wrote:

If you don't know, Usenet is 100% plain text. Let's say you wanted to
read everything that's happening in rec.radio.amateur; you would go to
the rec directory, then radio, then amateur, then the articles are
listed as 1,2,3,4. Like this: rec/radio/amateur/1. 1 is the first
message on my server and again it is plain text.  However all of the
gemini readers see this as something that they can't read, but if I
were to rename this file to 1.txt or 1.gmi, then it could.
Realistically, I can't rename every file because that would break my
usenet server. Is there a way around this that I can trick gemini
readers into seeing these files as plain text and then viewing them?

The best way to do this is to configure your server to serve all ofthese files with an MIME type of text/plain, if it doesn't do soalready. Gemini clients don't (shouldn't) check any extensions in theURL anyways, so this is the correct solution.

~aravk | ~nothien