🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by DC Mon, 16 Feb 2004 16:26
[slrn] URL handling
#143656
Author: DC
Date: Mon, 16 Feb 2004 16:26
11 lines
1469 bytes
Is there a way to have slrn handle URLs without the http:// and list
these when I press "U"?

Fer instance:  www.google.com

Thanks.

-- 
DC                     Registered Linux User #1000111011000111001

Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: [slrn] URL handling
#143657
Author: Kees
Date: Mon, 16 Feb 2004 16:45
28 lines
1877 bytes
In article <slrnc31rq6.832.dcmoose@moosemeat.ca.INVALID>, DC wrote:
> Is there a way to have slrn handle URLs without the http:// and list
> these when I press "U"?
> 
> Fer instance:  www.google.com
> 
> Thanks.
> 

I use urlview for that job, I press Ctrl+b to extract the URL's,

Put the below in your my_hooks.sl

define pipe_to_urlview ()
{
	pipe_article ("urlview");
}
definekey ("pipe_to_urlview", "^b", "article");

GG
Kees

[ Meet Your Meat... http://www.xs4all.nl/~kostercd/ ]
-- 
QOTD: "Even the Statue of Liberty shaves her pits."
17:45:32 up 9:41, 5 users, load average: 0.62, 0.64, 0.56
Linux Registered User #300181  |  ICQ #179658498
PGP (Public Key) available by request -- # EOE 
Re: [slrn] URL handling
#143660
Author: DC
Date: Mon, 16 Feb 2004 18:15
39 lines
2307 bytes
Kees wrote:
> In article <slrnc31rq6.832.dcmoose@moosemeat.ca.INVALID>, DC wrote:
>> Is there a way to have slrn handle URLs without the http:// and list
>> these when I press "U"?

>> Fer instance:  www.google.com

>> Thanks.


> I use urlview for that job, I press Ctrl+b to extract the URL's,

> Put the below in your my_hooks.sl

> define pipe_to_urlview ()
> {
> 	pipe_article ("urlview");
> }
> definekey ("pipe_to_urlview", "^b", "article");

Thanks, Kees.

It works on some links, but not on others.  I cannot get to
www.google.com (in my example above), for example.  It didn't work on a
groups.google.com link in another post, either.

Strange...

Can you use urlview, as you described, to access my sample link?

Related question -- which browser does it display in?  Is that links or
lynx (or another)?

Thanks again!

-- 
DC                     Registered Linux User #1000111011000111001

Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: [slrn] URL handling
#143672
Author: Kees
Date: Mon, 16 Feb 2004 21:01
48 lines
2704 bytes
In article <slrnc3225l.9hv.dcmoose@moosemeat.ca.INVALID>, DC wrote:
> Kees wrote:
>> In article <slrnc31rq6.832.dcmoose@moosemeat.ca.INVALID>, DC wrote:
>>> Is there a way to have slrn handle URLs without the http:// and list
>>> these when I press "U"?

[...]

> It works on some links, but not on others.  I cannot get to
> www.google.com (in my example above), for example.  It didn't work on a
> groups.google.com link in another post, either.
> 
> Strange...
> 
> Can you use urlview, as you described, to access my sample link?
> 
> Related question -- which browser does it display in?  Is that links or
> lynx (or another)?
> 
> Thanks again!

[...]

Yes, it works on www.google.com, I use it with Mozilla Firefox.

I think that groups.google.com is also a problem for urlview :-(

Did you configure /usr/bin/url_handler.sh

This is my section from the url_handler

# The lists of programs to be executed are
https_prgs="/usr/bin/mozillafirefox:XW /usr/bin/lynx:XT"
http_prgs="/usr/bin/lynx:XT /usr/bin/mozillafirefox:XW"
mailto_prgs="/usr/bin/mutt:VT /usr/bin/elm:VT /usr/bin/pine:VT
/bin/mail:VT"
gopher_prgs="/usr/bin/lynx:XT /usr/bin/gopher:XT"
ftp_prgs="/usr/bin/lynx:XT /usr/bin/ncftp:XT"

GG
Kees

[ Meet Your Meat... http://www.xs4all.nl/~kostercd/ ]
-- 
I want to so HAPPY, the VEINS in my neck STAND OUT!!
21:59:05 up 13:55, 5 users, load average: 0.62, 0.62, 0.53
Linux Registered User #300181  |  ICQ #179658498
PGP (Public Key) available by request -- # EOE 
Re: [slrn] URL handling
#143677
Author: DC
Date: Mon, 16 Feb 2004 21:20
46 lines
2858 bytes
Kees wrote:
> In article <slrnc3225l.9hv.dcmoose@moosemeat.ca.INVALID>, DC wrote:
>> Kees wrote:
>>> In article <slrnc31rq6.832.dcmoose@moosemeat.ca.INVALID>, DC wrote:
>>>> Is there a way to have slrn handle URLs without the http:// and list
>>>> these when I press "U"?

> [...]

>> It works on some links, but not on others.  I cannot get to
>> www.google.com (in my example above), for example.  It didn't work on a
>> groups.google.com link in another post, either.

>> Strange...

>> Can you use urlview, as you described, to access my sample link?

>> Related question -- which browser does it display in?  Is that links or
>> lynx (or another)?

>> Thanks again!

> [...]

> Yes, it works on www.google.com, I use it with Mozilla Firefox.

> I think that groups.google.com is also a problem for urlview :-(

> Did you configure /usr/bin/url_handler.sh

> This is my section from the url_handler

> # The lists of programs to be executed are
> https_prgs="/usr/bin/mozillafirefox:XW /usr/bin/lynx:XT"
> http_prgs="/usr/bin/lynx:XT /usr/bin/mozillafirefox:XW"
> mailto_prgs="/usr/bin/mutt:VT /usr/bin/elm:VT /usr/bin/pine:VT
> /bin/mail:VT"
> gopher_prgs="/usr/bin/lynx:XT /usr/bin/gopher:XT"
> ftp_prgs="/usr/bin/lynx:XT /usr/bin/ncftp:XT"

Thanks.  I'll play with it.  }:O)

-- 
DC                     Registered Linux User #1000111011000111001

Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: [slrn] URL handling
#143745
Author: DC
Date: Tue, 17 Feb 2004 05:58
42 lines
2664 bytes
Kees wrote:
> In article <slrnc3225l.9hv.dcmoose@moosemeat.ca.INVALID>, DC wrote:
>> Kees wrote:
>>> In article <slrnc31rq6.832.dcmoose@moosemeat.ca.INVALID>, DC wrote:
>>>> Is there a way to have slrn handle URLs without the http:// and list
>>>> these when I press "U"?

> [...]

>> It works on some links, but not on others.  I cannot get to
>> www.google.com (in my example above), for example.  It didn't work on a
>> groups.google.com link in another post, either.

>> Strange...

>> Can you use urlview, as you described, to access my sample link?

>> Related question -- which browser does it display in?  Is that links or
>> lynx (or another)?

>> Thanks again!

> [...]

> Yes, it works on www.google.com, I use it with Mozilla Firefox.

Got it working now...

> I think that groups.google.com is also a problem for urlview :-(

Looking at the url_handler.sh code, it would appear that it only
recognises URLs beginning with 'www' ...

> Did you configure /usr/bin/url_handler.sh

[...]

I have now -- it works a treat!  Thank you.  }:O)
-- 
DC                     Registered Linux User #1000111011000111001

Why I love Open Source: http://support.microsoft.com/?kbid=111601
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads