URL Shortening

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

URL Shortening

Post by Ambush Commander »

http://edfgdfgficdfgdfgtion.sodex... (edited for shortness)

See this URL? It causes problems. Big problems. Wouldn't it be nice if it was automatically shortened like this:

Code: Select all

<a href=&quote;fullurlhere&quote;>http://beginnig...&and=23</a>
Just a thought. Would that be difficult to implement?
Last edited by Ambush Commander on Sun Mar 27, 2005 4:08 pm, edited 1 time in total.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: URL Shortening

Post by Chris Corbyn »

Ambush Commander wrote:Just a thought. Would that be difficult to implement?
Would actually be quite easy.

Why does it cause "big" problems?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Well, actually, it doesn't cause big problems, although it's a pain in the neck to read, because the forum doesn't degrade it nicely (all the other text ends up getting wrapped to the big column: that means lots of horizontal scrolling)

And horizontal scrolling is *bad*
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I highly doubt seeing a change like this happening, because of the fact that this is already unlikely on its own to cause problems with the width of the page. Even if there is, it does not take priority amoung our other plans.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Hmm... that's fine. It's not too bad, as long as you don't do something like this:

Code: Select all

8i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw358i5vrnaw3985gnyaw35
That would cause problems, but you can always edit the post, eh?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

There are several valid instances where long strings without spaces are valid, where if we "formatted" them would then make them innacurate and invalid.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Yeah, that's why we have PHP tags that scroll to the right without affecting the outside forum. I can't think of any other places besides URLs (and thus my question). It's not every day you need a 100 character string without spaces.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Ambush Commander wrote:I can't think of any other places besides URLs (and thus my question). It's not every day you need a 100 character string without spaces.
You just made my point, so why bother with it?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

You just made my point, so why bother with it?
Umm... I don't understand. Wasn't your point that there were valid instances of long uninterrupted strings, and then I tried to refute that by saying only code and URLs were that way (thus the suggestion)? Could you clarify?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

My point was, however unlikely it already is to happen, it is not worth the effort.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Ah... I see. That's okay then.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it's a low priority, at best.. but I'll add it to the list.. number 30 sounds about right :P
Post Reply