Amazon in blog

Amazon web services:

  • There are 2 options, one where you just host images yourself, and the webservices version,
    where the entire content comes from amazon.com
  • Problem: the iframe served is BIG and the URL is thus far difficult to parse

Give it up, you know you just want it in Blog: What I want is a special category “Amazon” for postings, with the “Excerpt” field containing an ASIN and the main body / maybe the extended body containing a review article.

Those fucking bitches. Turns out this functionality was in here the entire time… it’s just wholly undocumented! The only way I found out about it was by looking through the perl code when I was planning on writing the new functionality myself!!! Okay here’s the deal:

  1. Suppose your search string (e.g. your Asin string for a particular book) will always be in one field in your MTEntry
  2. Make a listing of your entries using MTEntries, just like normal
  3. Now use MTAmazon within the entry. Except instead of filling out something in the “search” field,
    use the attribute “related” instead
  4. “related” can be:
    • category
    • title
    • extended
    • excerpt
  5. The MTAmazon tag will use that field in the list of entries for the search string, one per Amazon invocation
  6. So, in the case of a simple listing which only uses a search string from the blog entry,
    with everything else being generated by MTAmazon, there will be NO MTEntry tags in your template code for this list!

One thought on “Amazon in blog

  1. Hey — found this post via the trackback on Brad’s site. I’ve got a tutorial on how to set up the overlib amazon list kidna like what you want I think — I use the MT Title as the ASIN, the body as the description and the extended entry for an additional url if needed. Anyway — you might find it useful.

    http://www.silverberry.org/archives/000192.php

Leave a Reply