1 masaus Aug 08, 2006 07:50
3 moonchild Aug 08, 2006 21:24
P.S. You can see some amazon stuff in action at my site:
http://www.moonchild.ch/sales/index.php
4 masaus Aug 09, 2006 07:34
Moonchild,
Thank you very much for the hints.
I tried your suggestions but I still have the error. My b2evo version is v0.92. I'm wondering if the version number is related to the problem.
I actually put your source code on your site into my "write", I had "invalid URL" error message.
Is my b2evo version old? Or...
Ahhh.... what should I do...
masaus
5 masaus Aug 09, 2006 07:54
Even I put text link like
<a href="http://www.masaus.com/product--asp--ProdID--28417--af--page.htm?REFID={2CEFC86D-C5F3-4FCB-9EA1-338979804A0E}&AffiliateVariable=">Test Test Test</a>
I got "Invalid URL" error.
I think I should learn more about HTML and PHP?
If anyone can help me, I would really appreciate it.
msaus
6 moonchild Aug 09, 2006 11:08
I think the double dashes are messing you up.
I use two types of links on my site. One is generated by a php file which searches Amazon.
http://www.amazon.com/exec/obidos/ASIN/1572814349/ref=nosim/moonchildch-20?dev-t=D2WMCOIPS9D14E
I got the php file here: http://www.chipdir.nl/amazon/. I had trouble using this format in the "Link to Url" field. So the ones I enter there look like this:
http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/0062516590&tag=moonchildch-20&camp=1789&creative=9325
I wrote to Amazon customer service, just to make sure it's a valid link. I've found them to be very responsive and helpful.
7 edb Aug 09, 2006 15:42
Also try changing the & to & just because maybe it's an issue. Not sure though.
8 moonchild Aug 09, 2006 20:06
Looking again at your original post--there's that second image used for tracking. It's possible that the problem is with using "width," "height," and "style" together. Try putting the width and height *into* the style. Or put the whole style into the stylesheet.
9 masaus Aug 10, 2006 05:33
Moonchild, EdB,
Thank you for your help. But I cannot put the link on my blog yet... I don't know why...
Again, I just copied and pasted the code from Amazon.com. Then it doesn't work. The errors are always two as follows,
1. Found invalid URL: Invalid URL
2. Parser error: mismatched tag:
I have trid other link from another affiliate program. #1 always occurs. But when I copied and pasted the URL in the anchor on my web browser, I always get their webpage correctly.
I visited your, Moonchild's website and checked your code and found you don't use the code from Amazon. I think one of the key issues should be there. Have you tried their code directly?
I have also tried WordPress to do same thing and it didn't have any problem with the code.
I think I should ask Amazon to know what's going on here as you recommend.
Again, my code is,
<a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/B000CSOXTO&tag=yourcutegadge-20&camp=1789&creative=9325"><img border="0" src="B000CSOXTO.01._AA_SCMZZZZZZZ_V55597774_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=yourcutegadge-20&l=as2&o=1&a=B000CSOXTO" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
If you find anything more, please let me know.
I really appreciate your continuous help.
masaus
10 john Aug 10, 2006 07:15
The following puts a linked image in B2Evo to [URL=http://www.amazon.com/gp/product/B000CSOXTO/002-9313110-4358452?n=172282]this product[/URL]
<a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/B000CSOXTO&tag=yourcutegadge-20&camp=1789&creative=9325"><img src="http://ec1.images-amazon.com/images/P/B000CSOXTO.01._AA280_SCLZZZZZZZ_V55597774_.jpg" /></a><img src="http://www.assoc-amazon.com/e/ir?t=yourcutegadge-20&l=as2&o=1&a=B000CSOXTO" width="1" height="1" alt="" />
but I'm not realy clear on what it is your chasing
11 masaus Aug 11, 2006 05:28
John,
Thank you. I got it!
masaus
Since an image tag doesn't use an end (closing) tag, you have to write <img src="blahblah" /> Your second image has it, but the first one doesn't. It's the same with a line break: <br />