Scott Andrew - lo-fi acoustic pop superhero!

Join the Demo Club to unlock new music, get discounts, tour dates and other neato stuff:

or learn more here.

March 28, 2002

Search Link Shortcuts in Moveable Type

I often link certain keyword in my blog posts to Google or dictionary searches, so the idea occured to me to make a few shortcut buttons to make this easier in Moveable Type. These MT shortcuts work just like the standard HTML editing shortcuts, except they take the highlighted word or words and create a link to search Google, Amazon or Dictionary.com.

Screenshot:
http://www.scottandrew.com/pub/mt-powerlinks.gif

Easily installed:

1. Download and unzip this file:
http://www.scottandrew.com/pub/mt-powerlinks.zip

2. Upload the 3 button images into the /images/ directory of your MT installation.

3. Go into /tmpl/cms/ and make a backup copy of your original edit_entry.tmpl file just in case.

4. Upload the edit_entry.tmpl from the zip package into /tmpl/cms/

That’s it! Now, to easily make a search link, highlight the word or words in your post and click the appropriate button. The selected words become search terms.

BTW, for Amazon searches, there’s an Associate code that’s added to the search URL. By default, the code is “rhumba-20″ (Moveable Type) but you can change this easily by opening up edit_entry.tmpl in a text editor and changing the value of the “amazon_tag” JavaScript variable, near the top of the page:

var amazon_tag = 'rhumba-20';

Sorry, there’s no keyboard shortcuts for these yet.

No Comments

Leave a Comment

Close
  • E-mail
  • Social Web

Email this page to a friend:

E-mail It

Buy Music

Download Scott Andrew tracks from iTunes Find Scott Andrew at Rhapsody Find Scott Andrew at Amazon Find Scott 
Andrew at CD Baby

New Videos

More Videos

Photos

More Photos at Flickr

Recent Reader Comments

  • michael: Well ain't that a hoot! A couple midwesterners tur...
  • big daddy d: still can't beat the andrew, spaly, jolin "Peace o...
  • big daddy d: good room sound. would you play their again?
  • big daddy d: hey he's driving on the wrong side of the road.
  • state shirt: yes you can!