🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: newsgrouper.support
Article #35

Re: Linkification of gopher: URLs

#35
From: Colin Macleod
Date: Sat, 11 Jul 2026 08:24
42 lines
3866 bytes
Nuno Silva  <user17785@newsgrouper.org.invalid> posted:
> 
> Colin Macleod <user7@newsgrouper.org.invalid> posted:
> 
> > Nuno Silva  <user17785@newsgrouper.org.invalid> posted:
> > 
> > > In <112eq9p$1gvj9$2@dont-email.me>, I added a gopher URL to the body,
> > > but it is not shown as an hyperlink in newsgrouper. Did I use incompatible
> > > syntax or does this count as a feature request? :-)
> > 
> > At present the only forms of link I make clickable are http(s) and <msgid>.
> > AFAICS very few browsers support gopher links now - I just tried firefox,
> > edge and safari and none of those do.  So would this actually be a useful
> > feature?
> > 
> 
> Yes, at least on SeaMonkey with OverbiteFF (needs a small function call
> change as arity of an Init or constructor has changed); browsers on
> platforms that allow opening in external programs would use it too
> (Fennec on Android does this; I'm not sure if Firefox on desktop does
> (but IIRC there was a webext overbite for it too?)
> 
> I'll try to look at this better when on the desktop.

Ok, I don't seem any big problem with expanding the set of URI schemes that
become clickable, even if most browsers don't support the less common ones.  

After looking at the list of known schemes at
https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
I decided to just accept any alphanumeric+- string followed by ://whatever
as a possible link and make it clickable.

Since the browsers I have don't support gopher links, I can't actually
test whether that solves your problem, so perhaps you could try this
and report back?

-- 
Colin Macleod ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ https://cmacleod.me.uk

FEED    HOUSE   SAVE    FEED    HOUSE   SAVE    FEED    HOUSE   SAVE
GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA
NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!
Technical Details
Message-ID: <1783758251-7@newsgrouper.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
References: <1783337755-17785@newsgrouper.org> <1783678913-7@newsgrouper.org> <1783699248-17785@newsgrouper.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
From: Colin Macleod <user7@newsgrouper.org.invalid>
Newsgroups: newsgrouper.support
Subject: Re: Linkification of gopher: URLs
References: <1783337755-17785@newsgrouper.org> <1783678913-7@newsgrouper.org> <1783699248-17785@newsgrouper.org>
Date: Sat, 11 Jul 2026 08:24:11 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1783758251-7@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user7
Injection-Date: Sat, 11 Jul 2026 08:24:11 GMT
User-Agent: Newsgrouper/0.9.0
Organization: You cannot be serious!!!
X-Face: ;>4')~8UD=d.R[\.@A;)N{u_j#_=cmLx$}bIc4.3By~hf[q~|cf59?%bLtS)G@w#32G1%7y
 kz`PF}nwv'neqs,&gJm|V!,Xuekf[YIYQB7[Px"t#|rqb20(<F+y~
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAWlBMVEUOqj99lWv/gSb8+vzH
 yfDKcKfawMf/wXL/xwX/0DL/4MgAnuf////woTuJAg9haNWbJVrmDRbf8/wXqt0wOcfWPknT
 or8xStFls+AyPs/XiXvV447V5/JsPbGdJXGAAAAByElEQVRIie2V0XqDIAyFqaGoaKWztSDi
 +7/mkkoVFLbuonfLTeUzP+ckNMjaPwb7Bz4CcB+uh/eA0YdWSvE3mBW4Y4zKvW+JG6XGu+p/
 BYJnMHrkwVrYYbDyB6AFNap1Ie3XMwaZB1oEXnWLAXPtQEikEgNmBWh7C6SDTCGzwN0DmD+I
 l7WiKErIAHoBRNcF1iURGaC5EQDXrgt9EyFTANwaQ7+PrrPRRnKTSAEocN39ScqigDwg9gJP
 QOYBG1fwDrB3lLPU5wC4FJcU4JqGJy1Bpku8aWggjkXLzDngudE8HNtaro7iefDndvBEjsBx
 x40xIcCXEtDT9SpiR1YprTXNcQh4Rxjn+bxNt+NK08yPd7ooAgB7ZPyjQGIxDc9sjamGrqK+
 DwCz9OgZj5kIcI8zbq3nk0jMQyCAG5+RwJjnWRm79SgAACsIbiUiZoJEj8dctkdAMLYJEPFA
 AUFbTEVqpuHEWPoSg7qq4QigwJTMb8uqSl0zWQFZVXW49oBj7JQzFAm8AHSUvrjRUGzVAxNj
 yW8D5tfxiw0Qbj9mUqKfejdLmyWsYon6FVV1zA/b6uNUbVGXB6PrSfdi8gqlFygnmajr89/p
 b4k/bLhxPQ+xAAAAAElFTkSuQmCC
Behaviour: undefined