A little command that's especially useful for writing emails.
It takes a highlighted URI and uses murl.info to shorten it to something more like:
Very tinyurl but a little more underground ;-). Plus I couldn't get tinyurl to do this...
It will accept a uri with or without a protocol (http(s)) and will accept just about any amount of garbage on the end. It does a pretty decent job of recognizing if what you have selected is actually a uri or not.
Brett

Brett Terpstra : Art Director Circle Six Design, Inc. 111 Riverfront Dr, Suite 204 .................................................. p: 507.459.4398 877.858.4332 f: 1.866.540.3063 e: brett@circlesixdesign.com http://www.circlesixdesign.com ..................................................
On 7. Nov 2006, at 02:21, Brett Terpstra wrote:
A little command that's especially useful for writing emails.
[...]
I think shortening URLs like that decrease usability, as most URLs give a strong hint about what they are about, and/or the reader can recognize if he visited the page before, plus you cheat the site for its google rank ;)
IMO much better to use the footnote notation [1] to keep the text clean.
[1] Like shown in this letter.
Problem is, a lot of mail readers add line breaks on long urls and a lot of people that I send urls to can't figure out how to paste them back together. So shortening them to prevent line breaks is kind of a must for me. I would only use it for emails... but I find it very useful for that.
Brett
On Nov 6, 2006, at 7:56 PM, Allan Odgaard wrote:
On 7. Nov 2006, at 02:21, Brett Terpstra wrote:
A little command that's especially useful for writing emails.
[...]
I think shortening URLs like that decrease usability, as most URLs give a strong hint about what they are about, and/or the reader can recognize if he visited the page before, plus you cheat the site for its google rank ;)
IMO much better to use the footnote notation [1] to keep the text clean.
[1] Like shown in this letter.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Brett Terpstra : Art Director Circle Six Design, Inc. 111 Riverfront Dr, Suite 204 .................................................. p: 507.459.4398 877.858.4332 f: 1.866.540.3063 e: brett@circlesixdesign.com http://www.circlesixdesign.com ..................................................
Brett,
The murl bundle seems to have recently become broken.. Lately, its been giving errors whenever I attempt to use it.. Could something in the recent textmate updates have broken it?
Thanks in advance
danstan
On Nov 6, 2006, at 8:21 PM, Brett Terpstra wrote:
A little command that's especially useful for writing emails.
It takes a highlighted URI and uses murl.info to shorten it to something more like:
Very tinyurl but a little more underground ;-). Plus I couldn't get tinyurl to do this...
It will accept a uri with or without a protocol (http(s)) and will accept just about any amount of garbage on the end. It does a pretty decent job of recognizing if what you have selected is actually a uri or not.
Brett
<Murl URL 2.tmCommand>
Brett Terpstra : Art Director Circle Six Design, Inc. 111 Riverfront Dr, Suite 204 .................................................. p: 507.459.4398 877.858.4332 f: 1.866.540.3063 e: brett@circlesixdesign.com http://www.circlesixdesign.com ..................................................
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Allan won't like me for this (he's opposed to shortening URIs, and I've come to agree in most cases), but here's a replacement. It's not TM that broke, but murl. They've reconfigured the service such that the command won't work (same problem I had with tinyurl). There's a new one called XRL that has a nice API. This command is extremely simple but should serve your purposes.
Brett

On Mar 11, 2007, at 12:57 PM, xolela@mac.com wrote:
Brett,
The murl bundle seems to have recently become broken.. Lately, its been giving errors whenever I attempt to use it.. Could something in the recent textmate updates have broken it?
Thanks in advance
danstan
On Nov 6, 2006, at 8:21 PM, Brett Terpstra wrote:
A little command that's especially useful for writing emails.
It takes a highlighted URI and uses murl.info to shorten it to something more like:
Very tinyurl but a little more underground ;-). Plus I couldn't get tinyurl to do this...
It will accept a uri with or without a protocol (http(s)) and will accept just about any amount of garbage on the end. It does a pretty decent job of recognizing if what you have selected is actually a uri or not.
Brett
<Murl URL 2.tmCommand>
Brett Terpstra : Art Director Circle Six Design, Inc. 111 Riverfront Dr, Suite 204 .................................................. p: 507.459.4398 877.858.4332 f: 1.866.540.3063 e: brett@circlesixdesign.com http://www.circlesixdesign.com ..................................................
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Thanks Brett,
I agree that for the most part, its not agreeable, but there are cases when it is unavoidable, in which case "your tool" becomes handy...
While I would like to keep the original I for instance had to send the following link [1] to colleagues - some not that web/mailer savy for whom their mailer breaks the link in which case I spend most of the time addressing the failure to get to the link...
If there is another way to do this a make it easier for people that I work with while keeping to the intended usability as suggested by Alan I will take that way any day - I have no intention of cheating anyone of their google rank etc...
danstan
[1] http://docstore.ingenta.com/cgi-bin/ds_deliver/1/u/d/ISIS/ 36029671.1/cabi/pns/2000/00000059/00000001/ art00018/39ECAA2F26C5A0E511736294004DBC666BB0601AA9.html?link=http:// www.ingentaconnect.com/error/delivery&format=html
On Mar 11, 2007, at 2:40 PM, Brett Terpstra wrote:
<XRL URL.tmCommand.zip>
No, that url you posted is exactly why I said "in most cases". That just won't fly when I send it to a client who's email program puts hard breaks in at 80 characters and they have no idea how to paste a url back together in a browser. Enjoy the tool, I'm sure Allan will understand ;) Let me know if you have any problems with the new version..
Brett
On Mar 11, 2007, at 4:37 PM, xolela@mac.com wrote:
Thanks Brett,
I agree that for the most part, its not agreeable, but there are cases when it is unavoidable, in which case "your tool" becomes handy...
While I would like to keep the original I for instance had to send the following link [1] to colleagues - some not that web/mailer savy for whom their mailer breaks the link in which case I spend most of the time addressing the failure to get to the link...
If there is another way to do this a make it easier for people that I work with while keeping to the intended usability as suggested by Alan I will take that way any day - I have no intention of cheating anyone of their google rank etc...
danstan
[1] http://docstore.ingenta.com/cgi-bin/ds_deliver/1/u/d/ISIS/ 36029671.1/cabi/pns/2000/00000059/00000001/ art00018/39ECAA2F26C5A0E511736294004DBC666BB0601AA9.html? link=http://www.ingentaconnect.com/error/delivery&format=html
On Mar 11, 2007, at 2:40 PM, Brett Terpstra wrote:
<XRL URL.tmCommand.zip>
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Hi all,
On 11 Mar 2007, at 21:46, Brett Terpstra wrote:
No, that url you posted is exactly why I said "in most cases". That just won't fly when I send it to a client who's email program puts hard breaks in at 80 characters and they have no idea how to paste a url back together in a browser. On Mar 11, 2007, at 4:37 PM, xolela@mac.com wrote:
[1] http://docstore.ingenta.com/cgi-bin/ds_deliver/1/u/d/ISIS/ 36029671.1/cabi/pns/2000/00000059/00000001/ art00018/39ECAA2F26C5A0E511736294004DBC666BB0601AA9.html? link=http://www.ingentaconnect.com/error/delivery&format=html
I read somewhere that mail clients (which I understood to mean "Microsoft mail clients") will work OK if you surround the URL with angle brackets. Therefore, here's a test, perhaps if the link isn't clickable to anyone reading this they could report back to the list with details of what mailer they're using?
In case it gets mangled by my mail client when I send it, I should probably indicate that too - I'm using Mail.app from Mac OS X 10.4.8.
URL:
<http://docstore.ingenta.com/cgi-bin/ds_deliver/1/u/d/ISIS/36029671.1/ cabi/pns/2000/00000059/00000001/ art00018/39ECAA2F26C5A0E511736294004DBC666BB0601AA9.html?link=http:// www.ingentaconnect.com/error/delivery&format=html>
Jon
P.S. Apologies for hijacking the list for this experiment!
Hard to say, Mail.app doesn't break the addresses to begin with, so I can't tell if it worked. The problem is the worst for me when people are pulling messages off of places like GMANE and following broken links to my blog, and I don't think the brackets would make any difference once it's converted to text/html. Good tip to know, though, if it works.
Thanks, Brett
I read somewhere that mail clients (which I understood to mean "Microsoft mail clients") will work OK if you surround the URL with angle brackets. Therefore, here's a test, perhaps if the link isn't clickable to anyone reading this they could report back to the list with details of what mailer they're using?
In case it gets mangled by my mail client when I send it, I should probably indicate that too - I'm using Mail.app from Mac OS X 10.4.8.
Hi,
On 12 Mar 2007, at 11:20, Brett Terpstra wrote:
Hard to say, Mail.app doesn't break the addresses to begin with, so I can't tell if it worked. The problem is the worst for me when people are pulling messages off of places like GMANE and following broken links to my blog, and I don't think the brackets would make any difference once it's converted to text/html. Good tip to know, though, if it works.
It certainly got mangled by whatever drives the TM list archives:
http://comox.textdrive.com/pipermail/textmate/2007-March/018143.html
Jon
Jon,
On Mar 12, 2007, at 5:30 AM, Jon Evans wrote:
<http://docstore.ingenta.com/cgi-bin/ds_deliver/1/u/d/ISIS/ 36029671.1/cabi/pns/2000/00000059/00000001/ art00018/39ECAA2F26C5A0E511736294004DBC666BB0601AA9.html? link=http://www.ingentaconnect.com/error/delivery&format=html%3E
Jon
P.S. Apologies for hijacking the list for this experiment!
Apple Mail on 10.4.8 works fine as you'd expect, but the original one did too, even after it was quoted. This is a bad list to hijack for this purpose. You need a list with a more heterogeneous user base.
Roger,