---
title: "Goofing Off With Amazon"
author: "mike"
pubDate: "Tue, 28 Jan 2003 07:52:28 GMT"
link: "/posts/2003-01-28-goofing-off-with-amazon/"
urlPrev: "/posts/2003-01-27-mozilla-and-rss/index.md"
urlNext: "/posts/2003-01-28-get-your-dumb-on/index.md"
---


# Goofing Off With Amazon

*January 28, 2003*

For no better reason than "I can," movie and book entries get a corresponding Amazon link now.  It's courtesy [MTAmazon](http://mtamazon.sourceforge.net/) and [MTIfEmpty](http://www.bradchoate.com/past/mtifempty.php), which are [Movable Type](http://www.movabletype.org) 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](http://www.love-productions.com/mt/docs/plugins/entry/ifempty_plugin.php) over at the MT Plugin directory.

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

[Drop a line about this](mailto:mike@puddingtime.org?subject=Re%3A%20Goofing%20Off%20With%20Amazon).

← [Mozilla and RSS](/posts/2003-01-27-mozilla-and-rss/index.md) · [Get Your Dumb On](/posts/2003-01-28-get-your-dumb-on/index.md) →

