only shorten urls if there is not enough space
Bug #424321 reported by
Alexander Sack
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gwibber |
Confirmed
|
Low
|
Unassigned |
Bug Description
most probably prefer to have not-shorted url if there is enough space available.
at best gwibber would shorten url as-you-type, meaning, once you type and there is not enough space it would shorten the first url, then the second, etc.
To prevent acquiring shortened urls even though they are not needed in the end (user might remove text before sending), gwibber could replace urls with a placeholder as you type and get a real shorted URL only when actually sending the message.
Of course this would require some info about how long shorted urls are for a given url shortening service, but i think that shouldnt be a big problem.
Changed in gwibber: | |
assignee: | nobody → Ken VanDine (ken-vandine) |
Changed in gwibber: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in gwibber: | |
assignee: | Ken VanDine (ken-vandine) → nobody |
To post a comment you must log in.
I think that Twitter itself will shorten virtually all long URLs itself even if there is space for the full URL in the message text. It's probably a good idea to experiment with that before somebody implements this feature.
http:// getsatisfaction .com/twitter/ topics/ why_does_ twitter_ automatically_ shorten_ url