diff options
| author | Michael Steenbeek <m.o.steenbeek@gmail.com> | 2023-08-27 16:34:22 +0200 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2023-08-30 08:43:16 +0200 |
| commit | 10a9c4ccfac85c08b4682fcef24091569cb13f63 (patch) | |
| tree | 1dc615c9821b2d6c3dc66a7cb58f43fae051c207 /<http:/something.example.com/foo/git: | |
| parent | 659a1448146f4599755fd0b059b25567fa7d60f5 (diff) | |
| download | kristall-10a9c4ccfac85c08b4682fcef24091569cb13f63.tar.gz | |
Support URLs in Gophermaps
Paths in Gophermaps that start with “URL:” should be interpreted as direct
URLs, rather than references to files or directories on the Gopher server
itself.
An excerpt from the standard document:
```
Links to URLs from a gopher directory shall be defined as follows:
Type -- the appropriate character corresponding to the type of the
document on the remote end; h if HTML.
Path -- the full URL, preceeded by "URL:". For instance:
URL:http://www.complete.org/
Host, Port -- pointing back to the gopher server that provided
the directory for compatibility reasons.
Name -- as usual for a Gopher directory entry.
```
Source: gopher://quux.org/0/Archives/Mailing Lists/gopher/gopher.2002-02?/MBOX-MESSAGE/34
An example of this in the wild can be seen at gopher://gopher.floodgap.com ,
at the bottom of the page.
Note that above link carries a fallback for clients that do not support it,
as described by the Bucktooth server software:
```
[...] most people will want to add web links to their
gophers anyway. In 0.1-pr4 and up, this is supported in a protocol independent
fashion; simply specify any URL and an 'h' item type, like so:
hYour Web Link<TAB>URL:http://www.floodgap.com/
Note that the URL must be preceded by a literal "URL:" and that the itemtype
is h. Smart clients will automatically take the URL portion and use it, but
even if they do not, Bucktooth will generate an HTML page with a Refresh:
header and forward them on automatically.
```
Other clients supporting this standard include the OverbiteWX extension.
(Most likely, there will be others, but I haven’t tested them all.)
Diffstat (limited to '<http:/something.example.com/foo/git:')
0 files changed, 0 insertions, 0 deletions
