On Thu, Apr 22, 2010 at 5:18 AM, Craig Andrews <[email protected]> wrote: > I just committed ClientSideShortenPlugin to 0.9.x. > > http://gitorious.org/statusnet/mainline/commit/65796ba03ba4cd0470a1e9790d2234c8b42d6cba > > From the README: > ClientSideShorten causes the web interface's notice form to automatically > shorten urls as they entered, and before the notice is submitted. > > A few people at work asked for this functionality, so I just whipped it > up. I'd like to have some feedback on both the idea and the > implementation, and any suggestions on how to improve it. Installation is > very easy - Add "addPlugin('ClientSideShorten');" to the bottom of your > config.php > > Thanks, > ~Craig
I think it might be a too aggressive. The user could pause in the middle of typing and have their partial URL shortened. Also, it doesn't look like it will recognize URLs that are already shortened (or URLs that it itself shortened) and not attempt to shorten them again. Instead of on keypress, perhaps this could be triggered by a clicking a button next to the text field (like the attach file button)? Jeff _______________________________________________ StatusNet-dev mailing list [email protected] http://lists.status.net/mailman/listinfo/statusnet-dev
