🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Patrick Dunford Sat, 10 Apr 1999 00:00
Gravity URL template
#47894
Author: Patrick Dunford
Date: Sat, 10 Apr 1999 00:00
24 lines
1241 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Gravity is not recognising the comma within some URLs as a legitimate
character in a URL.

How do I change the http URL template (Global Options / URL Hotlinks /
Advanced
to recognise a comma character?

- -- 
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal Representation For All
http://patrick.dunford.com/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQA/AwUBNw5FZJ/ufSMMVdBMEQLWmwCfZTmwZQXFMpTJsJ+IE1TueCw7rLgAn0+N
KOlU1HBBGItbBybCW9jLAQgp
=2jb5
-----END PGP SIGNATURE-----

Re: Gravity URL template
#47879
Author: Francois Visagie
Date: Sat, 10 Apr 1999 00:00
25 lines
1466 bytes
In article <MPG.1179b5554bbc6a449898fe@newsch.es.co.nz>, Patrick Dunford 
<patrick_dunford@caverock.net> says...
<< snip >>
> How do I change the http URL template (Global Options / URL Hotlinks /
> Advanced
> to recognise a comma character?
<< snip >>

Patrick,

That's value is a regular expression. Without going into any detail, this 
one should work for a comma:((http:/)|(www\.))[^] <>"{},[()]+

If you want to get any fancier, read the help topic "Regular Expression 
Reference".

Hope this helps,
-- 
Fran�ois Visagie
Product Manager: Call Centres
DataFusion Systems
http://www.datafusion-systems.com
Please note: to mail me, remove '.Invalid' from my address.

Re: Gravity URL template
#47882
Author: Tom Bates
Date: Sat, 10 Apr 1999 00:00
28 lines
1631 bytes
Patrick Dunford <patrick_dunford@caverock.net> wrote:

 [snip]

>>That's value is a regular expression. Without going into any detail, this 
>>one should work for a comma:((http:/)|(www\.))[^] <>"{},[()]+

> ((http:/)|(www\.))[^] <>"{},[()]+

> That's the one I already have (default). It stops the URL as soon as it
> reaches the first comma.

I think you can take out the comma after the bracket and the URL 
will highlight like this..

((http:/)|(www\.))[^] <>"{}[()]+

But Gravity will not pass the entire URL to the browser. There was 
an earlier thread about this and Tony from MP said it would be 
fixed in coming versions. I haven't ckecked if 2.11 addresses this
one. Off the top of my head I don't think so.

-- 

   Tom Bates, Naples, FL
   tbates@cm.nu

Re: Gravity URL template
#47887
Author: Luu Tran
Date: Sat, 10 Apr 1999 00:00
20 lines
1098 bytes
Patrick Dunford <patrick_dunford@caverock.net> wrote in
<MPG.117a082f1b0fa92098992f@newsch.es.co.nz>: 

>((http:/)|(www\.))[^] <>"{},[()]+
>
>That's the one I already have (default). It stops the URL as soon as
>it reaches the first comma.
>

take out the comma in the expression above

((http:/)|(www\.))[^] <>"{}[()]+

that should do it.

-- 
  luu
author of Xnews -- http://xnews.3dnews.net

Re: Gravity URL template
#47898
Author: Stan Brown
Date: Sat, 10 Apr 1999 00:00
23 lines
1691 bytes
[This followup was also e-mailed to the cited author.]

In this next-to-last year of the millennium, rkennedy@cgocable.net (Ray) 
wrote in news.software.readers:

>It's not fixed.  You can take the comma out as above and the whole URL 
>will be highlighted in color, BUT only the portion up to the comma is 
>passed as a URL to the browser, like this one for instance
>
>http://www.zdnet.com/zdnn/stories/news/0,4586,1014335,00.html

I hope you've reported this to MicroPlanet?

They don't seem to monitor the newsgroup any more, but they have usually 
responded when I've reported a bug or asked a question in email.

-- 
Stan Brown, Oak Road Systems, Cleveland, Ohio, USA
                                    http://www.mindspring.com/~brahms/
My reply address is correct as is. The courtesy of providing a correct
reply address is more important to me than time spent deleting spam.

Re: Gravity URL template
#47913
Author: Patrick Dunford
Date: Sun, 11 Apr 1999 00:00
40 lines
1911 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Behold, on Sat, 10 Apr 1999 13:30:53 +0200 in
news.software.readers:<MPG.117962ec3176bdd798996c@ct-news.iafrica.com>,
Francois Visagie (Francois.Visagie@DataVoice.co.za.Invalid) didst uttereth:

>In article <MPG.1179b5554bbc6a449898fe@newsch.es.co.nz>, Patrick Dunford 
><patrick_dunford@caverock.net> says...
><< snip >>
>> How do I change the http URL template (Global Options / URL Hotlinks /
>> Advanced
>> to recognise a comma character?
><< snip >>
>
>Patrick,
>
>That's value is a regular expression. Without going into any detail, this 
>one should work for a comma:((http:/)|(www\.))[^] <>"{},[()]+

((http:/)|(www\.))[^] <>"{},[()]+

That's the one I already have (default). It stops the URL as soon as it
reaches the first comma.

snip

- -- 
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal Representation For All
http://patrick.dunford.com/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQA/AwUBNw6YP5/ufSMMVdBMEQKr0gCglTIZKFAj5yxnF1ceurSc4wUiZ7IAn02u
vXMCy63isdHwrCsYWNyK7p4E
=g2Yn
-----END PGP SIGNATURE-----

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