[Koha-devel] Amazon review

long_sam.tw long_sam.tw at yahoo.com.tw
Tue Jan 2 07:42:04 CET 2007


Hello,all

Amazon Review is a good idea.At first,thank you,Amazon.
it provides xml content,and then thank you,Joshua Ferraro.
He  provides Amazon source code for koha.

1.Koha 2.2.7
If you  use Koha 2.2.7,you only add  C4::Amazon; in front of  opec-detail.pl

『notes』if you use koha 2.2.5 
move some files:

amazonimages.js => opac/htdocs/opac-tmpl/npl/en/include/

main.js => opac/htdocs/opac-tmpl/npl/en/include/

opac-bottom.inc => opac/htdocs/opac-tmpl/npl/en/include/

opac-detail.tmpl => opac/htdocs/opac-tmpl/npl/en/

opac-searchresults.tmpl => opac/htdocs/opac-tmpl/npl/en/include/

opac-detail.pl => opac/cgi-bin/

opac-search.pl => opac/cgi-bin/

Amazon.pm => intranet/modules/C4/

2.Apply for AmazonAssocTag & AmazonDevKey
you have to apply for AmazonAssocTag & AmazonDevKey.

AmazonAssocTag
http://affiliate-program.amazon.com/gp/flex/associates/apply-login.html
AmazonDevKey
http://aws-portal.amazon.com/gp/aws/developer/registration/index.html

liblime provide 

AmazonAssocTag => ektostoukadou-20

AmazonDevKey => 0ZRY7YASKJS280T7YB02

4.fill  into opac  parameters 
And then,you login in intranet => system preference => opac
AmazonAssocTag => ektostoukadou-20
AmazonDevKey => 0ZRY7YASKJS280T7YB02
AmazonContent => 1

5.turn on firefox 
http://yourdomain/cgi-bin/koha/
serach 
and see detail.
http://koha.wikispaces.com/amazonreview

6.about amazon fire star,you modify layout.css(starMT,starFull) 

7.relative product you add template product

8.reference
Amazon Hacks: 100 Industrial-Strength Tips and Tools
http://www.amazon.com/Amazon-Hacks-Industrial-Strength-Tips-Tools/dp/0596005423/ref=cm_sylt_fullview_prod_top_1/002-7986212-9057658/002-7986212-9057658

example:
http://koha.wikispaces.com/amazonreview

cheers,
longshan








___________________________________________________ 
 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
 http://messenger.yahoo.com.tw/





More information about the Koha-devel mailing list