taskSavane - Tasks: task #4463, url ellipsization can be improved

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #4463: url ellipsization can be improved

Submitted by:  Paul Pogonyshev <doublep>
Submitted on:  Thu 04 Jan 2007 10:33:53 PM UTC  
 
Should Start On: Thu 04 Jan 2007 10:00:00 PM UTCShould be Finished on: Thu 04 Jan 2007 10:00:00 PM UTC
Category: Web FrontendStatus: None
Priority: 1 - LaterPlanned Release: 
Assigned to: NoneOpen/Closed: Open
Privacy: PublicFor/By: None

Thu 04 Jan 2007 10:33:53 PM UTC, original submission:

Currently long URLs in UI are just truncated with ellipsis added to them. While long URLs should of course be shortened (if only to prevent broken page layout), truncation often strips off the most important part of an URL.

I propose to use somewhat more intelligent. Attached is a quite elaborate function that tries to ellipsize URL leaving most important parts intact.

Paul Pogonyshev <doublep>
Project Member

 

Attached Files
file #1789:  test.php added by doublep (4kB - application/x-php - Proposed function ellipsize_url() with tests)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by doublep (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Jan 2007 10:33:53 PM UTCdoublepAttached File-=>Added test.php, #1789
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup