Mozilla and RSS | Main | Get Your Dumb On

January 27, 2003

Goofing Off With Amazon

Posted by Mike on January 27, 2003 4:52 PM

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.


Way to support the man!

Posted by: Sam at January 27, 2003 7:49 PM