Jump to content

Bookmark List Description that includes URLs Breaks If Approaching 1000 Characters


shell1fish

Recommended Posts

I own several bookmark lists with long descriptions that contain several URLs each. I recently lengthened the descriptions, approaching (but not hitting) the 1000-character limit.

 

When I included a 5th HTML link in the Description of a bookmark list, everything after the initial open bracket for the UBBcode markup disappears when you view the bookmark list. In addition, the link seems to be open-ended, and the entire rest of the webpage is hyperlinked to the "missing" link.

 

I've tried it in Firefox 8 and Internet Explorer 9, on Windows 7, and Chrome on Mac OS X Snow Leopard.

 

In my list of bookmarks from my own account, as well as the Lists tab from my public profile, the description displays correctly.

 

It appears as though the bookmark list description enforces the 1000-character limit after converting the UBBcode to HTML. If the 1000-character limit cutoff happens in the middle of an opening HTML tag, the initial tag is finished, but the closing HTML tag is not included. As a result, the final link is never closed, and any text following the link is not shown. No error message or warning is ever given.

 

Here's a specific case:

Broken Links Test Bookmark List

 

The description contains the following:

 

This is a test bookmark list to show what happens when a description gets too long and contains URLS at the end. La dee da dee da, I am text. So much text.

See also:  [url=http://www.geocaching.com/bookmarks/view.aspx?guid=0a3e1a81-39d8-45c9-bfb3-7fe026bf883d]States AL-CA[/url] (includes multi-state challenges), [url=http://www.geocaching.com/bookmarks/view.aspx?guid=92ae789f-c22b-4cea-a6df-c0b9c5679216]States M[/url], [url=http://www.geocaching.com/bookmarks/view.aspx?guid=47a65d48-7c6a-4f28-ba9f-1925b1621db1]States N-S[/url], and [url=http://www.geocaching.com/bookmarks/view.aspx?guid=a9cbc2c6-0d34-4e99-b112-ca51819e2ef6]States T-W[/url].

Here is the final link that will break everything. It is for one of my caches. [url=http://www.geocaching.com/seek/cache_details.aspx?guid=67d71986-4f12-4122-a3ed-c87f91b6d1c2]What's A Yapok?[/url] Learn something new every day! Thanks for helping.

 

The source code shows that the input has been converted to

 

This is a test bookmark list to show what happens when a description gets too long and contains URLS at the end. La dee da dee da, I am text. So much text.<br><br>See also:  <a href="http://www.geocaching.com/bookmarks/view.aspx?guid=0a3e1a81-39d8-45c9-bfb3-7fe026bf883d" target="_blank" rel="nofollow">States AL-CA</a> (includes multi-state challenges), <a href="http://www.geocaching.com/bookmarks/view.aspx?guid=92ae789f-c22b-4cea-a6df-c0b9c5679216" target="_blank" rel="nofollow">States M</a>, <a href="http://www.geocaching.com/bookmarks/view.aspx?guid=47a65d48-7c6a-4f28-ba9f-1925b1621db1" target="_blank" rel="nofollow">States N-S</a>, and <a href="http://www.geocaching.com/bookmarks/view.aspx?guid=a9cbc2c6-0d34-4e99-b112-ca51819e2ef6" target="_blank" rel="nofollow">States T-W</a>.<br><br>Here is the final link that will break everything. It is for one of my caches. <a href="http://www.geocaching.com/seek/cache_details.aspx?guid=67d71986-4f12-4122-a3ed-c87f91b6d1c2" target="_blank" rel="</p">

 

There is no closing HTML tag. The final sentences, while still seen when I edit the description, are not shown.

 

Again, in my list of bookmarks from my own account, as well as the Lists tab from my public profile, the description displays correctly.

 

I can avoid the problem by using outside URL shorteners, but I hope to see a smarter way of maintaining the character limit implemented or at least an appropriate error message given so people can understand why their bookmark list description is broken.

 

(Are there any native shortform bookmark URLs, similar to coord dot info for caches, profiles, and trackables?)

 

Thanks for helping!

Link to comment

I'm going to bump this after seven months because I have the exact same problem, and would really appreciate a response.

 

I used Word to do a character count and it reported 822 characters. It seems to truncate at about 815. If it gets truncated in the middle of the URL code, the entire page becomes hot linked to the URL. I moved a line of text after my last URL and it solved the hotlink problem, but now that last line gets truncated. Are we supposed to be allowed 1000 characters? If so, we are coming up short.

 

My bookmark list is: http://www.geocaching.com/bookmarks/view.aspx?guid=484c4422-3bff-48f5-8257-d77d96bfaa63

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...