Goofing Off With Amazon

January 27th, 2003  |  Published in Uncategorized

For no better reason than “I can,” movie and book entries get a corresponding Amazon link now. It’s courtesy MTAmazon and MTIfEmpty, which are Movable Type plugins.

MT has an ‘excerpt’ field in each entry that I normally don’t use. The MTIfEmpty plugin checks that field for an Amazon product i.d., and if it finds one it generates the appropriate link/image. Otherwise it doesn’t do anything. The basis of the code I’m using to do this is in the IfEmpty entry over at the MT Plugin directory.

I seeded a few of the recent movie entries. I feel better already.

Comments are closed.

© Michael Hall, licensed under a Creative Commons Attribution-ShareAlike 3.0 United States license.