On Thu, Feb 18, 2010 at 07:46, Fritz Zaucker <[email protected]>wrote:

>
> However, I noticed that there is a limit of 2048 chars for the URL to be
> shortened (UrlShorter.js). Is this a limitation of the service? This is a
> bit unfortunate, as especially for longer code fragements the shortening
> would be even more useful ...
>

Prior to that enforced limitation, I discovered that URLs longer than 2048
broke the bit.ly service, returning a meaningless error. I posted a bug
report for it, and the result was the enforced limit you see here: a test
prior to sending the request so that a meaningful error could be produced.
The bug was then closed. I don't consider it fixed, merely slightly patched,
so I re-opened the bug, which was then closed again because it requires a
change of service (to some to-be-found service that supports JSONP). I would
much prefer that the bug be left open until such a service is found, but
that isn't what happened.

So that's the story.

I believe that a limitation of 2048 makes the whole thing pretty useless.
Either the feature should work for an arbitrary playground application, or
it should be removed. If there's no JSONP provider, then a different scheme
should be used. I don't believe that the current feature provides any
benefit above simply copy/paste of the URL.

For my own use, I have the following URL in my browser's bookmark bar:
  javascript:void(location.href='
http://tinyurl.com/create.php?url='+encodeURIComponent(location.href))

With this, I can just drag the browser tab to this button and immediately
get back a tiny url for any arbitrary playground app.

Derrell
------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to