Friday, September 2, 2011

Subscribe to Amazon Deals in RSS: Free Code


Embedding Amazon RSS Feeds are a great way of adding product related content to your Blogspot blog. However, most people are not aware of how easy it is to add Amazon affiliate links, so I'm going to show you how. In exchange for this information, I ask you examine the Prosperent Affiliate Program and add one of their Javascript product banners to your website in order to have an additional line of revenue from your blog. First, we need to be familiar with how to embed RSS content with Blogspot:


Next, we need a list of valid Amazon RSS feeds. Featured below are direct links to Amazon's RSS feeds. These links can be embedded directly into Blogspot and/or can be added to Feedburner for syndication. More about Constructing Valid Amazon RSS Feeds is available from Amazon's site. Some good information can be found there. For example, Amazon makes it possible to generate RSS feeds based upon a particular keyword for USA affiliates.

List of Amazon RSS Feeds (URLs): USA Affiliates
  1. http://www.amazon.com/rss/bestsellers/apparel/?tag=amazon-associate-usa-20
  2. http://www.amazon.com/rss/bestsellers/appliances/?tag=amazon-associate-usa-20
  3. http://www.amazon.com/rss/bestsellers/arts-crafts/?tag=amazon-associate-usa-20
  4. http://www.amazon.com/rss/bestsellers/automotive/?tag=amazon-associate-usa-20
  5. http://www.amazon.com/rss/bestsellers/baby-products/?tag=amazon-associate-usa-20
  6. http://www.amazon.com/rss/bestsellers/beauty/?tag=amazon-associate-usa-20
  7. http://www.amazon.com/rss/bestsellers/books/?tag=amazon-associate-usa-20
  8. http://www.amazon.com/rss/bestsellers/digital-text/?tag=amazon-associate-usa-20
  9. http://www.amazon.com/rss/bestsellers/dmusic/digital-music-album/?tag=amazon-associate-usa-20
  10. http://www.amazon.com/rss/bestsellers/dmusic/digital-music-track/?tag=amazon-associate-usa-20
  11. http://www.amazon.com/rss/bestsellers/electronics/?tag=amazon-associate-usa-20
  12. http://www.amazon.com/rss/bestsellers/garden/?tag=amazon-associate-usa-20
  13. http://www.amazon.com/rss/bestsellers/gift-cards/?tag=amazon-associate-usa-20
  14. http://www.amazon.com/rss/bestsellers/grocery/?tag=amazon-associate-usa-20
  15. http://www.amazon.com/rss/bestsellers/hi/?tag=amazon-associate-usa-20
  16. http://www.amazon.com/rss/bestsellers/home-garden/?tag=amazon-associate-usa-20
  17. http://www.amazon.com/rss/bestsellers/hpc/?tag=amazon-associate-usa-20
  18. http://www.amazon.com/rss/bestsellers/industrial/?tag=amazon-associate-usa-20
  19. http://www.amazon.com/rss/bestsellers/jewelry/?tag=amazon-associate-usa-20
  20. http://www.amazon.com/rss/bestsellers/kitchen/?tag=amazon-associate-usa-20
  21. http://www.amazon.com/rss/bestsellers/magazines/?tag=amazon-associate-usa-20
  22. http://www.amazon.com/rss/bestsellers/mobile-apps/?tag=amazon-associate-usa-20
  23. http://www.amazon.com/rss/bestsellers/movies-tv/?tag=amazon-associate-usa-20
  24. http://www.amazon.com/rss/bestsellers/music/?tag=amazon-associate-usa-20
  25. http://www.amazon.com/rss/bestsellers/musical-instruments/?tag=amazon-associate-usa-20
  26. http://www.amazon.com/rss/bestsellers/office-products/?tag=amazon-associate-usa-20
  27. http://www.amazon.com/rss/bestsellers/pc/?tag=amazon-associate-usa-20
  28. http://www.amazon.com/rss/bestsellers/pet-supplies/?tag=amazon-associate-usa-20
  29. http://www.amazon.com/rss/bestsellers/photo/?tag=amazon-associate-usa-20
  30. http://www.amazon.com/rss/bestsellers/shoes/?tag=amazon-associate-usa-20
  31. http://www.amazon.com/rss/bestsellers/software/?tag=amazon-associate-usa-20
  32. http://www.amazon.com/rss/bestsellers/sporting-goods/?tag=amazon-associate-usa-20
  33. http://www.amazon.com/rss/bestsellers/toys-and-games/?tag=amazon-associate-usa-20
  34. http://www.amazon.com/rss/bestsellers/videogames/?tag=amazon-associate-usa-20
  35. http://www.amazon.com/rss/bestsellers/watches/?tag=amazon-associate-usa-20
  36. http://www.amazon.com/rss/bestsellers/wireless/?tag=amazon-associate-usa-20
The advantage of using the primary category links above is that they are not likely to change over time. While "apparel" has a corresponding node number, the fact that the node number is referred to as a particular name means that it is less likely to change. This information is useful in URL construction. Any Amazon affiliate knows that they change their node numbers often. What this means is that while it is indeed possible to display RSS feeds for a particular Amazon product node, the node number is likely to change at some point in the near or distant future. (An Amazon product node number is a way of classifying information into sub-categories and sub-categories of sub-categories.)

Back to the information at hand. Let's take a moment to break down and explain one of the RSS feeds above. As an Amazon affiliate, it is important to be familiar with this information for the sake of earning money through Amazon's RSS feeds. This had the advantage (at the present time) of not making an API request, which has a limited usage per hour. Using and scraping Amazon's RSS feeds is your best bet.

Let's break down item #1 in the list above.
  1. http://www.amazon.com/rss/bestsellers/apparel/?tag=amazon-associate-usa-20
  • http://www.amazon.com is URL address of the feed. If we were talking about Amazon Canada, Amazon Deutschland, Amazon France, Amazon Japan, Amazon United Kingdom, or Amazon China, we would use another URL.
  • rss tells Amazon that we want the RSS version of the page; to view the HTML version of the page, change rss to gp. Here is the link to the HTML version of the page: http://www.amazon.com/gp/bestsellers/apparel/?tag=amazon-associate-usa-20
  • bestsellers tells Amazon that we want to see Amazon's bestsellers of course! Now there are alternate methods of data classification that can be presented. Simply change bestsellers to any of the following to see a different presentation (punctuation and using lowercase are paramount!): most-wished-formost-giftedmovers-and-shakersnew-releases, and top-rated.
  • apparel is the particular shopping category. Now, you CANNOT go off and put anything here. :) You are constricted to use the names that Amazon provides. I listed all 36 feed names, so choose one which you think your blog readers would be interested in seeing!
  • ?tag=amazon-associate-usa-20 is the affiliate identification tag; change "amazon-associate-20" to whatever your particular tag is in order to receive credit, although, I wouldn't mind if you kept one or two feeds unchanged if you're feeling generous! :)
Blogspot Feed Widget vs. using Feedburner 
The condensed version is that using Blogspot's feed widget will limit the number of product items to 5, while using Feedburner's code on the other hand will increase the number of items available beyond the 5 number limitation. If you elect to go with the Feedburner solution, you must add the code to an HTML/JAVASCRIPT widget.

Syndicate Amazon through Feedburner
Pick a particular RSS feed from above, and add that Amazon RSS feed to Feedburner. Once in Feedburner, it is possible to customize further the number of items available for display. (Feedburner >> Publicize >> BuzzBoost) You would then add this Amazon Feedburner RSS url to a Blogspot HTML/JAVASCRIPT widget. For example, here's the code in use on this site ... feel free to copy it, modify it, and use it!

<a style="color:#0000ff;text-decoration:underline;font-weight:700;font-size:14px;text-align:right;" href="http://feeds.feedburner.com/deals-amazon" rel="alternate" type="application/rss+xml">Subscribe to Deals<img style="text-decoration:none;padding-left:5px;" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a>
<div style="font-size:14px;font-weight:400;margin-top:10px;list-style-type:none;list-style:none;">
<script src="http://feeds.feedburner.com/deals-amazon?format=sigpro" type="text/javascript"></script>
</div>

No comments: