RubyGems.org

amazon-hacks

0.5.1

Mainly the product of messing around, this gem comprises Ruby code for a few useful "Amazon Hacks" -- common techniques for manipulating Amazon product URLs and Images. This is mainly useful if you find yourself creating a site where you might link to Amazon product pages and display images for them. Examples of this might include: * Social consumption sites like {All Consuming}[http://www.allconsuming.net/] * Blogs or tumbleblogs with book/music/etc. reviews * Normalizing Amazon links or create associate IDs This GEM is NOT related to using the Amazon Web Services and there is already an excellent gem for that if you need more heavy-duty use of the Amazon website (this gem does not even communicate with Amazon at all). Also, note this gem is meant in the spirit of fun hackery. You can use it to create interesting images from Amazon on demand, but if you are going to use it on a serious website, please consider caching and attributing that image to Amazon (I also have no idea what the official legal policy for using Amazon's book images is). And of course, do not even consider using this for fraud. It is possible to generate "20% off" or "Look Inside!" badges on Amazon images, but this gem does not support that since I can not think of any reason why outside sites would use that. == FEATURES/PROBLEMS:

installgem install amazon-hacks
Authors

Jacob Harris

6,572 total downloads 2,362 for this version
Owners

D3206cbdd9c086ea1ff4e9287ac2271b

Gemfile
gem 'amazon-hacks', '~> 0.5.1'
Versions
  1. 0.5.1 January 4, 2007 (12.5 KB)
  2. 0.5.0 January 2, 2007 (12.5 KB)
  3. 0.1.0 December 12, 2006 (12.5 KB)