From dad32231de0e27eaba45ce88f70288324d892bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Thu, 31 Jul 2008 18:27:50 +0200 Subject: [PATCH] Fixed mistakes in docs --- cakephp/datasources/amazon_associates/readme.textile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cakephp/datasources/amazon_associates/readme.textile b/cakephp/datasources/amazon_associates/readme.textile index 847d5c8..f7faec6 100644 --- a/cakephp/datasources/amazon_associates/readme.textile +++ b/cakephp/datasources/amazon_associates/readme.textile @@ -8,7 +8,7 @@ h2. Usage / Docs h3. Installing -1. Copy amazon_associates_source.php to app/models/datasources/amazon_associates_source.php
+1. Copy amazon_associates_source.php to app/models/datasources/
2. Open your app/config/database.php and add the following:

@@ -18,7 +18,7 @@ var $amazon = array(
 );
 
-3. Create app/controllers/amazon.php with the following code: +3. Create app/controllers/amazon_controlle.php with the following code:

 class AmazonController extends AppController{
@@ -28,12 +28,14 @@ class AmazonController extends AppController{
 		App::import('ConnectionManager');
 		$amazon = ConnectionManager::getDataSource('amazon');
 		$response = $amazon->find('DVD', array('title' => 'The Devil and Daniel Johnston'));
+		debug($response);
+		exit;
 	}
 }
 
4. Access the _/amazon_ action of your app and look at the resultset.
-5. Take a look at the "available query options":http://docs.amazonwebservices.com/AWSECommerceService/2008-06-26/DG/index.html?USSearchIndexParamForItemsearch.html +5. Take a look at the "available query options":http://docs.amazonwebservices.com/AWSECommerceService/2008-06-26/DG/index.html?USSearchIndexParamForItemsearch.html. h2. Missing Features