Tame Long Yahoo! URLs
With an eye for URLs and the right tools, you can shorten long Yahoo! URLs when you need to send them via email.
Most of the time, we’re all surfing the Web in virtual isolation. It’s just you and the computer, and the last thing on your mind is the length of a URL at a page you’re visiting. But as soon as you want to share the piece of the Web you’re viewing with someone else, the length of a URL becomes important.
Because email programs wrap text at 72 characters (for easy reading), any URL that’s longer could be broken. A broken URL means someone on the other end of the message won’t be able to see the page you’ve sent them—or that they will have to spend a minute or two pasting the URL together in Notepad. And imagine trying to handwrite a note to someone that includes some of the URLs you stumble across!
Trimming Yahoo! URLs
Yahoo! has a lot of great content to share with others, but some of the URLs are definitely too long to send via email. Here’s a Yahoo! Local URL for a page that shows a list of coffee shops in Sebastopol, CA:
http://local.yahoo.com/results;_ylt=AvyPaC0wOiCme6J1PYb56tSHNcIF;_ylu=X3oDMTBtbGZ2dXFpBF9zAzk2NjEzNzY3BHNlYwNzZWFyY2g-?stx=coffee&
csz=Sebastopol%2C+CA&fr=
Those 154 characters in the URL are definitely past the 72-character safe ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access