Jump to content
Sign in to follow this  
Followers 0
Captain Morgan

BUG - the added links do not work

Recommended Posts

Hi !

 

When someone adds a link to cache log, geocaching.com adds this string: "

[last"

to the end of the link, so it will not work at at all.

 

Is there any way to go around this bug, before Jeremy or someone fixes the bug ?

 

See for example my logging at

http://www.geocaching.com/seek/cache_details.aspx?ID=21289

 

Regards, Captain_Morgan alias Olli Haukkovaara

Share this post


Link to post

When you type the URL into your log entry, just make sure you put a space at the end of it and it will work fine. That way the "

[last" won't get fastened to the link.

 

_________________________________

Member:

banner-small.gif

Share this post


Link to post

We now check for URLs via regular expressions, and replace them with links. Leave a space after the end and the link will show up correctly.

 

Jeremy Irish

Groundspeak - The Language of Location

Share this post


Link to post

quote:
Originally posted by Captain_Morgan&Family:

OK, i'll check all the links i've added, but this is a bug anyway - or should everyone know to add a space ?


Since you've apparently fixed the problem, I'm only guessing - you had an url at the end of a sentence, which had a period direcly after it?

 

I know that a lot of software that 'looks' for URLs in text would also include that period in the active link because it would appear to be a part of that url - just as if it were any other character.

 

I wonder if it would be simple, and advisable, to somehow change the way the program looks for urls - and have it ignore characters at the end of an url if it is a comma, period, exclamation point, etc.

 

It would probably be okay, because there aren't going to be a lot of html documents that have file names that end with a period on purpose.

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Share this post


Link to post

quote:
Originally posted by Rubbertoe:

Since you've apparently fixed the problem, I'm only guessing - you had an url at the end of a sentence, which had a period direcly after it?


 

No, i had the URL at the end of my text and nothing after that, no comma, no period - nothing. If you browse through logpages, you will find pretty soon some URL that does not work as it has that "

" - string at the end.

Share this post


Link to post

quote:
Originally posted by Jeremy Irish:

We now check for URLs via regular expressions, and replace them with links. Leave a space after the end and the link will show up correctly.


 

That might not be completely true.... please see my log on this virtual cache - not only do I have the "double name" problem, but it also throws up a weird link to the first word in a sentence that was started after a link.

 

Not only were there no characters after the url, I actually have a whole line of blank space to start the new paragraph - yet it still tried to add some sort of hotlink to that first word.

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Share this post


Link to post

Actually, it looks like MANY of the urls on that page are also suffering from the problem with the extra tags and clutter. Hopefully Jeremy will check this thread again... from his comments, I think he might think that the problem is solved, and so he might not look back here again. icon_confused.gif

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Share this post


Link to post

Actually, it looks like MANY of the urls on that page are also suffering from the problem with the extra tags and clutter. Hopefully Jeremy will check this thread again... from his comments, I think he might think that the problem is solved, and so he might not look back here again. icon_confused.gif

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Share this post


Link to post

The formatting was apparently being done in the wrong order, such as paragraph changes before URLs were sorted out. I changed the order and the links now look correct.

 

Jeremy Irish

Groundspeak - The Language of Location

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

×
×
  • Create New...