From c24f2bdb6b2d94232f4d240fa9e46376e7e0e9f7 Mon Sep 17 00:00:00 2001 From: joshferraro Date: Tue, 25 Jan 2005 17:23:33 +0000 Subject: [PATCH] Added some minimal docs to Amazon.pm --- C4/Amazon.pm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/C4/Amazon.pm b/C4/Amazon.pm index dc872d4a12..1ab08034aa 100755 --- a/C4/Amazon.pm +++ b/C4/Amazon.pm @@ -22,7 +22,18 @@ package C4::Amazon; # as well as an associate's tag to use it. # FIXME: need to write up more docs. # - +# To use this module you need to do three things: +# 1. get a dev key and associate tag from Amazon +# 2. uncomment the Amazon stuff in opac-detail.pl +# 3. add the template variables to opac-detail.tmpl +# here's what's available: +# ProductDescription +# ImageUrlMedium +# ListPrice +# url +# loop SimilarProducts (Product) +# loop Reviews (rating, Summary) +# use strict; require Exporter; -- 2.39.2