Article View: news.software.readers
Article #178883Re: [slrn] Long URLs and line breaks
From: Andrew Preater
Date: Fri, 06 Jan 2006 20:22
Date: Fri, 06 Jan 2006 20:22
47 lines
2902 bytes
2902 bytes
* Whiskers <catwheezel@operamail.com>: > On 2006-01-05, Ben Shimmin <bas@llamaselector.com> wrote: >> [On long URLs that span several lines] > Regardless of the RFCs, in practice it seems to be better to > avoid breaking a long URL, even if that means having a line > that's 'too long' [...] True, this is the 'work-around' that works out best for most people. > If there isn't a macro already that will 'repair' broken URLs > for slrn, then perhaps someone who knows how will eventually > feel moved to publish one. Macros that reformat text in articles already exist, so it should be possible... > A related gripe, is that many people quote URLs without the > protocol (http:// or whatever) and sometimes even without the > www part that most web sites require, and slrn currently > doesn't recognise any of those. I'd forgotten slrn could do this; I've been using urlview for months because slrn will split a url if it contains certain characters (I think it was `?' that broke it). Urlview does slightly better, it will recognise www.example.net, for example (he he). I posted an article to england.test if you feel like running it past a few news clients: news:slrndrtjh2.fsv.preater+usenet@preater.com Urlview uses a regexp to match URLs in posts, so you would be able to extend it to recognise all of: <http://www.example.net> http://www.example.net www.example.net example.[net|org|com] host.example.net Doesn't help slrn recognise long URLs of course, it'd still need an s-lang macro to tidy up the URL before processing. I would still rather people used a service like <http://snurl.com> to shorten their links. -- Andrew Preater
Technical Details
Message-ID:
<slrndrtkc3.fsv.preater+usenet@preater.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrndrqvgp.sv7.bas@candide.bas.me.uk> <pu4293-408.ln1@ID-107770.user.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <slrndrtkc3.fsv.preater+usenet@preater.com>
Subject: Re: [slrn] Long URLs and line breaks
Date: Fri, 06 Jan 2006 20:22:28 +0000
From: Andrew Preater <preater+usenet@gmail.com>
References: <slrndrqvgp.sv7.bas@candide.bas.me.uk> <pu4293-408.ln1@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: AOLM slrn Mafia
Lines: 47
X-Trace: individual.net OvcyE6xPD0HTl0/he9NVrwg9KnyHY2OkMrHrWrGY+UC0AIx4Wa
Mail-Copies-To: nobody
X-Editor: Vim 6.4 http://www.vim.org
X-Face: R]TnAO?2cc+f:`TSU]9ZDZKa4(Mg.BNZ/\`sCBF'@&1Q1FBh1+L%&2qK!'XQxDgg.s*m{/&
!r{z#$+/sT~W^Cg'#tq8U-m!Empl2)W`-Dj81puDYl|/H'<}; o}&ely,=$*W&w.^32u=6=6'm?Ol;
F DU2@tm*E=4"*@NA*-Gepvf1'GR)M39JEYN?.>2B6^>
User-Agent: slrn/0.9.8.1pl1 (Debian)