Changeset 477095
- Timestamp:
- 12/18/2011 12:43:47 PM (14 years ago)
- Location:
- lazyzoun/trunk
- Files:
-
- 3 edited
-
lazyzoun.php (modified) (2 diffs)
-
lib/aws_signed_request.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lazyzoun/trunk/lazyzoun.php
r359575 r477095 5 5 Description: Quickly add Amazon Products to the Sidebar 6 6 Author: Benedikt Kofler 7 Version: 0.4 7 Version: 0.4.1 8 8 Author URI: http://www.akrat.net/ 9 9 License: GPL 2.0, @see http://www.gnu.org/licenses/gpl-2.0.html … … 40 40 $public_key = get_option('lz_api_public_key'); 41 41 $private_key = get_option('lz_api_private_key'); 42 $a mazon_tld = get_option('lz_api_amazon_tld');43 44 return aws_signed_request($amazon_tld, $parameters, $public_key, $private_key );42 $associate_tag = get_option('amazon_partner_id'); 43 44 return aws_signed_request($amazon_tld, $parameters, $public_key, $private_key, $associate_tag); 45 45 } 46 46 -
lazyzoun/trunk/lib/aws_signed_request.php
r351609 r477095 34 34 35 35 36 function aws_signed_request($region,$params,$public_key,$private_key )36 function aws_signed_request($region,$params,$public_key,$private_key,$associate_tag) 37 37 { 38 38 … … 46 46 $params["Timestamp"] = gmdate("Y-m-d\TH:i:s\Z"); 47 47 $params["Version"] = "2009-03-31"; 48 $params["AssociateTag"] = $associate_tag; 48 49 49 50 /* The params need to be sorted by the key, as Amazon does this at -
lazyzoun/trunk/readme.txt
r355775 r477095 4 4 Tags: widget, plugin, sidebar, ad, amazon, affiliate, monetize, 5 5 Requires at least: 2.0.2 6 Tested up to: 3. 17 Stable tag: 0.4 6 Tested up to: 3.3 7 Stable tag: 0.4.1 8 8 9 9 … … 46 46 == Changelog == 47 47 48 = 0.4.1 - 18/12/2011 = 49 * Added param. AssociateTag for making latest API version working 50 48 51 = 0.4 - 03/05/2011 = 49 52 * SEO Friendly image-names and changed cache-folder … … 58 61 == Upgrade Notice == 59 62 63 = 0.4.1 = 64 Added param. AssociateTag for making latest API version working 65 60 66 = 0.4 = 61 67 New SEO-friendly image-names, new call-to-action button and fixed problems with IE
Note: See TracChangeset
for help on using the changeset viewer.