WP Plugin Amazon Item

Current Version: Version 1.2.2
requirements: Wordpress 2.2+
Download

Import Amazon.com (.ca/.co.uk/.de/.fr/.jp) Items and product descriptions into your posts the easy way. Use a simple tag within your Post to display any item from the Amazon website and earn referral fees on all qualifying revenue made through the links. All product information gets updated automatically (you define a cache time) by the Amazon Webservices.

Be sure to read the Amazon Web Services Customer Agreement and Associates Program Operating Agreement for all details on usage guidelines, policies and requirements.

Description
Installation
Download

Description:

The plugin makes use of the Amazon Associate WebServices (AWS) and replaces a special Tag in your post with the content fetched by the Amazon Webservices for this item.

You can define the cache time for the content to be updated.

Use the following tag within your Post to display an Item from the Amazon Website:

(asin:*ASINGOESHERE*)

Screenshot-1
Replace *ASINGOESHERE* by a valid ASIN.

  • You need an Amazon AWS Key to run this plugin! (free): http://www.amazon.com/gp/aws/registration/registration-form.html
  • Optional: To earn referral fees an additional Amazon Associates Tag is needed.

For more information about becoming an Associate, refer to one of the following web sites, depending on locale:

US: http://www.amazon.com/associates
CA: http://www.amazon.ca/associates
DE: http://www.amazon.de/partner
FR: http://www.amazon.fr/partenaires
UK: http://www.amazon.co.uk/associates
JP: http://affiliate.amazon.co.jp/gp/associates/join

More Info can be found here: http://www.amazon.com/webservices/

Installation:

After you’ve downloaded and extracted the files:

1. (optional) For a localisation, edit the ‘ai-languagepack.php’ file with a text editor to fit your needs.
2. (optional) Edit the ai.css file to customize the output of your posts.
3. Upload the complete ‘ai’ folder to the ‘/wp-content/plugins/’ directory
4. CHMOD 777 the ‘/ai/cache’ dir.
5. Activate the plugin through the ‘Plugins’ menu in WordPress
6. Go to ‘Amazon Item’ under the ‘Options’ tab and configure the plugin

More Information:

This plugin modifies the build-in ‘the_excerpt()’ function. When using this function in your template a small thumbnail of the product and a short description will be displayed. Use it for your search results, archives or start page if you like (instead of the ugly ‘the_content_rss()’ Function in some templates !).

To customize the output you can edit the ‘ai.css’ files in the plugin folder.

Just play around with it. Examples for all this can be found here on my blog.
If you find this plugin useful, a link to my site would be appreciated.

Any comments are welcome. If you have any questions, post a comment or send me an email:

steve [ a t ] greatdealson [ d o t ] net

Have fun !

Download:

WP Plugin Amazon Item v1.2.2 ZIP File (44kB)

old version: WP Plugin Amazon Item v1.01 ZIP File (40kB)

ChangeLog:

Version 1.2.2 (03-18-2008)
- some bugfixes

Version 1.2 (02-19-2008)
- some bugfixes
- the_excerpt() data is now stored in the WP Database for better performance
- added some options
- renamed filenames, function names for compatibility issues (future updates)
requirements: Wordpress 2.2+

Still ToDO:
- localisation

Version 1.01 (02-07-2008)
- Added Price Information for variable Prices
- fixed excerpt: removed html tags from review
- made some changes on the ‘amazon-item-languagepack.php’ File to fix the german ‘umlaute’

Version 1.0 (02-01-2008)

- first release
requirements: Wordpress 2.0+

  1. 20 Responses to “WP Plugin Amazon Item”

  2. hi, thanks for the great plugin, here my case:
    -when I installed it in php4, it work
    - but when i installed it in php5, it did not work, why?

    Thanks for your answer

    To be honest, I don't know yet why it did not work for you. I tried PHP Version 5.1.6 and it works well for me. Maybe you should consider uninstalling and reinstall the plugin again. What version of PHP did you try ?

    By john on Mar 16, 2008

  3. hi, I have invalid argument in :
    /home/graden0001/public_html/wp-content/plugins/ai/ai.php on line 200
    Can you figure it? Thanks

    you're right, please download v1.2.2 and replace ai.php with the new one. This should work.

    By sarah on Mar 16, 2008

  4. I have been activated this plugin but find this error :

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_parser_set_option(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.toonie/radeondt/coolautopart.info/wp-content/plugins/ai/ai-parser.php on line 63

    Any solution ?

    if you are on a root server you can edit your php.ini and edit the following line:
    allow_call_time_pass_reference = On

    By radeon on Mar 19, 2008

  5. hi!
    I download this plugin already this is the best amazon plugin I ever had
    Thanks a lot!!

    By yu on Mar 28, 2008

  6. Hi Steve,
    I do not know way, but your plugin doesn’t work for me. I have followed your instruction, step by step, but I get blank result. There is no contain appear. And there is no error message appear, make me confuse.

    Please, take a look my site, and can you figure what’s going wrong?

    Thanks

    note: I use latest version.

    Have a look at Options->Amazon Item->Location ... it seems that your are trying to display an Amazon ASIN from e.g. Amazon.de but did not change the Loaction Settings to the specific Country :-) Remeber to clear cache after changing the location settings

    By adi on Apr 3, 2008

  7. i seem to be having the same problem…
    wp - 2.3.3
    latest 1.2.2

    using amazon.com account … thus US selected
    clear cache of plugin tried…. but i get nothing… tried diff asins also…. any ideas?

    see my website

    By ampedm on Apr 4, 2008

  8. Oh also… the cache for this plugin also always says zero…

    i have checked my id and the paths in the script.. still no luck…

    Did you enter a valid AWS Access Key ? If yes, the only thing I can think of is that your server does not support the XML Library the script uses. This library requires that call-time pass-by-reference be enabled. More Info can be found on http://keithdevens.com/software/phpxml.
    To enable this feature you can add the following line to a .htaccess file:
    php_flag allow_call_time_pass_reference on
    Maybe this will make it work on your server.

    By ampedm on Apr 4, 2008

  9. hi,
    I have followed your guide, but it still get blank result. I use amazon.com (it means US, right?)

    yes this means: if you're using an ASIN from Amazon.com -> Select US, if you're using an ASIN from Amazon.de -> select DE ...
    Did you enter a valid AWS Access Key ?

    By adi on Apr 6, 2008

  10. hi, thanks for the great plugin, here my case:
    i post no anything. it not show Items and product descriptions but i see Amazon item setting show Cached Items: x. how to repair.

    Thank you very much.

    same as above comments:
    - Did you set a valid AWS Access Key ?
    - Check you "Loacale" Settings. (Products from Amazon.com => US, Amazon.ca => CA, Amazon.de => DE, ...)
    - on your server: call-time pass-by-reference be enabled ?

    By beer on Apr 7, 2008

  11. it doesn’t work with php 5.2 of dreamhost

    but work with php 4

    By berm on Apr 8, 2008

  12. Hey What i have told you is not real

    Your plugin is not work on dreamhost , can you resolve this please.

    my web : http://www.liveonblog.net

    By berm on Apr 8, 2008

  13. I am sure that I enter valid AWS key. Probably, my case is same as berm case, it is not work in some hosting.

    By adi on Apr 9, 2008

  14. Hey Steve,
    I downloaded your plugin today and it worls perfectly for me :-) BTW, my host is Hostgator.

    Thanks a lot

    By mat on Apr 9, 2008

  15. The plugin not work dreamhost

    By beer on Apr 9, 2008

  16. Doesn’t work on my dedicate box with WP 2.3.2 PHP4.4.1
    asin file name is cache directory is created with 0 bytes, -rw-r–r– permission.

    By Aquarium on Apr 13, 2008

  17. It doesn’t work on godaddy linux hosting with
    WP 2.3.1 and PHP 5.0

    I get problems when I activate this plugin.

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_parser_set_option(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.toonie/radeondt/coolautopart.info/wp-content/plugins/ai/ai-parser.php on line 63

    Also,I have added this line into my .htaccess file:
    php_flag allow_call_time_pass_reference on

    But,still doesn’t work.

    Its seems like your code not flexible for the almost hosting because this plug in requires enable allow_call_time_pass_reference.

    yes, you're right. the plugin requires the allow_call_time_pass_reference be enabled.

    By Tim on May 24, 2008

  18. It’s great plugin. My products post it too long how can i make it shot for showing on the 1st page?

    you can customize the output by editing your template !
    This plugin modifies the build-in ‘the_excerpt()’ function. When using this function in your template a small thumbnail of the product and a short description will be displayed. Use it for your search results, archives or start page if you like (instead of the ugly ‘the_content_rss()’ Function in some templates !).

    By shin on May 29, 2008

  19. hi.
    I’m try to post it
    but No response.
    my output is (asin:*********)
    why no response

    Did you enter a VALID AWS Key ?
    Did you enter a VALID ASIN ?
    Check the Location Settings.
    Maybe it won't work with your host... :-(

    By Einna on May 31, 2008

  20. it doesn’t work

    but me change ai.php

    $HTTP_POST_VARS => change => $_POST

    it is work.

    By leondc on Jun 18, 2008

  21. very nince plugin

    thank you.

    By shopping online on Jul 9, 2008

Post a Comment