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.

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.

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

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.

Older...

What I'm Reading

Contact

Adam Kalsey

+1 916 600 2497

Resume

Public Key

© 1999-2024 Adam Kalsey.