Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[Reviving] Amazon Web Services - Dynamic Stores

Quote Reply
[Reviving] Amazon Web Services - Dynamic Stores
I'm again looking at this. This is the biggest on again off again project I have. Trying to make heads/tails of the amazon system has been like trying to read War and Peace in Chinese.

Unlike the above referenced text, though, a few have been able to figure out what is going on, and a few (often pricey) apps exist. Emphasis seemed to be split too much between the various offerings, rather than concentrating on a down-feed for affiliates, and separate seller/shops programs for those areas.

A few of the CPAN modules have been fleshed out, and my last shot at this a few days ago, I was able to search on several keywords, grab the ASIN's and then download and populate a new database of nich-market books.

So, I'm again working on this as a plugin (not the larger OEM system), and would like to have a fully functional program before the holiday buying season. Complete with local wish lists, advanced comments and ratings, and such.

The way I want to work it, is to give the webmaster the option of using Amazon's reviews if they have them, but overriding them if there are local reviews on their own system. Most sites that have niche shopping do a better job than the "mall" at amazon.

I'm looking only at books and DVD for this first release, because there are a lot of "extras" in the various departments I don't want to spend time dealing with (since I only sell books and DVD).

I would *like* to offer a "best price" type system for the DVD's, if there is a way to support other vendors. Because this is *not* designed to be a shot-gun, mega, offer-every-book-and-video-in-the-world system, it would be manageable.

The purpose of this, is if you have a site about woodworking, anime, Disney, or any other defined area, you can offer a sub-set of the amazon products, with your own reviews and ratings, and keep the users on your system until checkout.

Amazon has gotten more reasonable with their fees, so that you don't need to create special entry points, and even if a user goes surfing on Amazon, they will credit you with the sales for that order. That part has gotten easier.

The problem I have is working out how to keep the pricing and availability current. There are still some things that don't make sense, but hopefully I'll find the answers.

*please* any feedback -- now is the time.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] [Reviving] Amazon Web Services - Dynamic Stores In reply to
I'd definitely be interested in this plugin if it were able to populate a database with regional interest books.
Quote Reply
Re: [Alba] [Reviving] Amazon Web Services - Dynamic Stores In reply to
How do you see it working for you? Are you familiar with the AWS system? It's a bit different from the regular affiliate links.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] [Reviving] Amazon Web Services - Dynamic Stores In reply to
I'll take a look tomorrow and get back to you. It is a long time since I've taken a serious look at Amazon but have been meaning to.
Quote Reply
Re: [pugdog] [Reviving] Amazon Web Services - Dynamic Stores In reply to
Maybe this is of interest for you.

On http://www.games-release.de/ I'm listing upcoming computer games. If a game has an ASIN entry, which is added by hand, I'm performing a lookup for similar games at Amazon. Dealing with AWS got me into trouble since my webhoster doesn't offer all these fancy XML parser and SOAP modules which are needed to do the query.

Therefor I'm using a very simple approach to get the data from Amazon. Basically the request is done with LWP::UserAgent (which should be available everywhere) and the XML parsing is handled by a regular expression.

Code:
[..]

my $request = 'http://webservices.amazon.de/onca/xml'
. '?and&so&on&and&on&and&on';

use LWP::Simple qw($ua get);
my $ua = new LWP::UserAgent;
$ua->timeout(5);
my $response = get($request);

if ($response) {
my @asins = ($response =~ /<ASIN>(\w+)<\/ASIN>/g);
}

[..]

This runs very well even in dynamic mode. The query has a response time from less then 0.3 seconds.