Closed (fixed)
Project:
Amazon associate tools
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2005 at 02:32 UTC
Updated:
15 May 2006 at 17:38 UTC
Am I right in my understanding that this module can work only with a single amazon locale at a time?
Can I use this module to have links to 3 amazon locales at the same time?
I am affiliated with Amazon USA, Amazon UK, Amazon Canada, and Powells.com, and I am sure many more webmasters don't limit their affiliations to just one amazon store, so I think this is critical.
Comments
Comment #1
Prometheus6 commentedYes, it's one locale at a time. You actually use multiple affiliations on a single site? I've only been asked about it once before and the way it was asked it didn't strike me like something broadly useful. Here, if you're curious.
It's possible but non-trivial. It would require changes to the tables to track the locale of each item, compound primary key of ASIN and locale, changes to the logic that selects the random book for the block, of the price refreshing mechanism, the admin item import, related book linker and node editing, as well as the associated forms...basically the whole module, now that I think about it.
Now that I've strongly implied I don't want to do it, I need to ask: I've been looking for info on a Powell affiliate program...heard about it, never seen it. Can you tell me where I can get technical details?
Comment #2
nsk commentedIt is *very* useful to have multiple affiliations, both for the users and the website. As for the powells programme, you can find it here or just ask me through email (my email can be found from here). Unfortunately my amazon tools still doesn't work (see the other bug report), but if I can make it work I will evaluate it and if it can replace the app I am currently using I may be able to find some time and help with documentation or development. One question: Do you have a devel ticket in amazon and have you included this into the code? (it uses amazon xml server, right?), I didn't see anywhere any setting for devel ticket in the admin interface.
Comment #3
nsk commentedI wish I could edit my own messages to fix the html!
Comment #4
Prometheus6 commentedThe developer token is in the include files. There's a constant named AMAZON_SEARCH_AMAZON_SUBSCRIPTION_ID. There is no option to change it and there should not be...the token must be valid and should be the same for every instance of the same code. If you edit the code, please change that to your own...if a severe problem develops, they can cut off access to every attempt that uses the token.
As for the feature request, I pretty much decide what I'm willing to support for free and release that. I can't think of a non-commercial use for multiple Amazon affiliations on a single site, and it's too much work to do for free when I have no personal interest in it.
I'll work with you to get it running under PHP5, though.
Comment #5
nsk commentedOf course there is a good noncommercial use for multiple affiliations, it's respect and service to the visitors of a site.
Using multiple locale affiliations is good for the users, good for the site, but very bad for the money. Read my blog post to understand why I am affiliated with co.uk and .ca in addition to .com. After I had the experience I described in the blog, I decided that I should allow the users of my site to buy books from any locality. That's good for the user because it gives them flexibility. It's also good for the site because, I believe, any site which respects its users will succeed. However, it's bad for the money because if the site is small it may take too much time to get actual money because orders get divided among many affiliates, so you have difficulty reaching the $100 minimum requirement (most affiliates don't send an actual cheque until you reach a specific level of sales, and gift certificates are not real money and don't help with actual webhosting expenses).
Of course I understand that you cannot develop this feature yourself because you aren't interested in it, but I am not sure whether I can sponsor your work (and I still can't make amazon tools to work). Even if I sponsor it, it will be without money, id est, I could only buy you a book from your amazon wishlist or give you some free webhosting or something similar. I only use the affiliations as an attempt to pay for my webhosting expenses.
Maybe I could try to find the time to study your tool and implement this feature. If I do this, would you accept my patch into your tool?
About the developer token: Is it Amazon's requirement that the same developer token should be used for all copies of an opensource application? I wanted to get my token, but I am fed up with contracts, NDAs, agreements, licences, etc. When I discovered that I needed to read and sign an agreement just to access Amazon's XML Server, I felt bad. I needed this for another Amazon tool, but I am afraid that if I get a token and include it in my code, then users may do something wrong and Amazon will think that I was responsible. Amazon seems to want to limit requests to one per second, what if a user generates two requests in 1 second by modifying my code and leaving my own token in it? I wouldn't want that, so I couldn't develop and redistribute my code with my own token. In my view, amazon should either allow public access to its XML server or every user should accept responsibility for accessing it, not the developer.
Comment #6
Prometheus6 commentedTough sell. I read your blog post, understand totally...but I don't see enough interest in it. Convince me there's enough desire to justify shipping it to EVERYONE, and I'd consider it.
The token is basically a way for them to know who they can contact if things go wrong. It says "This query was generated by code written by THIS guy." I have this module and Amazon Search, and both use the same token...if I create a desktop app, it will use it as well.
Yes...I just told you where mine is in the code.
Forgive me for becoming philosophical, but I'm over the hill, and so I'm entitled. I pretty much know what people are capable of, and have a good idea of the odds they will choose any given option. And I find I still have to do what I need to, in order to do what I choose to.
I'll get another token, do some encrypty stuff, everyone that installed Amazon associate tools will come screaming to Drupal.org to download the replacement.
That's why this one is database driven instead of pulling fresh data every time a node displays.
Comment #7
mjolley@buy-hot.com commentedI've been thinking about this, even before I discovered the Amazon mod about half an hour ago :)
I was thinking about pointing all Amazon URLs to a script that redirects to the site appropriate to the user's locale. The worst that can happen (I think) is that, say, a UK resident clicks on the link and finds the item unavailable at amazon.co.uk.
I haven't tried the mod yet so I don't know what changes if any would be needed to the mod itself to support this. I'd think it would just be a "redirect to the following URL for this item" option. The rare user of the feature would have to do the redirect himself.
This would be useful for me because my site is an international ad coop. I'm not sure if it's technically a commercial site.
Comment #8
Prometheus6 commentedThe different Amazon shops use different codes to represent the same item. You'd have to query each store individually in the searches, store each store's id number for ech product. When entering amazon-nodes manually, you'd have to enter the ID number for each store and related links become impossible.
Even if I switch to a title based search, you get multiple returns. And an automated title-based follow-up search at each shop will also return multiple items.
Comment #9
Prometheus6 commented