Two link Questions

I want a user to be able to submit a link to an outside website. If it
is an article titled say "Lakers lose to Denver." from the New York
Times, I want to create a link to the article, but have the title of the
button be the name of the article.

Also I want to include the source website, but have it not be a button.
If the user submits a link that says
www.nyt.com/sports/basketball/32445, I want this to be shorted
automatically to www.nyt.com

Just <%= link_to title, url %> greetings, mike