rmanalan
Forum Replies Created
-
Forum: Plugins
In reply to: trouble with WP-AmazonAt some point, I’ll make this configurable, but for now you can hack the wp-amazon.php file… look for a javascript function called generateHTMLCode:
function generateHTMLCode(format,prodname,url,imgurl) {
if (format==’link’) {
html = ‘‘+prodname+’‘;
} else {
html = ‘<img src=”‘+imgurl+'” alt=”‘+prodname+'” />‘;
}
htmlCode = document.getElementById(“htmlcode”)
htmlCode.value = html;
}Rich
Forum: Plugins
In reply to: Adding WP-Amazon to “Pages” Bugfixmmcginnis, I’ll go ahead and add your changes into WP-Amazon. Thanks for your contribution!
Forum: Plugins
In reply to: Introducing WP-Amazon PluginSomeone noted (in my blog) that if you blank out the dev token variable, it works. Give it a try and let me know so I can post an official work-around.
– RichForum: Plugins
In reply to: Introducing WP-Amazon Pluginfreelancer, yes it’s possible. I’ll add this ability in my next release.
Forum: Plugins
In reply to: Introducing WP-Amazon Plugindavid, I’ve emailed the main developer of NuSOAP for help. In the meantime, I’m going to try a more hard-wired approach to the Amazon Web Service which will hopefully solve your problem.
BTW, I just downloaded v1.76 of NuSOAP and it still works for me. What version are you using? Also, when you search with the plugin, what parameters are you using?
– RichForum: Plugins
In reply to: Introducing WP-Amazon Plugindavid, what version of php are you running on and on what platform? I haven’t tested on anything by linux running PHP 4.2+. It’s very possible that the nusoap library that I include with WP-Amazon is looking for something that’s not there.
davidchiat, yeah… I hesitated to use the nusoap library, but in most cases, it seems to work fine. My plugin only makes uses the KeywordSearchRequest for all of its calls so, it’s not as complicated as CG-Amazon. If I more people report problems with it, I’ll switch over and write my own low level soap calls.
– RichForum: Plugins
In reply to: Introducing WP-Amazon Plugindavid,
Are you getting that error all the time or only sometimes? What is your $Country variable set to (look in wp-amazon.php)?
– RichForum: Plugins
In reply to: Introducing WP-Amazon Plugindss,
Make sure the files you uploaded are readable (i.e., 644 at least).
– RichForum: Plugins
In reply to: Introducing WP-Amazon Plugintcervo, the output is one of the following:
* Link to item with product name
* Link to item with small size product image
* Link to item with medium size product image
* Link to item with large size product image
The link is a standard hyperlink tag with a title attribute. If you choose a link with an image, the img tag is hyperlinked. Very basic. It’s just a quick and easy tool to allow you to embed amazon links to your entries.
Yes, the plugin supports Amazon Associates IDs… you can read about how to change the ID in the README.txt.