Changeset 1720467
- Timestamp:
- 08/28/2017 10:15:50 AM (9 years ago)
- Location:
- easy-amazon-product-information/trunk
- Files:
-
- 7 edited
-
eapi_amazon.php (modified) (7 diffs)
-
eapi_handler.php (modified) (19 diffs)
-
easy_amazon_product_information.css (modified) (1 diff)
-
easy_amazon_product_information.php (modified) (1 diff)
-
languages/easy-amazon-product-information-de_DE.mo (modified) (previous)
-
languages/easy-amazon-product-information-de_DE.po (modified) (5 diffs)
-
readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-amazon-product-information/trunk/eapi_amazon.php
r1643226 r1720467 23 23 $num_of_wanted_results = sizeof($keyword_arr); 24 24 $api_call_parameter = eapi_amazon_asin_search($keyword,$affili_amazon_tag, $aws_access_key_id); 25 $xml = eapi_call_amazon_api($api_call_parameter );25 $xml = eapi_call_amazon_api($api_call_parameter, $passed_get_information); 26 26 if($xml){ 27 27 $all_elements = eapi_parse_data($xml, $num_of_wanted_results, array()); … … 35 35 $api_call_parameter = eapi_amazon_keyword_search($keyword_to_look, $pageNumber, $affili_amazon_tag, $aws_access_key_id); 36 36 37 $xml = eapi_call_amazon_api($api_call_parameter );37 $xml = eapi_call_amazon_api($api_call_parameter, $passed_get_information); 38 38 if($xml){ 39 39 $all_elements = eapi_parse_data($xml, $num_of_wanted_results, $all_elements); … … 52 52 foreach( $xml->Items->Item as $xmlItem) 53 53 { 54 //OR 1. Since version 2.0.7, also products with a not active price are allowed 54 55 if(isset($xmlItem->Offers->Offer->OfferListing->Price->FormattedPrice) 55 or (isset($xmlItem->ItemAttributes->ProductTypeName) AND $xmlItem->ItemAttributes->ProductTypeName =="ABIS_EBOOKS")){ 56 or (isset($xmlItem->ItemAttributes->ProductTypeName) AND $xmlItem->ItemAttributes->ProductTypeName =="ABIS_EBOOKS") 57 or 1 58 ){ 56 59 57 60 $arr = array(); … … 105 108 }else if(isset($xmlItem->ItemAttributes->ProductTypeName)AND $xmlItem->ItemAttributes->ProductTypeName =="ABIS_EBOOKS"){ 106 109 $arr['new_price'] = "0,0"; 110 }else{ 111 $arr['new_price'] = "0,0"; 107 112 } 108 113 if(isset($xmlItem->Offers->Offer->OfferListing->AmountSaved->FormattedPrice)){ … … 136 141 if(isset($xmlItem->Offers->Offer->OfferListing->IsEligibleForPrime)){ 137 142 $arr['has_prime'] = (String)$xmlItem->Offers->Offer->OfferListing->IsEligibleForPrime; 143 }else{ 144 $arr['has_prime'] = false; 138 145 } 139 146 if(isset($xmlItem->Offers->Offer->OfferListing->AvailabilityAttributes->AvailabilityType)){ … … 217 224 } 218 225 219 220 226 //builds and calls the Amazon-API 221 function eapi_call_amazon_api($data ){227 function eapi_call_amazon_api($data, $passed_get_information){ 222 228 223 229 $url = http_build_query($data); … … 258 264 } 259 265 $debug = 0; 260 if($ debug){266 if($passed_get_information['debug']){ 261 267 print_r($request); 268 print_r("\n"); 262 269 } 263 270 if(isset($http_response_header)){ -
easy-amazon-product-information/trunk/eapi_handler.php
r1643226 r1720467 70 70 'custom_rating' => '', 71 71 'feature_1' => '', 'feature_2' => '', 'feature_3' => '', 'feature_4' => '', 'feature_5' => '', 'feature_6' => '', 'feature_7' => '', 'feature_8' => '', 'feature_9' => '', 72 'picture_1' => '', 'picture_2' => '', 'picture_3' => '', 'picture_4' => '', 'picture_5' => '', 'picture_6' => '', 'picture_7' => '', 'picture_8' => '', 'picture_9' => '' 72 'picture_1' => '', 'picture_2' => '', 'picture_3' => '', 'picture_4' => '', 'picture_5' => '', 'picture_6' => '', 'picture_7' => '', 'picture_8' => '', 'picture_9' => '', 73 'badge_1' => '', 'badge_2' => '', 'badge_3' => '', 'badge_4' => '', 'badge_5' => '', 'badge_6' => '', 'badge_7' => '', 'badge_8' => '', 'badge_9' => '', 74 'debug' => '' 73 75 ); 74 76 //exceptions are described in the statement below … … 85 87 $ret .= eapi_build_output($data_from_local_WP, $typ, $passed_parameters); 86 88 }else{ 87 if($server_arr = json_decode(eapi_get_amazon_products(array('n' => $n, 'product' => $keyword )))){89 if($server_arr = json_decode(eapi_get_amazon_products(array('n' => $n, 'product' => $keyword, 'debug' => $passed_parameters['debug'])))){ 88 90 if(sizeof($data_from_local_WP) > 0){ 89 91 eapi_delete_with_this_keyword($keyword); … … 141 143 function eapi_build_output($product_arr, $typ, $passed_parameters) 142 144 { 145 //debug mode is activated 146 if($passed_parameters['debug']){ 147 print_r($passed_parameters); 148 } 149 143 150 $typ_json = json_decode(get_option('eapi_' . $typ)); 144 151 $typ_json = eapi_init_typ_json($typ_json); … … 231 238 232 239 $ret .= " >"; 233 234 240 foreach($product_arr as $sA){ 235 241 … … 259 265 } 260 266 $ret .= " >"; 267 268 //display orange badge on top left of product 269 if($increasing_number < 10){ 270 if($passed_parameters['badge_' . $increasing_number] != ""){ 271 $ret .= "<span class='eapi_badget'>" . $passed_parameters['badge_' . $increasing_number] . "</span><span class='eapi_badget_triangle'></span>"; 272 } 273 } 274 261 275 if(isset($sA->amount_saved) AND $sA->amount_saved != "" AND $typ_json->saving_display != ""){ 262 276 $saving = str_replace("EUR" ,"", $sA->amount_saved) + str_replace("EUR" ,"", $sA->new_price); … … 287 301 $ret .= " eapi_title_around"; 288 302 } 303 //move headline when badge is shown 304 if($increasing_number < 10){ 305 if($passed_parameters['badge_' . $increasing_number] != ""){ 306 $ret .= " eapi_title_around_box_top"; 307 }else{ 308 $ret .= " eapi_title_around_box_correct"; 309 } 310 } 289 311 $ret .= "'"; 290 312 if($display_savings OR $typ == "sidebar"){ … … 302 324 303 325 $ret .= "<a class='eapi_product_title' "; 304 $ret .= 'title="'. $sA->title. '"';326 $ret .= 'title="'. eapi_html_escape($sA->title) . '"'; 305 327 306 328 if(get_option('eapi_analytics_tracking') != ""){ … … 459 481 } 460 482 } 483 //escape strings for html 484 function eapi_html_escape($str){ 485 return htmlspecialchars($str); 486 } 487 461 488 //build prime and rating output 462 489 function eapi_information_output($sA, $typ, $url, $passed_parameters, $typ_json){ … … 509 536 $ret .= eapi_build_analytics_information($typ, $sA, $passed_parameters); 510 537 } 511 $ret .=" href='$url". '\#customerReviews'."'512 $ret .= ><span class='";538 $ret .=" href='$url"."#customerReviews"."'"; 539 $ret .="><span class='"; 513 540 if($typ != "sidebar" AND $typ != "reviews"){ 514 541 $ret .= "eapi_number_rating_box"; … … 552 579 $ret .= " style='float: left;' "; 553 580 } 554 $ret .="><a rel='nofollow' target='_blank' rel='nofollow' alt='".__('amazon product ratings', 'easy-amazon-product-information')."'title='".__('amazon product ratings', 'easy-amazon-product-information')."' ";581 $ret .="><a rel='nofollow' target='_blank' rel='nofollow' title='".__('amazon product ratings', 'easy-amazon-product-information')."' "; 555 582 //set google analytics tag 556 583 if(get_option('eapi_analytics_tracking') != ""){ 557 584 $ret .= eapi_build_analytics_information($typ, $sA, $passed_parameters); 558 585 } 559 $ret .=" href='$url".' \#customerReviews'."'><img src='". plugins_url( 'images/eapi_logos.png', __FILE__ ) . "'";586 $ret .=" href='$url".'#customerReviews'."'><img src='". plugins_url( 'images/eapi_logos.png', __FILE__ ) . "'"; 560 587 if(sizeof($matches) > 0){ 561 588 $star_shift += 180; … … 564 591 $ret .= " style='left:-" . $star_shift . "px'"; 565 592 } 566 $ret .= " alt='".__('amazon product ratings', 'easy-amazon-product-information')."'title='".__('amazon product ratings', 'easy-amazon-product-information')."' class='eapi_rating'></a></div>";593 $ret .= " title='".__('amazon product ratings', 'easy-amazon-product-information')."' class='eapi_rating'></a></div>"; 567 594 } 568 595 } … … 607 634 if($passed_parameters['product_affiliate'] == ""){ 608 635 if(!($affili_link) OR $affili_link === ""){ 609 $affili_link = " jensmueller-21";636 $affili_link = "eapi-21"; 610 637 } 611 638 }else{ 612 639 $affili_link = $passed_parameters['product_affiliate']; 613 } 614 $url = "https://www.amazon.de/dp/$sA->asin/?tag=" . $affili_link;615 }640 } 641 $url = "https://www.amazon.de/dp/$sA->asin/?tag=" . $affili_link; 642 } 616 643 }else{//is not an amazon-link 617 644 $url = $passed_parameters['product_link']; … … 793 820 if($picture_url != ""){ 794 821 $ret = "<a"; 795 $ret .= ' title="'. $sA->title. '"';822 $ret .= ' title="'. eapi_html_escape($sA->title) . '"'; 796 823 $ret .= " target='_blank' rel='nofollow' href='$url'><img"; 797 $ret .= ' title="'. $sA->title. '"';798 $ret .= ' alt="'. $sA->title. '" ';824 $ret .= ' title="'. eapi_html_escape($sA->title) . '"'; 825 $ret .= ' alt="'. eapi_html_escape($sA->title) . '" '; 799 826 if(get_option('eapi_analytics_tracking') != ""){ 800 827 $ret .=eapi_build_analytics_information($typ, $sA, $passed_parameters); … … 898 925 //$opt_price2 ist optional and gets added to the first value 899 926 function eapi_build_formatted_price_display($price1, $opt_price2 = null){ 927 if($price1 == ""){ 928 $price1 = 0.0; 929 } 900 930 if(isset($opt_price2)){ 901 931 return number_format(str_replace(",", ".", trim(str_replace(array("EUR", "."), "", $opt_price2))) + … … 919 949 // returns the donate-button. 920 950 function eapi_get_donate_button(){ 921 $ret = "<a style='width:100px; height:26px;' href='http://jensmueller.one/spenden/' alt='".__('donate button', 'easy-amazon-product-information')."'title='".__('link to donate', 'easy-amazon-product-information')."' target='_blank' >".__('link to donate', 'easy-amazon-product-information')."</a>";951 $ret = "<a style='width:100px; height:26px;' href='http://jensmueller.one/spenden/' title='".__('link to donate', 'easy-amazon-product-information')."' target='_blank' >".__('link to donate', 'easy-amazon-product-information')."</a>"; 922 952 return $ret; 923 953 } … … 965 995 //checks the api key, with a sample request to the api. 966 996 if(isset($_POST['check_api_key'])){ 967 eapi_check_credentials( );997 eapi_check_credentials(false); 968 998 } 969 999 //delete cache … … 1091 1121 1092 1122 //checks the credentials by making a sample request to the database 1093 function eapi_check_credentials( ){1123 function eapi_check_credentials($debug){ 1094 1124 update_option('eapi_personal_error', 'no error'); 1095 if(! (count(json_decode(eapi_get_amazon_products(array('n' => 1, 'product' => 'Nischenseite' ))))> 0)){1125 if(! (count(json_decode(eapi_get_amazon_products(array('n' => 1, 'product' => 'Nischenseite', 'debug' => $debug))))> 0)){ 1096 1126 update_option('eapi_error', __('WARNING: Please check if you access Key ID, Secret Access Key and/or your associate ID is correct. Click on \'save \' to check it.', 'easy-amazon-product-information') 1097 1127 .' <a target=\'_blank\' href=\'http://jensmueller.one/eapi-fehlersuche/\'>' . __('More information to find the mistake.', 'easy-amazon-product-information') . '</a>'); … … 1446 1476 $pA->availability = ""; 1447 1477 } 1478 if(!isset($pA->new_price)){ 1479 $pA->new_price = ""; 1480 } 1448 1481 //remove some characters 1449 1482 $pA->title = esc_sql( $pA->title); … … 1606 1639 1607 1640 //checks credentials 1608 eapi_check_credentials( );1641 eapi_check_credentials(false); 1609 1642 1610 1643 global $wpdb; -
easy-amazon-product-information/trunk/easy_amazon_product_information.css
r1643226 r1720467 1 .eapi_shadow{box-shadow:0 1px 2px rgba(0,0,0,.25),0 0 39px rgba(0,0,0,.1) inset}.eapi_foot_text{font-size:.6em;float:right}.eapi_entire_border{border: 1px solid;padding-left:10px}@media (max-width:600px){.eapi_display_box{float:none!important;width:99%!important;margin-left:0!important}}.eapi_display_box{float:right;width:50%;margin-left:10px}.eapi_saving_procent{right:0;top:0;position:absolute;background-color:green;color:#fff;padding:6px;border-radius:0 0 0 10px}.eapi_shipping_pic{max-height:15px;margin:-4px 7px 0 0!important;display:inline!important;border:none!important}.eapi_product_title{text-decoration:none!important;border-bottom:hidden!important;font-size:.9em}.eapi_product_image{width:50%;margin-right:25%;margin-left:25%;margin-bottom:5px}.eapi_product_image_box{float:left;width:auto;height:auto;max-width:15%;max-height:250px;margin-left:15px;margin-bottom:15px}.eapi_admin_input{float:left}.eapi_feature_list{float:left;width:80%;margin-left:2%;font-size:.9em}.eapi_price_field{margin-bottom:0!important}.eapi_price_field_center{margin-top:4px!important;display:inline-block}.eapi_price_field_box{float:right;margin-right:20px!important;margin-top:2px!important}.eapi_price_amount_saved{margin-top:3px!important;font-size:.8em}.eapi_price_amount_saved_box{float:right;margin-right:20px!important}.eapi_number_rating_box{float:right;margin-top:1px}.eapi_feature_div{overflow:hidden;max-height:200px;margin-bottom:10px}.eapi_around{overflow:hidden;padding:20px;margin-bottom:5px;position:relative}.eapi_title_around{margin-top:0!important}.eapi_title_around_box{margin-left:15px; margin-top:5px!important}.eapi_amazon_button_individual{border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;font-style:italic;height:34px;line-height:34px;padding-left:10px;padding-right:10px;text-align:center;float:right;text-decoration:none!important}.eapi_amazon_button_style{-box-shadow:inset 0 1px 0 0 #f9eacf;-webkit-box-shadow:inset 0 1px 0 0 #f9eacf;box-shadow:inset 0 1px 0 0 #f9eacf;background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F6DD9F),color-stop(1,#F0C24D));background:-moz-linear-gradient(center top,#F6DD9F 5%,#F0C24D 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F6DD9F‘, endColorstr=’#F0C24D‘);background-color:#f5d78a;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;text-indent:0;border:1px solid #cbaa5c;display:inline-block;color:#111!important;font-size:13px;font-weight:400;font-style:normal;height:25px;line-height:25px;width:180px;text-decoration:none;text-align:center;padding:2px;float:right;-webkit-box-sizing:initial!important;-moz-box-sizing:initial!important;box-sizing:initial!important;-webkit-border-radius:3px;border-radius:3px}.eapi_rating_wrapper,.eapi_rating_wrapper_center{width:90px;overflow:hidden;position:relative;height:18px}.eapi_amazon_button_style:hover{background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F5D589),color-stop(1,#EEBA35));background:-moz-linear-gradient(center top,#F5D589 5%,#EEBA35 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F5D589′, endColorstr=’#EEBA35′);background-color:#eeba35!important}.eapi_amazon_button_style:active{position:relative;top:1px}.eapi_rating_wrapper{margin-top:6px;float:right;margin-left:20px}.eapi_rating_wrapper_center{margin:auto}.eapi_rating{height:36px;width:360px;position:absolute;max-width:none!important}.eapi_prime_wrapper,.eapi_prime_wrapper_center{position:relative;width:63px;overflow:hidden;height:18px}.eapi_prime_wrapper{margin-top:9px;float:right;margin-left:20px}.eapi_prime_wrapper_center{margin:9px auto 3px}.eapi_prime_intext{position:relative;width:63px;overflow:hidden;height:18px;margin:auto}.eapi_prime_logo{left:0;top:-20px;height:36px;width:360px;position:absolute;max-width:none!important;margin:auto!important;border:none!important}.eapi_custom_info{width:60%;display:inline-block;margin-bottom:15px;margin-top:5px;margin-right:10px;position:relative;float:right}.eapi_custom_info_center{width:50%;margin:auto auto 10px;text-align:center}.eapi_sidebar_button{width:100%;padding-right:0!important;padding-left:0!important}.eapi_rating_link{text-decoration:none!important}1 .eapi_shadow{box-shadow:0 1px 2px rgba(0,0,0,.25),0 0 39px rgba(0,0,0,.1) inset}.eapi_foot_text{font-size:.6em;float:right}.eapi_entire_border{border: 1px solid rgba(0, 0, 0, 0.72);}@media (max-width:600px){.eapi_display_box{float:none!important;width:99%!important;margin-left:0!important}}.eapi_display_box{float:right;width:50%;margin-left:10px}.eapi_saving_procent{right:0;top:0;position:absolute;background-color:green;color:#fff;padding:6px;border-radius:0 0 0 10px}.eapi_shipping_pic{max-height:15px;margin:-4px 7px 0 0!important;display:inline!important;border:none!important}.eapi_product_title{text-decoration:none!important;border-bottom:hidden!important;font-size:.9em}.eapi_product_image{width:50%;margin-right:25%;margin-left:25%;margin-bottom:5px}.eapi_product_image_box{float:left;width:auto;height:auto;max-width:15%;max-height:250px;margin-left:15px;margin-bottom:15px}.eapi_admin_input{float:left}.eapi_feature_list{float:left;width:80%;margin-left:2%;font-size:.9em}.eapi_price_field{margin-bottom:0!important}.eapi_price_field_center{margin-top:4px!important;display:inline-block}.eapi_price_field_box{float:right;margin-right:20px!important;margin-top:2px!important}.eapi_price_amount_saved{margin-top:3px!important;font-size:.8em}.eapi_price_amount_saved_box{float:right;margin-right:20px!important}.eapi_number_rating_box{float:right;margin-top:1px}.eapi_feature_div{overflow:hidden;max-height:200px;margin-bottom:10px}.eapi_around{overflow:hidden;padding:20px;margin-bottom:5px;position:relative}.eapi_title_around{margin-top:0!important}.eapi_title_around_box{margin-left:15px}.eapi_title_around_box_top{margin-top:25px!important}.eapi_title_around_box_correct{margin-top:15px!important}.eapi_amazon_button_individual{border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;font-style:italic;height:34px;line-height:34px;padding-left:10px;padding-right:10px;text-align:center;float:right;text-decoration:none!important}.eapi_amazon_button_style{-box-shadow:inset 0 1px 0 0 #f9eacf;-webkit-box-shadow:inset 0 1px 0 0 #f9eacf;box-shadow:inset 0 1px 0 0 #f9eacf;background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F6DD9F),color-stop(1,#F0C24D));background:-moz-linear-gradient(center top,#F6DD9F 5%,#F0C24D 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F6DD9F‘, endColorstr=’#F0C24D‘);background-color:#f5d78a;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;text-indent:0;border:1px solid #cbaa5c;display:inline-block;color:#111!important;font-size:13px;font-weight:400;font-style:normal;height:25px;line-height:25px;width:180px;text-decoration:none;text-align:center;padding:2px;float:right;-webkit-box-sizing:initial!important;-moz-box-sizing:initial!important;box-sizing:initial!important;-webkit-border-radius:3px;border-radius:3px}.eapi_rating_wrapper,.eapi_rating_wrapper_center{width:90px;overflow:hidden;position:relative;height:18px}.eapi_amazon_button_style:hover{background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F5D589),color-stop(1,#EEBA35));background:-moz-linear-gradient(center top,#F5D589 5%,#EEBA35 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F5D589′, endColorstr=’#EEBA35′);background-color:#eeba35!important}.eapi_amazon_button_style:active{position:relative;top:1px}.eapi_rating_wrapper{margin-top:6px;float:right;margin-left:20px}.eapi_rating_wrapper_center{margin:auto}.eapi_rating{height:36px;width:360px!important;position:absolute;max-width:none!important}.eapi_prime_wrapper,.eapi_prime_wrapper_center{position:relative;width:63px;overflow:hidden;height:18px}.eapi_prime_wrapper{margin-top:9px;float:right;margin-left:20px}.eapi_prime_wrapper_center{margin:9px auto 3px}.eapi_prime_intext{position:relative;width:63px;overflow:hidden;height:18px;margin:auto}.eapi_prime_logo{left:0;top:-20px;height:36px;width:360px;position:absolute;max-width:none!important;margin:auto!important;border:none!important}.eapi_custom_info{width:60%;display:inline-block;margin-bottom:15px;margin-top:5px;margin-right:10px;position:relative;float:right}.eapi_custom_info_center{width:50%;margin:auto auto 10px;text-align:center}.eapi_sidebar_button{width:100%;padding-right:0!important;padding-left:0!important}.eapi_rating_link{text-decoration:none!important}.eapi_badget{margin-top: -20px;margin-left: -20px;background-color: #E67A00;float: left;color: white;padding-right: 10px;padding-left: 10px;font-size: 160%;line-height:1.5!important}.eapi_badget_triangle{ color: #E67A00; width: 0;height: 0;border-right: 20px solid transparent;border-top: 2.4em solid;margin-top: -20px;float: left;} -
easy-amazon-product-information/trunk/easy_amazon_product_information.php
r1643226 r1720467 4 4 * Plugin URI: http://jensmueller.one/easy-amazon-product-information/ 5 5 * Description: Mit EAPI können Sie aus der Amazon API zahlreiche Produktinformationen auslesen und in Ihre Webseite einbinden. Die Anzeige auf der Webseite kann individuell nach Ihren Bedürfnissen angepasst werden. 6 * Version: 2. 6.06 * Version: 2.7.0 7 7 * Author: Jens Müller 8 8 * Author URI: http://jensmueller.one 9 9 * Text Domain: easy-amazon-product-information 10 10 */ 11 define('EAPI_VERSION', '2. 6.0');11 define('EAPI_VERSION', '2.7.0'); 12 12 define('EAPI_PLUGIN_DIR', plugin_dir_path( __FILE__ )); 13 13 -
easy-amazon-product-information/trunk/languages/easy-amazon-product-information-de_DE.po
r1572695 r1720467 2 2 msgstr "" 3 3 "Project-Id-Version: easy-amazon-product-information\n" 4 "POT-Creation-Date: 201 6-08-10 20:09+0100\n"5 "PO-Revision-Date: 2017-0 1-11 19:17+0100\n"4 "POT-Creation-Date: 2017-06-01 21:42+0100\n" 5 "PO-Revision-Date: 2017-06-01 21:44+0100\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 16 16 "X-Poedit-SearchPath-0: ..\n" 17 17 18 #: ../eapi_handler.php:3 51 ../eapi_handler.php:35818 #: ../eapi_handler.php:376 ../eapi_handler.php:383 19 19 #, php-format 20 20 msgid " last update on: %1$s at %2$s o'clock. " 21 21 msgstr "Zuletzt aktualisiert am: %1$s um %2$s Uhr." 22 22 23 #: ../eapi_handler.php: 47123 #: ../eapi_handler.php:501 24 24 msgid "prime logo" 25 25 msgstr "Prime Logo" 26 26 27 #: ../eapi_handler.php: 480 ../eapi_handler.php:49927 #: ../eapi_handler.php:510 ../eapi_handler.php:536 28 28 msgid "ratings" 29 29 msgstr "Bewertungen" 30 30 31 #: ../eapi_handler.php: 49731 #: ../eapi_handler.php:534 32 32 msgid "rating" 33 33 msgstr "Bewertung" 34 34 35 #: ../eapi_handler.php:5 19 ../eapi_handler.php:53135 #: ../eapi_handler.php:563 ../eapi_handler.php:575 36 36 msgid "amazon product ratings" 37 37 msgstr "Amazon Produktbewertungen" 38 38 39 #: ../eapi_handler.php:882 40 msgid "Successfully send the test mail!" 41 msgstr "E-Mail wurde erfolgreich versandt!" 42 43 #: ../eapi_handler.php:885 44 msgid "On your page" 45 msgstr "Auf Ihrer Seite" 46 47 #: ../eapi_handler.php:885 48 msgid "was an error registered." 49 msgstr "wurde ein Preisalarm ausgelöst." 50 51 #: ../eapi_handler.php:886 52 msgid "Problem with the following product: " 53 msgstr "Probleme mit dem folgenden Produkt:" 54 55 #: ../eapi_handler.php:886 56 msgid "status" 57 msgstr "Status" 58 59 #: ../eapi_handler.php:887 60 msgid "visit your website directly: " 61 msgstr "Besuche Sie Ihre Webseite direkt unter folgendem Link: " 62 63 #: ../eapi_handler.php:889 64 msgid "information about this notification can be found on: " 65 msgstr "" 66 "Informationen zu dieser Benachrichtigung können gefunden werden unter: " 67 68 #: ../eapi_handler.php:952 39 #: ../eapi_handler.php:969 69 40 msgid "donate button" 70 41 msgstr "Spende Button" 71 42 72 #: ../eapi_handler.php:9 5243 #: ../eapi_handler.php:969 73 44 msgid "link to donate" 74 45 msgstr "Link zur Spendenseite" 75 46 76 #: ../eapi_handler.php:9 6647 #: ../eapi_handler.php:983 77 48 msgid "You do not have sufficient permissions to access this page." 78 49 msgstr "Sie haben nicht ausreichend Berechtigungen, diese Seite zu sehen." 79 50 80 #: ../eapi_handler.php:106 551 #: ../eapi_handler.php:1061 81 52 msgid "Access Key ID" 82 53 msgstr "Access Key ID" 83 54 84 #: ../eapi_handler.php:10 7155 #: ../eapi_handler.php:1067 85 56 msgid "Secret Access Key" 86 57 msgstr "Secret Access Key" 87 58 88 #: ../eapi_handler.php:107 759 #: ../eapi_handler.php:1073 89 60 msgid "Tracking ID" 90 61 msgstr "Tracking ID (Affiliate-Tag)" 91 62 92 #: ../eapi_handler.php:1084 93 msgid "availability alarm" 94 msgstr "Verfügbarkeitsalarm" 95 96 #: ../eapi_handler.php:1090 97 msgid "mail sender address" 98 msgstr "Absendeadressse" 99 100 #: ../eapi_handler.php:1091 101 msgid "mail receiver address" 102 msgstr "Empfangsadresse" 103 104 #: ../eapi_handler.php:1093 63 #: ../eapi_handler.php:1080 105 64 msgid "analytics tracking" 106 65 msgstr "Analytics Tracking" 107 66 108 #: ../eapi_handler.php:10 9967 #: ../eapi_handler.php:1086 109 68 msgid "interval time in hours" 110 69 msgstr "Intervallzeit in Stunden" 111 70 112 #: ../eapi_handler.php:1102 71 #: ../eapi_handler.php:1092 72 msgid "activate url cloaking" 73 msgstr "URL Cloaking" 74 75 #: ../eapi_handler.php:1101 76 msgid "cloaking link" 77 msgstr "Cloaking Link" 78 79 #: ../eapi_handler.php:1105 80 msgid "Please provide a cloak." 81 msgstr "Bitte geben Sie einen Cloaking Link an." 82 83 #: ../eapi_handler.php:1107 84 msgid "Successfully provided a cloak." 85 msgstr "Erfolgreich URL Cloaking eingerichtet." 86 87 #: ../eapi_handler.php:1112 113 88 msgid "save" 114 89 msgstr "Speichern" 115 90 116 #: ../eapi_handler.php:11 0491 #: ../eapi_handler.php:1116 117 92 msgid "delete cache" 118 93 msgstr "Cache leeren*" 119 94 120 #: ../eapi_handler.php:1105 121 msgid "Sends a test mail with the parameters you inserted." 122 msgstr "Sendet eine Testmail mit den obigen Parametern." 123 124 #: ../eapi_handler.php:1105 125 msgid "mail test" 126 msgstr "Mailfunktion testen" 127 128 #: ../eapi_handler.php:1106 95 #: ../eapi_handler.php:1117 129 96 msgid "" 130 97 "Checks with the amazon link tester, if you have inserted your valid affiliat " … … 134 101 "einem neuen Fenster auf. (Amazon-Login ist dort erforderlich.)" 135 102 136 #: ../eapi_handler.php:11 06103 #: ../eapi_handler.php:1117 137 104 msgid "affiliate link test" 138 105 msgstr "Affiliate Link testen" 139 106 140 #: ../eapi_handler.php:1107 141 msgid "clears notification cache, so noticifications will be send again" 142 msgstr "" 143 "Setzt den Verfügbarkeitsalarm zurück, sodass Mails erneut versendet werden, " 144 "wenn ein Produkt beim API-Aufruf nicht verfügbar ist." 145 146 #: ../eapi_handler.php:1107 147 msgid "clear notification cache" 148 msgstr "Verfügbarkeitsalarm zurücksetzen" 149 150 #: ../eapi_handler.php:1131 107 #: ../eapi_handler.php:1141 151 108 msgid "standard" 152 109 msgstr "Standard" 153 110 154 #: ../eapi_handler.php:11 32 ../eapi_handler.php:1333 ../eapi_handler.php:1341111 #: ../eapi_handler.php:1142 ../eapi_handler.php:1340 ../eapi_handler.php:1348 155 112 msgid "small" 156 113 msgstr "Klein" 157 114 158 #: ../eapi_handler.php:11 33115 #: ../eapi_handler.php:1143 159 116 msgid "sidebar" 160 117 msgstr "Sidebar" 161 118 162 #: ../eapi_handler.php:11 34119 #: ../eapi_handler.php:1144 163 120 msgid "negative" 164 121 msgstr "Negativ" 165 122 166 #: ../eapi_handler.php:11 35 ../eapi_handler.php:1363123 #: ../eapi_handler.php:1145 ../eapi_handler.php:1370 167 124 msgid "price" 168 125 msgstr "Preis" 169 126 170 #: ../eapi_handler.php:11 36 ../eapi_handler.php:1280127 #: ../eapi_handler.php:1146 ../eapi_handler.php:1287 171 128 msgid "button" 172 129 msgstr "Button" 173 130 174 #: ../eapi_handler.php:11 37 ../eapi_handler.php:1325131 #: ../eapi_handler.php:1147 ../eapi_handler.php:1332 175 132 msgid "picture" 176 133 msgstr "Bild" 177 134 178 #: ../eapi_handler.php:11 38135 #: ../eapi_handler.php:1148 179 136 msgid "link" 180 137 msgstr "Link" 181 138 182 #: ../eapi_handler.php:11 39139 #: ../eapi_handler.php:1149 183 140 msgid "help" 184 141 msgstr "Hilfe" 185 142 186 #: ../eapi_handler.php:11 65143 #: ../eapi_handler.php:1175 187 144 #, php-format 188 145 msgid "" … … 193 150 "one</a> |" 194 151 195 #: ../eapi_handler.php:11 66152 #: ../eapi_handler.php:1176 196 153 msgid "support me with your next amazon buy" 197 154 msgstr "Unterstütze den Entwickler beim nächsten Amazon-Einkauf" 198 155 199 #: ../eapi_handler.php:11 66156 #: ../eapi_handler.php:1176 200 157 msgid "entries in DB" 201 158 msgstr "Einträge in der DB" 202 159 203 #: ../eapi_handler.php:11 66160 #: ../eapi_handler.php:1176 204 161 msgid "Settings will consist." 205 162 msgstr "Einstellungen bleiben erhalten." 206 163 207 #: ../eapi_handler.php:1169 208 msgid "Last notification was send on" 209 msgstr "Letzter Verfügbarkeitsalarm wurde gesendet am" 210 211 #: ../eapi_handler.php:1179 164 #: ../eapi_handler.php:1186 212 165 msgid "" 213 166 "WARNING: Please check if you access Key ID, Secret Access Key and/or your " … … 218 171 "um es zu überprüfen." 219 172 220 #: ../eapi_handler.php:118 0173 #: ../eapi_handler.php:1187 221 174 msgid "More information to find the mistake." 222 175 msgstr "Mehr Informationen zur Fehlersuche." 223 176 224 #: ../eapi_handler.php:12 27177 #: ../eapi_handler.php:1234 225 178 msgid "name of tag" 226 179 msgstr "Tagname" 227 180 228 #: ../eapi_handler.php:12 37181 #: ../eapi_handler.php:1244 229 182 msgid "general" 230 183 msgstr "Allgemein" 231 184 232 #: ../eapi_handler.php:12 38185 #: ../eapi_handler.php:1245 233 186 msgid "display border per product" 234 187 msgstr "Zeige Rahmen an (pro Produkt)" 235 188 236 #: ../eapi_handler.php:124 1189 #: ../eapi_handler.php:1248 237 190 msgid "display all in border" 238 191 msgstr "Zeige alles im einem Rahmen an" 239 192 240 #: ../eapi_handler.php:12 44193 #: ../eapi_handler.php:1251 241 194 msgid "display numeration" 242 195 msgstr "Zeige Nummerierung an" 243 196 244 #: ../eapi_handler.php:12 47197 #: ../eapi_handler.php:1254 245 198 msgid "display procent savings" 246 199 msgstr "Zeige Prozente an" 247 200 248 #: ../eapi_handler.php:125 2 ../eapi_handler.php:1291201 #: ../eapi_handler.php:1259 ../eapi_handler.php:1298 249 202 msgid "background color" 250 203 msgstr "Hintergrundfarbe" 251 204 252 #: ../eapi_handler.php:12 53205 #: ../eapi_handler.php:1260 253 206 msgid "border color" 254 207 msgstr "Rahmenfarbe" 255 208 256 #: ../eapi_handler.php:12 54209 #: ../eapi_handler.php:1261 257 210 msgid "display shadow" 258 211 msgstr "Zeige In-Box-Schatten an" 259 212 260 #: ../eapi_handler.php:12 59213 #: ../eapi_handler.php:1266 261 214 msgid "display as <p> (else <h4>)" 262 215 msgstr "Zeige als <p> an (sonst <h4>)" 263 216 264 #: ../eapi_handler.php:12 64217 #: ../eapi_handler.php:1271 265 218 msgid "headline text" 266 219 msgstr "Text der Überschrift" 267 220 268 #: ../eapi_handler.php:12 65 ../eapi_handler.php:1273221 #: ../eapi_handler.php:1272 ../eapi_handler.php:1280 269 222 msgid "headline text color" 270 223 msgstr "Farbe der Überschrift" 271 224 272 #: ../eapi_handler.php:127 2225 #: ../eapi_handler.php:1279 273 226 msgid "headline" 274 227 msgstr "Überschrift" 275 228 276 #: ../eapi_handler.php:12 74229 #: ../eapi_handler.php:1281 277 230 msgid "number of characters" 278 231 msgstr "Anzahl der Zeichen" 279 232 280 #: ../eapi_handler.php:12 75 ../eapi_handler.php:1316233 #: ../eapi_handler.php:1282 ../eapi_handler.php:1323 281 234 msgid "font size in %" 282 235 msgstr "Schriftgröße in %" 283 236 284 #: ../eapi_handler.php:128 2237 #: ../eapi_handler.php:1289 285 238 msgid "display button" 286 239 msgstr "Zeige Button an" 287 240 288 #: ../eapi_handler.php:12 85241 #: ../eapi_handler.php:1292 289 242 msgid "display button in Amazon style" 290 243 msgstr "Zeige Button im Amazon-Style an" 291 244 292 #: ../eapi_handler.php:129 0 ../eapi_handler.php:1314245 #: ../eapi_handler.php:1297 ../eapi_handler.php:1321 293 246 msgid "text color" 294 247 msgstr "Textfarbe" 295 248 296 #: ../eapi_handler.php:129 2249 #: ../eapi_handler.php:1299 297 250 msgid "text" 298 251 msgstr "Text" 299 252 300 #: ../eapi_handler.php:1 293253 #: ../eapi_handler.php:1300 301 254 msgid "shipping picture" 302 255 msgstr "Shipping Bild" 303 256 304 #: ../eapi_handler.php:1 295257 #: ../eapi_handler.php:1302 305 258 msgid "no shipping picture" 306 259 msgstr "Kein Bild" 307 260 308 #: ../eapi_handler.php:1 297261 #: ../eapi_handler.php:1304 309 262 msgid "black" 310 263 msgstr "schwarz" 311 264 312 #: ../eapi_handler.php:1 299265 #: ../eapi_handler.php:1306 313 266 msgid "white" 314 267 msgstr "weiß" 315 268 316 #: ../eapi_handler.php:130 1269 #: ../eapi_handler.php:1308 317 270 msgid "Amazon big" 318 271 msgstr "Amazon gr." 319 272 320 #: ../eapi_handler.php:13 09273 #: ../eapi_handler.php:1316 321 274 msgid "features" 322 275 msgstr "Features" 323 276 324 #: ../eapi_handler.php:131 1277 #: ../eapi_handler.php:1318 325 278 msgid "display features" 326 279 msgstr "Zeige Features an" 327 280 328 #: ../eapi_handler.php:13 15281 #: ../eapi_handler.php:1322 329 282 msgid "number of features" 330 283 msgstr "Anzahl der Features" 331 284 332 #: ../eapi_handler.php:13 19285 #: ../eapi_handler.php:1326 333 286 msgid "max height of features in px<br>(default: 200px)" 334 287 msgstr "Max. Höhe der Features in px <br>(alt.: 200px)" 335 288 336 #: ../eapi_handler.php:13 26289 #: ../eapi_handler.php:1333 337 290 msgid "display pictures" 338 291 msgstr "Zeige Bild an" 339 292 340 #: ../eapi_handler.php:13 29293 #: ../eapi_handler.php:1336 341 294 msgid "picture size" 342 295 msgstr "Bildgröße" 343 296 344 #: ../eapi_handler.php:133 1 ../eapi_handler.php:1339297 #: ../eapi_handler.php:1338 ../eapi_handler.php:1346 345 298 msgid "medium" 346 299 msgstr "mittel" 347 300 348 #: ../eapi_handler.php:13 35301 #: ../eapi_handler.php:1342 349 302 msgid "picture resolution" 350 303 msgstr "Bildauflösung" 351 304 352 #: ../eapi_handler.php:13 37305 #: ../eapi_handler.php:1344 353 306 msgid "large" 354 307 msgstr "groß" 355 308 356 #: ../eapi_handler.php:13 47309 #: ../eapi_handler.php:1354 357 310 msgid "amazon information" 358 311 msgstr "Amazon Informationen" 359 312 360 #: ../eapi_handler.php:13 49313 #: ../eapi_handler.php:1356 361 314 msgid "display product review" 362 315 msgstr "Zeige Produktbewertung an" 363 316 364 #: ../eapi_handler.php:135 2317 #: ../eapi_handler.php:1359 365 318 msgid "display number of ratings" 366 319 msgstr "Zeige Anzahl der Rezensionen an" 367 320 368 #: ../eapi_handler.php:13 55321 #: ../eapi_handler.php:1362 369 322 msgid "display prime" 370 323 msgstr "Zeige Prime an" 371 324 372 #: ../eapi_handler.php:13 65325 #: ../eapi_handler.php:1372 373 326 msgid "display price" 374 327 msgstr "Zeige Preis an" 375 328 376 #: ../eapi_handler.php:13 68329 #: ../eapi_handler.php:1375 377 330 msgid "color of price" 378 331 msgstr "Farbe des Preises" 379 332 380 #: ../eapi_handler.php:13 69333 #: ../eapi_handler.php:1376 381 334 msgid "price pre text" 382 335 msgstr "Text vor Preis" 383 336 384 #: ../eapi_handler.php:137 0337 #: ../eapi_handler.php:1377 385 338 msgid "price after text" 386 339 msgstr "Text nach Preis" 387 340 388 #: ../eapi_handler.php:13 73341 #: ../eapi_handler.php:1380 389 342 msgid "crossed out price" 390 343 msgstr "Streichpreis" 391 344 392 #: ../eapi_handler.php:13 76345 #: ../eapi_handler.php:1383 393 346 msgid "saving pre text" 394 347 msgstr "Text vor Streichpreis" 395 348 396 #: ../eapi_handler.php:13 83349 #: ../eapi_handler.php:1390 397 350 msgid "footer" 398 351 msgstr "Fußbereich" 399 352 400 #: ../eapi_handler.php:13 85353 #: ../eapi_handler.php:1392 401 354 msgid "display last update" 402 355 msgstr "Zeige letzte Aktualisierung" 403 356 404 #: ../eapi_handler.php:13 88357 #: ../eapi_handler.php:1395 405 358 msgid "text of footer" 406 359 msgstr "Footertext" 407 360 408 #: ../eapi_handler.php:1 393361 #: ../eapi_handler.php:1400 409 362 msgid "change" 410 363 msgstr "Änderung übernehmen" 411 364 412 #: ../eapi_handler.php:16 15365 #: ../eapi_handler.php:1628 413 366 msgid "Buy on Amazon!" 414 367 msgstr "Bei Amazon kaufen!" 368 369 #~ msgid "Successfully send the test mail!" 370 #~ msgstr "E-Mail wurde erfolgreich versandt!" 371 372 #~ msgid "On your page" 373 #~ msgstr "Auf Ihrer Seite" 374 375 #~ msgid "was an error registered." 376 #~ msgstr "wurde ein Preisalarm ausgelöst." 377 378 #~ msgid "Problem with the following product: " 379 #~ msgstr "Probleme mit dem folgenden Produkt:" 380 381 #~ msgid "status" 382 #~ msgstr "Status" 383 384 #~ msgid "visit your website directly: " 385 #~ msgstr "Besuche Sie Ihre Webseite direkt unter folgendem Link: " 386 387 #~ msgid "information about this notification can be found on: " 388 #~ msgstr "" 389 #~ "Informationen zu dieser Benachrichtigung können gefunden werden unter: " 390 391 #~ msgid "availability alarm" 392 #~ msgstr "Verfügbarkeitsalarm" 393 394 #~ msgid "mail sender address" 395 #~ msgstr "Absendeadressse" 396 397 #~ msgid "mail receiver address" 398 #~ msgstr "Empfangsadresse" 399 400 #~ msgid "Sends a test mail with the parameters you inserted." 401 #~ msgstr "Sendet eine Testmail mit den obigen Parametern." 402 403 #~ msgid "mail test" 404 #~ msgstr "Mailfunktion testen" 405 406 #~ msgid "clears notification cache, so noticifications will be send again" 407 #~ msgstr "" 408 #~ "Setzt den Verfügbarkeitsalarm zurück, sodass Mails erneut versendet " 409 #~ "werden, wenn ein Produkt beim API-Aufruf nicht verfügbar ist." 410 411 #~ msgid "clear notification cache" 412 #~ msgstr "Verfügbarkeitsalarm zurücksetzen" 413 414 #~ msgid "Last notification was send on" 415 #~ msgstr "Letzter Verfügbarkeitsalarm wurde gesendet am" 415 416 416 417 #~ msgid "error messages" -
easy-amazon-product-information/trunk/readme.txt
r1643226 r1720467 7 7 Stable tag: trunk 8 8 Requires at least: 4.0 9 Tested up to: 4. 7.49 Tested up to: 4.8.1 10 10 11 11 Mit diesem Plugin können Sie Produktdaten aus der Amazon-API auslesen und automatisiert in Ihre Webseite einbinden. … … 35 35 * Anzeige von Bestsellerlisten 36 36 * Einbindung von Google Analytics zum Tracken von Klicks 37 * [Verfügbarkeitsalarm](http://jensmueller.one/blog/amazon-verfuegbarkeitsalarm/)38 37 * Anzeige der Produktbewertungen 39 38 * Anzeige der Primeverfügbarkeit … … 50 49 * Vordefiniertes Design von Amazon-Buttons 51 50 * Optimierungsmöglichkeiten durch Verknüpfung mit Google Analytics 52 * Verfügbarkeitsalarm53 51 * Sämtliche Affiliate-Links können mit EAPI erstellt werden 54 52 … … 92 90 == Changelog == 93 91 92 2.7.0: 93 94 * Ein Badge kann jetzt bei einem oder mehreren Produkten zur besonderen Hervorhebung verwendet werden.| A special badge can now be displayed. 95 * Behebung zahlreicher Bugs.| Fix small bugs. 96 97 94 98 2.6.0: 95 99 … … 97 101 * Design-Optimierungen. | Design optmiziations. 98 102 * Email-Benachrichtigungsfeature wurde entfernt. | Email notification is no longer available. 99 100 103 101 104 2.5.0: … … 132 135 133 136 * Zahlreiche Bugs wurden behoben. | Fixed a lot of bugs. 134 * [Verfügbarkeitsalarm](http://jensmueller.one/blog/amazon-verfuegbarkeitsalarm/).| New feature: availability alarm.137 * Verfügbarkeitsalarm 135 138 * Prime-Logo kann jetzt angezeigt werden. | Prime logo can now be displayed. 136 139 * Produktbewertungen (Anzahl und Sterne) können jetzt angezeigt werden. | product reviews (number and stars) can now be displayed.
Note: See TracChangeset
for help on using the changeset viewer.