Need someone to lead product management at your software company? I create software for people that create software and I'm looking for my next opportunity. Check out my resume and get in touch.


Comments for MTAmazon 2.0

Excerpt: MTAmazon is a Movable Type plugin that displays products from on your site. It allows flexible searching and display of products from any of Amazon’s product categories. New in version 2.0 is caching, related products searching, and more tags for Amazon product information. Read the whole article…

Kenneth Hunt
July 27, 2002 12:51 PM

Could you post a few more examples? I haven't gotten it working yet. Also is MTAmazonDevToken need in the template?

Adam Kalsey
July 27, 2002 2:35 PM

devtoken is required in the template unless you have set a default developer's token in I'll work up some more examples and post them.

July 29, 2002 7:17 PM

Adam, the package looks really nice, but I can't get it to work! When I include an MTAmazon container in an entry or template, I get a bunch of errors: plugins/ did not return a true value at /usr/www/users/robichau/cgi-bin/lib/ line 79 is OK; I don't have a plugins dir defined in my mt.cfg file, but I can load another (dead-simple) plugin in the plugins dir, so I don't think that's the problem. Any suggestions?

July 29, 2002 8:59 PM

can i use this wonderful plugin with i am Japanese actualy.

Adam Kalsey
July 29, 2002 11:11 PM

Try putting the line: 1; at the end of

Adam Kalsey
July 29, 2002 11:13 PM

I don't think that Amazon offers their Web services interface for their non-US sites. You could ask them when they plan on supporting Web services outside the US.

July 30, 2002 2:53 AM

I added the "1;", but no dice. Maybe I'm doing the wrong thing-- can I use the tag within an entry, or only within templates?

Adam Kalsey
July 30, 2002 10:21 AM

Movable Type doesn't process tags inside entries, so there's no way to use MTAmazon tags in an entry.

Dave Bitton
August 3, 2002 9:12 PM

I'm getting this error on rebuild: MT::App::CMS=HASH(0x82101c0) print on closed filehandle MT::CACHE at plugins/ line 335. What is it, and how do I fix?

Dave Bitton
August 3, 2002 9:39 PM

I solved the prob. $cachdir in needs to be "plugins/cache" and not "./cache". I added a use CGI::Carp and then carp'ed the `pwd`, and it's the root MT dir, and not plugin. Once I added plugins/ to the dir, it works. :)

Adam Kalsey
August 3, 2002 10:00 PM

It sounds like you put the "cache" directory in the wrong place. The cache directory should be directly under the mt directory, not inside the plugins directory. I reread the installation instructions and they were ambiguous, so I altered them to better explain where the cache directory goes. Sorry for any grief this caused.

Adriaan Tijsseling
August 4, 2002 5:40 AM

I'm getting the same error: Build error in template 'Main Index': Error in tag: Error in tag: closego back MT::App::CMS=HASH(0x81eb094) print() on closed filehandle MT::CACHE at plugins/ line 335. MT::App::CMS=HASH(0x81eb094) print() on closed filehandle MT::CACHE at plugins/ line 335. MT::App::CMS=HASH(0x81eb094) print() on closed filehandle MT::CACHE at plugins/ line 335. MT::App::CMS=HASH(0x81eb094) Use of uninitialized value in concatenation (.) at [..]/lib/MT/ line 76. I have the cache in the right directory (directly under the MT dir). My template contains the following array: random amazon list " target="_top">, , " target="_top">, " target="_top">, , " target="_top">, , Can you help me out here?

Adriaan Tijsseling
August 4, 2002 5:50 AM

*sigh* I see all kinds of brackets were converted. Oh well, I fixed one thing: By setting the permissions of the cache to 776, I got rid of the "MT::App::CMS=HASH(0x81eb094) print() on closed filehandle MT::CACHE at plugins/ line 335.", but I'm still getting the "MT::App::CMS=HASH(0x81eb094) Use of uninitialized value in concatenation (.) at [..]/lib/MT/ line 76." error. I use a repetition of 4 tags, each with a different search string. I notice it is saved ok in the cache folder. (Btw, this did work well in the first version of MTAmazon.)

Adriaan Tijsseling
August 4, 2002 5:56 AM

My apologies! I didn't see that the newest version is hosted somewhere else. Version 2.0.2 solved my problem. So, please ignore or delete my previous comments.

August 8, 2002 5:59 AM

Could you please give some functional examples, with their output?

Adam Kalsey
August 9, 2002 9:32 AM

I've posted three sample templates along with the output they produce at

Michael Bravo
May 28, 2003 3:53 PM

It is probably my faulty understanding of MT plugin functionality, but... is there a way to use MTAmazon tags in the text of posts, and not in the templates? Judging by the existence of text formatting plugins, it seems that processing of actual entry contents is possible...

Adam Kalsey
May 28, 2003 8:46 PM

MT does not process tags inside entry text. It doesn't even look to see if any are there. Text formatting plugins work differently. The MT engine passes the text through the foratting plugin before writing it to the page. The only way to get MT to process tags is through the use of my process tags plugin: Make sure you read the security concerns with the plugin at

Michael Bravo
May 29, 2003 6:31 AM

Thanks! I really appreciate the advice and the effort gone into your plugins. By the way, there is a typo on the process_tags plugin page ( ), where it names process_plugins attribute instead of the correct (shown just below) process_tags. Perhaps this can deconfuse someone when fixed :)

Laura in DC
November 17, 2003 3:14 PM

Is there a similar tool for blogger?

Trackback from
January 3, 2004 3:26 PM


Excerpt: I'm having a bit of a play around with the MTAmazon plugin....

November 25, 2004 3:48 PM

Is 3.0 ever going to come out?

Trackback from What's New
February 24, 2005 8:40 PM

Reading List Fix

Excerpt: A massive thanks to heyblog for a most elegant MT-Amazon workaround that has finally allowed me to start updating my...

June 14, 2005 4:50 AM

Hi ... trying to install MTAmazon for the first time and MT isn't picking up the plugin. I have BookQueueToo installed which appears in the plugin list fine. When I click on that plugin I get the error: "An error occurred: Your server does not have MTPlugins::MTAmazon installed, or MTPlugins::MTAmazon requires another module that is not installed. MTPlugins::MTAmazon is required. Please consult the installation instructions for help in installing MTPlugins::MTAmazon" XML::Simple (v2.14) and LWP::UserAgent (v2.001) are both installed. and .mtamazon.config are in the plugins folder and is in the extlib folder. Am I missing something? Thanks. GC.

July 6, 2005 9:38 AM

hi, would it be possible to use this plugin to get all the product reviews for a particular REVIEWER at amazon, not by product?

March 31, 2009 8:12 AM

Can i know the "Suggested Tags from Similar Products" Xml FIeld Name for Amazon AWs API.

This discussion has been closed.

Recently Written

Mastery doesn’t come from perfect planning (Dec 21)
In a ceramics class, one group focused on a single perfect dish, while another made many with no quality focus. The result? A lesson in the value of practice over perfection.
The Dark Side of Input Metrics (Nov 27)
Using input metrics in the wrong way can cause unexpected behaviors, stifled creativity, and micromanagement.
Reframe How You Think About Users of your Internal Platform (Nov 13)
Changing from "Customers" to "Partners" will give you a better perspective on internal product development.
Measuring Feature success (Oct 17)
You're building features to solve problems. If you don't know what success looks like, how did you decide on that feature at all?
How I use OKRs (Oct 13)
A description of how I use OKRs to guide a team, written so I can send to future teams.
Build the whole product (Oct 6)
Your code is only part of the product
Input metrics lead to outcomes (Sep 1)
An easy to understand example of using input metrics to track progress toward an outcome.
Lagging Outcomes (Aug 22)
Long-term things often end up off a team's goals because they can't see how to define measurable outcomes for them. Here's how to solve that.


What I'm Reading


Adam Kalsey

+1 916 600 2497


Public Key

© 1999-2024 Adam Kalsey.