🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39199

Re: URLs in slrn

#39199
From: Preben 'Peppe' Guldberg
Date: Fri, 27 Feb 1998 00:00
34 lines
2029 bytes
Thus wrote Dominic Davidson <dom+usenet@djd.ftech.co.uk>:
> With the current versions of slrn, if I go to an article which has no
> URLs in it and press U I get a message

> "No URLs found"

> however. this relies on slrn's URL detection. A lot of people miss out
> the http:// or ftp:// which is significant for detection of URLs.

> Does anyone have a patch or some SLang to allow entry of arbitrary
> URLs when U is pressed but no URLs have been found?

What I do to handle such a page is to pipe it to "urlview". This is a
small program that will scan the text for urls matched by a regular
expression. It shows a list of urls and you can edit the url prior to
launching a browser. It defaults to launch netscape. 

In a two line setup file you can specify the browser to use and
customise the regular expression. Eg.

    REGEXP  ((((ht|f)tp)|mailto):(//)?[^ >"\t]*|(www|ftp)\.[-a-z0-9./~]+)[^ .,;\t>"]
    COMMAND lynx '%s'

Urlview can be downloaded from ftp://ftp.cs.hmc.edu/pub/me/

Peppe
-- 
Preben Guldberg          __/-\__        The woods are lovely, dark and deep
c928400@student.dtu.dk    (o o)         But I have promises to keep
----------------------oOOo (_) oOOo--   And miles to go before I sleep.
http://www.student.dtu.dk/~c928400                           --Robert Frost

Technical Details
Message-ID: <slrn6fdbv1.g3.c928400@urdybet.bergsoe.dtu.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn6fd30d.9e.dom+usenet@djd.ftech.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6fdbv1.g3.c928400@urdybet.bergsoe.dtu.dk>
Subject: Re: URLs in slrn
Date: Fri, 27 Feb 1998 00:00:00 +0000
From: c928400@student.dtu.dk (Preben 'Peppe' Guldberg)
References: <slrn6fd30d.9e.dom+usenet@djd.ftech.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 329168268
Reply-To: c928400@student.dtu.dk
X-Complaints-To: usenet@news.net.uni-c.dk
X-Trace: news.net.uni-c.dk 888582183 62382 (None) 130.225.71.226
Organization: k-net
Newsgroups: news.software.readers