How to make Amazon Context Links work in your Blogger blog
62
After analyzing the source code and putting my unmeasurable brain power to the task, I finally figured that Amazon needed the information in the comment tags as well (the details between the comment tags were not showing under "View Source"). After all, the JavaScript script we are calling is a general one and they needed our affiliate ID. If it doesn't show on the source code, it will likely not work properly. It would actually be worse if it works since purchases will be made because of our site but we won't get the proper credit. :P
So why won't the comments show? I tried a simple <!-- This is a comment. --> html test and to my surprise, it didn't show up in the source code as well. It struck me then that the template was in xml format and not the plain vanilla html. After doing some research, I realized that there are some special characters in xml that cannot be used in normal xml strings. I found at least 5. Namely, they are &, <, >, " and '. So it seems that for them to be used properly, we need to use their unicode versions.
|
|
AUCTION SELLER GUIDE For Ebay INCOME TOOL CD
Current Bid: $9.99
|
|
|
How to Sell eBooks on eBay! ebook cd - become a seller
Current Bid: $.99
|
|
|
THE TOP 10 TIPS FOR NEW EBAY SELLERS E BOOK NOT CD
Current Bid: $.26
|
|
|
Disney LOT OF 100 TRADING PINS FREE SHIP #1 SELLER EBAY
Current Bid: $119.99
|
So if you need an ampersand &, use & instead. If you need a left angular bracket <, use < instead. If you need a right angular bracket >, use > instead. If you need a double inverted comma ", use " instead. If you need an apostrophe ', use ' instead.
If you don't want to go through the hassle of changing it one by one, a nice person by the name of B.Suter has put up a free online converter at http://www.stanford.edu/~bsuter/js/convert.html that you can utilize. Note though that the form works for the 2 angular brackets only. After all, these are the ones usually causing the problem.
So there, I went to my Template >> Edit HTML in blogger (beta) and pasted in the modified code for Amazon Context Links. The context links show up just fine now. ^^
|
Amazon Top Seller Secrets: Insider Tips from Amazon's Most Successful Sellers
Price: $12.99
List Price: $24.95 |
|
|
Amazon.com Business Profile
Price: $9.99
List Price: $9.99 |
|
Sell Your Book on Amazon: The Book Marketing COACH Reveals Top-Secret "How-to" Tips Guaranteed to Increase Sales for Print-on-Demand and Self-Publishing Writers
Price: $13.43
List Price: $14.95 |
|
Aiming at Amazon: The NEW Business of Self Publishing, or How to Publish Your Books with Print on Demand and Online Book Marketing on Amazon.com
Price: $12.60
List Price: $16.00 |
PrintShare it! — Rate it: up down flag this hub
Thank you for the link. I will try this out later :)
Actually, you don't need to modify your html. Just drop an html/javascript gadget to your layout on the footer and put the codes in. that' it :)
Not sure if I know what you mean... but thanks for those who find it useful. :)











charms says:
3 years ago
Wow, thanks for the link. I have posted some amazon ads already. Hopefully this will help me post ads easier. :P