<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://www.majordojo.com/projects/FeedManager/atom.xsl" type="text/xsl" media="screen"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/01/mtamazon-30-alpha-1-released.php" />
  <link rel="self" type="application/atom+xml" href="http://www.majordojo.com/2006/01/mtamazon-30-alpha-1-released.php" />
  <id>tag:www.majordojo.com,2010://3/tag:www.majordojo.com,2006://3.2513-</id>
  <updated></updated>
  <title>Comments for MTAmazon 3.0 Alpha 1 Released</title>
  <subtitle>A blog about Movable Type, technology, geek-dom, science-fiction and yes, sometimes my personal life.</subtitle>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.261</generator>
  <entry>
    <id>tag:www.majordojo.com,2006://3.2513</id>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/01/mtamazon-30-alpha-1-released.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.majordojo.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=3/entry_id=2513" title="MTAmazon 3.0 Alpha 1 Released" />
    <published>2006-01-02T21:39:23Z</published>
    <updated>2007-08-26T16:55:10Z</updated>
    <title>MTAmazon 3.0 Alpha 1 Released</title>
    <summary>Without further ado - here is the MTAmazon 3.0 alpha release (unix, windows). I stress alpha because the plugin comes without documentation of any kind. Intrepid hackers will have a little creative backwards engineering to do. On the other hand,...</summary>
    <author>
      <name>Byrne</name>
      <uri>http://www.majordojo.com/</uri>
    </author>
    
    <category term="Announcements" />
    
    <content type="html" xml:lang="en" xml:base="http://www.majordojo.com/">
      <![CDATA[<p>Without further ado - here is the MTAmazon 3.0 alpha release (<a href="http://www.majordojo.com/projects/MTAmazon/downloads/MTAmazon-3.0a1.tar.gz">unix</a>, <a href="http://www.majordojo.com/projects/MTAmazon/downloads/MTAmazon-3.0a1.zip">windows</a>). I stress <em>alpha</em> because the plugin comes without documentation of any kind. Intrepid hackers will have a little creative backwards engineering to do. On the other hand, I suppose however that the good news is that the best reference manual for this plugin is Amazon itself. Refer to <a href="http://www.amazon.com/gp/redirect.html/ref=sc_fe_c_1_3487571_1/103-9871281-7820647?location=http://www.amazon.com/gp/aws/sdk%3fv%3d2005%252d10%252d05%26s%3dAWSEcommerceService&amp;token=767B477953029FE99E5C165F8C4088CFAC2717E7">Amazon&#8217;s API Reference</a> for a list of supported template tag arguments for each of the currently supported method: ItemSearch and ItemLookup. Each request parameter can be entered into the template tag as an argument, providing the most flexibility possible. </p>

<p>But I guess I shouldn&#8217;t leave everyone totally high and dry. Keep reading for a few sample template code excerpts and installation instructions to get you started.</p>
]]>
      <![CDATA[<h3>Installation</h3>

<p>Installation of MTAmazon is simple - copy the MTAmazon archive file into the same directory as <tt>mt.cgi</tt> and unzip it. If you are installing this manually or via FTP just be careful to create the necessary directories in your <tt>plugins</tt> folder first.</p>

<h3>Item Lookup Example</h3>

<pre><code>&lt;h4&gt;Batman&lt;/h4&gt;
&lt;MTAmazonItemLookup ItemId="B00005JNOG"&gt;
  &lt;MTAmazonImageTag size="medium"&gt;&lt;br /&gt;
  &lt;a href="&lt;$MTAmazonDetailPageURL$&gt;"&gt;&lt;$MTAmazonTitle$&gt;&lt;/a&gt;&lt;br /&gt;
  Directors: &lt;$MTAmazonItemAttributes name="Director"$&gt;
&lt;/MTAmazonItemLookup&gt;
</code></pre>

<h3>Item Search Example</h3>

<pre><code>&lt;h4&gt;Star Wars&lt;/h4&gt;
&lt;MTAmazonItemSearch SearchIndex="DVD" Keywords="Star Wars" lastn="3"&gt;
  &lt;p&gt;&lt;MTAmazonImageTag size="medium"&gt;&lt;br /&gt;
  &lt;a href="&lt;$MTAmazonDetailPageURL$&gt;"&gt;&lt;$MTAmazonTitle$&gt;&lt;/a&gt;&lt;br /&gt;
  &lt;MTAmazonIfItemAttribute name="Director"&gt;
    Directors: &lt;$MTAmazonItemAttributes name="Director"$&gt;&lt;br /&gt;
  &lt;/MTAmazonIfItemAttribute&gt;
  Price: &lt;$MTAmazonPrice$&gt;&lt;br /&gt;
  &lt;/p&gt;  
&lt;/MTAmazonItemSearch&gt;
</code></pre>

<h3>Support</h3>

<p>If you have problems or feature requests, <a href="http://www.majordojo.com/help/ttx.cgi">submit a help ticket</a>.</p>
]]>
    </content>
  </entry>

</feed>

