{"id":4421,"date":"2003-08-14T23:40:55","date_gmt":"2003-08-15T07:40:55","guid":{"rendered":"http:\/\/www.ikillspies.com\/blog\/2003\/08\/14\/4421\/"},"modified":"2003-08-14T23:40:55","modified_gmt":"2003-08-15T07:40:55","slug":"amazon-in-blog","status":"publish","type":"post","link":"http:\/\/www.ikillspies.com\/?p=4421","title":{"rendered":"Amazon in blog"},"content":{"rendered":"<p>Amazon web services:<\/p>\n<ul>\n<li>There are 2 options, one where you just host images yourself, and the webservices version,<br \/>\nwhere the entire content comes from amazon.com<\/li>\n<li>Problem:  the iframe served is BIG and the URL is thus far difficult to parse<\/li>\n<\/ul>\n<p>Give it up, you know you just want it in Blog:  What  I want is a special category &#8220;Amazon&#8221; for postings, with the &#8220;Excerpt&#8221; field containing an ASIN and the main body \/ maybe the extended body containing a review article.<\/p>\n<ul>\n<li>MTAmazon on <a href=\"http:\/\/mt-plugins.org\/archives\/entry\/mtamazon.php\">MT-Plugins<\/a>\n<ul>\n<li>they talk about using <a href=\"http:\/\/www.bradchoate.com\/past\/mtmacros.php\">MTMacros<\/a> to make in-entry postings- this is probably what I&#8217;ll end up using<\/li>\n<\/ul>\n<\/li>\n<li>MTAmazon on <a href=\"http:\/\/sourceforge.net\/projects\/mtamazon\/\">SourceForge<\/a><\/li>\n<p><lI><a href=\"http:\/\/mtamazon.sourceforge.net\/use.html\">Using MTAmazon<\/a><\/li>\n<li><a href=\"http:\/\/kalsey.com\/2002\/07\/amazon_plugin\/\">Developer&#8217;s home page<\/a><\/li>\n<li><a href=\"http:\/\/www.bradchoate.com\/past\/000899.php\">Psycho gaming dude<\/a> and his use of MTAmazon<\/li>\n<\/ul>\n<p><b>Those fucking bitches<\/b>.  Turns out this functionality was in here the entire time&#8230; it&#8217;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&#8217;s the deal:<\/p>\n<ol>\n<li>Suppose your search string (e.g. your Asin string for a particular book) will always be in one field in your MTEntry<\/li>\n<li>Make a listing of your entries using MTEntries, just like normal<\/li>\n<li>Now use MTAmazon within the entry.  Except <b>instead of filling out something in the &#8220;search&#8221; field,<br \/>\nuse the attribute &#8220;related&#8221; instead<\/b><\/li>\n<li>&#8220;related&#8221; can be:\n<ul>\n<li>category<\/lI>\n<li>title<\/li>\n<li>extended<\/li>\n<li>excerpt<\/li>\n<\/ul>\n<\/li>\n<li>The MTAmazon tag will use that field in the list of entries for the search string, one per Amazon invocation<\/li>\n<li>So, in the case of a simple listing which only uses a search string from the blog entry,<br \/>\nwith everything else being generated by MTAmazon, there will be <b>NO MTEntry tags<\/b> in your template code for this list!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-4421","post","type-post","status-publish","format-standard","hentry","category-looky"],"_links":{"self":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts\/4421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4421"}],"version-history":[{"count":0,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts\/4421\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4421"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}