Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gravity URL template

Skip to first unread message

Patrick Dunford

unread,
Apr 10, 1999, 3:00:00 AM4/10/99
to
-----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-----

Francois Visagie

unread,
Apr 10, 1999, 3:00:00 AM4/10/99
to
In article <MPG.1179b5554...@newsch.es.co.nz>, Patrick Dunford
<patrick...@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.

Luu Tran

unread,
Apr 10, 1999, 3:00:00 AM4/10/99
to
Patrick Dunford <patrick...@caverock.net> wrote in
<MPG.117a082f1...@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

Tom Bates

unread,
Apr 10, 1999, 3:00:00 AM4/10/99
to
Patrick Dunford <patrick...@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
tba...@cm.nu

Stan Brown

unread,
Apr 10, 1999, 3:00:00 AM4/10/99
to
[This followup was also e-mailed to the cited author.]

In this next-to-last year of the millennium, rken...@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.

Patrick Dunford

unread,
Apr 11, 1999, 3:00:00 AM4/11/99
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

>In article <MPG.1179b5554...@newsch.es.co.nz>, Patrick Dunford
><patrick...@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-----

0 new messages