Tag Archives: Amazon

Amazon Simple Store in PHP with Mandatory Signed Requests

Several years ago I used Amazon software for a lot of sites. But after they changed their authentication there was a lack of documentation and I lost interest in trying to fix the old code. I kept going back to their site and forums to see if anyone had ever fixed their Simple Store example which was an excellent spring board into understanding the code. Unfortunately there was never a resolution, and the last comment on the product page was from July 2010 stating that it still does not work.

For some unknown reason this product came back into my vision over the past weekend and the pieces fell into place to resolve the problems.

So I have modified the original and fixed the problem with the mandatory signed request.

A working copy can be seen at CyberCoder Amazon Store

It can be downloaded from Amazon Simple Store in PHP with Mandatory Signed Requests , I do charge a $9.95 fee to download from my site. And yes, I know, everything should be free, but some of us have to make an income from our work.




WordPress Page Templates

Using WordPress page templates is a great way to create unique pages on your WordPress site. These are not blog posts, but custom pages. A WordPress page template is very easy to create and the WordPress Codex has a great tutorial to add pages to your site.

Using the page templates you can simply change your current page design or create completely new page designs. The possibilities are endless.

One of the key elements is that a WordPress page template allows you to keep the basic design and flow of the pages while adding custom content. This way when you change anything on your sidebars, header or footer the changes flow through to your pages. Unless of course you change any of those elements in the custom page.

Some examples on this site are the  Entrecard Dropped Cards page which displays the current list of people who have dropped their card for my review. PHP Books is a page that uses Amazon to display books about PHP Programming. Both these pages are dynamically created from RSS content using tools built into WordPress.

Custom pages are an excellent way to add content to your site. And while you are testing your new pages, just set the Page Status to Private so you can develop the page without anyone seeing it until you have it just the way you want it.

Amazon Mashups

Amazon has been doing a great job of staying up to date with RSS. They have released several feeds that give us the opportunity to keep up with Best Sellers, New Releases and Tagged products. Using RSS is a great way to allow users the ability to mashup pages with their content while maintaining an affiliate link to make money.

Amazon RSS web feeds can be subscribed to or used as a data source for your own applications. The mechanism to add your affiliate link is the best part. You simply add your affiliate id as a parameter in the URL.

There are 2 pages to visit to see learn about these feeds.

Tagged Products web feeds

Bestseller and New Release feeds

To show how easy this is I have created several pages that take the Amazon feed and parse it with MagpieRSS which is built in to WordPress. If you look at the links in each one it includes the affiliate id.

Products -This page is part of MusicRamble.com and utilizes the Tagged Products RSS. It is also based on a page template and includes a form to do more searches with.

I have been an Amazon affiliate for years, and this by far is the easiest way I have seen to create pages with Amazon content.

Tell me what you think?

Suggested reading on Amazon Simple Store in PHP.