Comment by π» ps
Re: "Could somebody please check this page in Lagrange: [nexβ¦"
@sbr finally I got it - the trailing slash in the current URL, not links.
But what if I open .gmi extension? madness.
2025-06-26 Β· 10 months ago
5 Later Comments β
π clseibold [π] Β· 2025-06-26 at 22:39:
@skyjake Ah, right, yeah. Forgot about that part of the nex specs, lol.
@ps Yeah, slash at the end means its a nex index, no slash means its plain text or a file.
(Sidenote: I really wish nex would have defined a proper mimetype and extension for the nex index format!)
For the links inside the nex index document, a slash at the end means its linking to another nex index document. No slash means its linking to a file via the extension. And typically files without an extension are considered plaintext files.
π clseibold [π] Β· 2025-06-27 at 04:18:
I believe nex does have one exception: files named "index", and thus URLs ending in `/index`, are nex index documents and *should* render links, afaik.
π skyjake [...] Β· 2025-06-27 at 05:46:
@clseibold That sounds like server-side behavior that a client would not be privy to. There is no mention of such files in the (admittedly very terse) Nex protocol specification.
π clseibold [π] Β· 2025-06-27 at 06:08:
@skyjake Oh! I'll have to check the nex spec again. I thought it did talk about it.
π clseibold [π] Β· 2025-06-27 at 06:14:
@skyjake Also, to be fair, clients would know about "index" files in the same way that webbrowsers know about "index.html" files and gemini browsers would know about "index.gmi" files. "index.extension" is a pretty widespread standard (even if just de facto) for all three protocols (except nex doesn't use the extension) when you want to create the "index" file of a directory. And you can link to these index files.
It's particularly important for crawlers, where when they happen upon such an index file, they remove that part of the url so that you aren't getting duplicate pages in your database.
Original Post
Could somebody please check this page in Lagrange: [nex link] I can't understand why does it ignores links there, is this a bug or some plain/nex markdown feature?