Indeed. There's been something like this on dailykos for ages. It works
fine.

-j

On 13/07/06 10:10 -0700, Chris Schults wrote:
> Break things? This is how it should work ...
> 
> STEP 1: User posts very long url
> 
> Blah blah blah
> 
> http://www.domain.com/iamaverylonglinkthatneedstobetruncated
> 
> More blah blah
> 
> STEP 2: Function adds anchor tags
> 
> Blah blah blah
> 
> <a
> href="http://www.domain.com/iamaverylonglinkthatneedstobetruncated">http://w
> ww.domain.com/iamaverylonglinkthatneedstobetruncated</a>
> 
> More blah blah
> 
> STEP 3: Function truncates display URL while retaining original URL within
> anchor tags
> 
> Blah blah blah
> 
> <a
> href="http://www.domain.com/iamaverylonglinkthatneedstobetruncated">http://w
> ww.domain.com/iamaverylonglink...</a>
> 
> More blah blah
> 
> -----Original Message-----
> From: Scott Lockwood [mailto:wsl3 at lrsehosting.com] 
> Sent: Thursday, July 13, 2006 9:05 AM
> To: 'Chris Schults'
> Subject: RE: [Scoop-help] Truncating long URLs
> 
> The only real problem I see, is that it's going to break things. If you
> don't mind that it will break anything it truncates, then why not? I'd like
> to eventually see something that says, "Sorry, your UrL is too log. Try
> putting it in an anchor tag, please." but that obviously is going to require
> a fairly non-simple change to scoops comment code. :-)
> 
> _______________________________________________
> Scoop-help mailing list
> Scoop-help at lists.kuro5hin.org
> http://lists.kuro5hin.org/mailman/listinfo/scoop-help
> 

-- 

----------------------------------------------
/* You are not expected to understand this. */

Captain_Tenille
http://www.satanosphere.com/
http://www.kuro5hin.org/
jeremy at satanosphere.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.kuro5hin.org/pipermail/scoop-help/attachments/20060713/c78f03f0/attachment.bin