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.

This is the blog of Adam Kalsey. Unusual depth and complexity. Rich, full body with a hint of nutty earthiness.

Content Management

MTAmazon Sample Templates

Freshness Warning
This blog post is over 21 years old. It's possible that the information you read below isn't current and the links no longer work.

There’s been several requests for some sample templates for MTAmazon. Here are a few templates that will help you understand some of your different formatting and search options.

Simple list

If you want your list to look like this...

[removed, due to Amazon API change]

... you can use the following template:

<MTAmazon search="usability" devtoken="DMRKTBU9F2P28" lastn="3">
    <p><a href="<MTAmazonLink>">
    <img src="<MTAmazonSmallImage>" align="left" border="0" hspace="5" vspace="5" /><MTAmazonTitle>
    </a><br />
    <span class="small">By <MTAmazonAuthor></span><br />
List Price: <span class="listprice"><MTAmazonListPrice></span><br />
Sale Price: <span class="saleprice"><MTAmazonSalePrice></span><br />
Published <MTAmazonReleaseDate format="%B %e, %Y"><br clear="all" /></p>
</MTAmazon>

Shopping Cart Links

You can also add a button to your product display that allows your readers to add an item directly to their Amazon.com shopping cart...

[removed, due to Amazon API change]

... by using this template ...

<MTAmazon search="B00003CWT6" method="Asin" devtoken="XXXXXXXXXX" lastn="1">
<img src="<MTAmazonMediumImage>" align="left" border="0" hspace="5" />
<b><MTAmazonTitle></b><br />
<MTAmazonManufacturer>
<p>Amazon Price: <b><MTAmazonSalePrice></b></p>
<form method="POST" 
action="http://www.amazon.com/o/dt/assoc/handle-buy-box=<MTAmazonASIN>">
<input type="hidden" name="asin.<MTAmazonASIN>" value="1">
<input type="hidden" name="tag-value" value="<MTAmazonAssociateID>">
<input type="hidden" name="tag_value" value="<MTAmazonAssociateID>">
<input type="hidden" name="dev-tag-value" value="<MTAmazonDevToken>">
<input type="submit" name="submit.add-to-cart" value="Buy From Amazon.com">
</form><br clear="all" /></MTAmazon>

Browsing for Products

You can display items as they appear on Amazon’s catalog pages by using a BrowseNode search...

[removed, due to Amazon API change]

... using this template:

<MTAmazon search="499058" devtoken="XXXXXXXXXXX" method="BrowseNode" line="photo" lastn="3">
    <p><a href="<MTAmazonLink>"><b><MTAmazonTitle></b><br />
    <img src="<MTAmazonSmallImage>" align="left" border="0" hspace="5" vspace="5" />
    </a>
List Price: <span class="listprice"><MTAmazonListPrice></span><br />
Sale Price: <span class="saleprice"><MTAmazonSalePrice></span><br clear="all" /></p>
</MTAmazon>

Yours?

Do you have an interesting way to use MTAmazon? Give us a URL of your site below and tell us what your template looks like. Remember to change all < to &lt; and all > to &gt; if you copy your MTAmazon template into your comment.

Comments

Adam Kalsey
August 25, 2002 2:32 PM

You might also want to take a look at http://kalsey.com/blog/2002/08/better_amazon_links.stm for information about how to improve your product links with MTAmazon.

Trackback from Music and Madness
December 16, 2003 10:44 AM

http://216.153.188.226/blogs/madness/archives/000030.php

Excerpt: MTAmazon Sample Templates :: Kalsey Consulting Group...

This discussion has been closed.

Recently Written

Micromanaging and competence (Jul 2)
Providing feedback or instruction can be seen as micromanagement unless you provide context.
My productivity operating system (Jun 24)
A framework for super-charging productivity on the things that matter.
Great product managers own the outcomes (May 14)
Being a product manager means never having to say, "that's not my job."
Too Big To Fail (Apr 9)
When a company piles resources on a new product idea, it doesn't have room to fail. That keeps it from succeeding.
Go small (Apr 4)
The strengths of a large organization are the opposite of what makes innovation work. Starting something new requires that you start with a small team.
Start with a Belief (Apr 1)
You can't use data to build products unless you start with a hypothesis.
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.

Older...

What I'm Reading