Plugin Directory

Changeset 1720467


Ignore:
Timestamp:
08/28/2017 10:15:50 AM (9 years ago)
Author:
jensmueller
Message:

release version 2.7.0

Location:
easy-amazon-product-information/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • easy-amazon-product-information/trunk/eapi_amazon.php

    r1643226 r1720467  
    2323    $num_of_wanted_results = sizeof($keyword_arr);
    2424    $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);
    2626    if($xml){
    2727        $all_elements = eapi_parse_data($xml, $num_of_wanted_results, array());
     
    3535            $api_call_parameter = eapi_amazon_keyword_search($keyword_to_look, $pageNumber, $affili_amazon_tag, $aws_access_key_id);
    3636           
    37             $xml = eapi_call_amazon_api($api_call_parameter);
     37            $xml = eapi_call_amazon_api($api_call_parameter, $passed_get_information);
    3838            if($xml){
    3939                $all_elements =  eapi_parse_data($xml, $num_of_wanted_results, $all_elements);
     
    5252    foreach( $xml->Items->Item as $xmlItem)
    5353    {
     54        //OR 1. Since version 2.0.7, also products with a not active price are allowed
    5455        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        ){
    5659
    5760            $arr = array();
     
    105108            }else if(isset($xmlItem->ItemAttributes->ProductTypeName)AND $xmlItem->ItemAttributes->ProductTypeName =="ABIS_EBOOKS"){
    106109                $arr['new_price'] = "0,0";
     110            }else{
     111                $arr['new_price'] = "0,0";
    107112            }
    108113            if(isset($xmlItem->Offers->Offer->OfferListing->AmountSaved->FormattedPrice)){
     
    136141            if(isset($xmlItem->Offers->Offer->OfferListing->IsEligibleForPrime)){
    137142                $arr['has_prime'] = (String)$xmlItem->Offers->Offer->OfferListing->IsEligibleForPrime;
     143            }else{
     144                $arr['has_prime'] = false;
    138145            }
    139146            if(isset($xmlItem->Offers->Offer->OfferListing->AvailabilityAttributes->AvailabilityType)){
     
    217224}
    218225
    219 
    220226//builds and calls the Amazon-API
    221 function eapi_call_amazon_api($data){
     227function eapi_call_amazon_api($data, $passed_get_information){
    222228
    223229$url = http_build_query($data);
     
    258264}
    259265$debug = 0;
    260 if($debug){
     266if($passed_get_information['debug']){
    261267    print_r($request);
     268    print_r("\n");
    262269}
    263270if(isset($http_response_header)){
  • easy-amazon-product-information/trunk/eapi_handler.php

    r1643226 r1720467  
    7070'custom_rating' => '',
    7171'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' => ''
    7375);
    7476//exceptions are described in the statement below
     
    8587        $ret .= eapi_build_output($data_from_local_WP, $typ, $passed_parameters);
    8688    }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'])))){
    8890            if(sizeof($data_from_local_WP) > 0){
    8991                eapi_delete_with_this_keyword($keyword);
     
    141143function eapi_build_output($product_arr, $typ, $passed_parameters)
    142144{
     145    //debug mode is activated
     146    if($passed_parameters['debug']){
     147        print_r($passed_parameters);
     148    }
     149   
    143150    $typ_json = json_decode(get_option('eapi_' . $typ));
    144151    $typ_json = eapi_init_typ_json($typ_json);
     
    231238       
    232239        $ret .= " >";
    233        
    234240        foreach($product_arr as $sA){
    235241       
     
    259265            }
    260266            $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           
    261275            if(isset($sA->amount_saved) AND $sA->amount_saved != "" AND  $typ_json->saving_display != ""){
    262276                $saving = str_replace("EUR" ,"", $sA->amount_saved) + str_replace("EUR" ,"", $sA->new_price);
     
    287301                    $ret .= " eapi_title_around";
    288302                }
     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                }
    289311                $ret .= "'";
    290312                if($display_savings OR $typ == "sidebar"){
     
    302324               
    303325                $ret .=  "<a class='eapi_product_title' ";
    304                 $ret .= 'title="'. $sA->title . '"';
     326                $ret .= 'title="'. eapi_html_escape($sA->title) . '"';
    305327               
    306328                if(get_option('eapi_analytics_tracking') != ""){
     
    459481    }
    460482}
     483//escape strings for html
     484function eapi_html_escape($str){
     485    return htmlspecialchars($str); 
     486}
     487
    461488//build prime and rating output
    462489function eapi_information_output($sA, $typ, $url, $passed_parameters, $typ_json){
     
    509536                $ret .= eapi_build_analytics_information($typ, $sA, $passed_parameters);
    510537            }
    511             $ret .=" href='$url".'\#customerReviews'."'
    512             $ret .=><span class='";
     538            $ret .=" href='$url"."#customerReviews"."'";
     539            $ret .="><span class='";
    513540            if($typ != "sidebar" AND $typ != "reviews"){
    514541                $ret .= "eapi_number_rating_box";
     
    552579                $ret .= " style='float: left;' ";
    553580            }           
    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')."' ";
    555582            //set google analytics tag
    556583            if(get_option('eapi_analytics_tracking') != ""){
    557584                $ret .= eapi_build_analytics_information($typ, $sA, $passed_parameters);
    558585            }
    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__ ) . "'";
    560587            if(sizeof($matches) > 0){
    561588                $star_shift += 180;
     
    564591                $ret .=  " style='left:-" . $star_shift . "px'";
    565592            }
    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>";
    567594        }
    568595    }
     
    607634            if($passed_parameters['product_affiliate'] == ""){
    608635                if(!($affili_link) OR $affili_link === ""){
    609                     $affili_link = "jensmueller-21";
     636                    $affili_link = "eapi-21";
    610637                }
    611638            }else{
    612639                $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            }
    616643    }else{//is not an amazon-link
    617644        $url =  $passed_parameters['product_link'];
     
    793820        if($picture_url != ""){
    794821            $ret = "<a";
    795             $ret .= ' title="'. $sA->title . '"';
     822            $ret .= ' title="'. eapi_html_escape($sA->title) . '"';
    796823            $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) . '" ';
    799826            if(get_option('eapi_analytics_tracking') != ""){
    800827                $ret .=eapi_build_analytics_information($typ, $sA, $passed_parameters);
     
    898925//$opt_price2 ist optional and gets added to the first value
    899926function eapi_build_formatted_price_display($price1, $opt_price2 = null){
     927    if($price1 == ""){
     928        $price1 = 0.0;
     929    }
    900930    if(isset($opt_price2)){
    901931    return  number_format(str_replace(",", ".", trim(str_replace(array("EUR", "."), "", $opt_price2))) +
     
    919949// returns the donate-button.
    920950function 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>";
    922952    return $ret;
    923953}
     
    965995    //checks the api key, with a sample request to the api.
    966996    if(isset($_POST['check_api_key'])){
    967         eapi_check_credentials();
     997        eapi_check_credentials(false);
    968998    }
    969999    //delete cache
     
    10911121
    10921122//checks the credentials by making a sample request to the database
    1093 function eapi_check_credentials(){
     1123function eapi_check_credentials($debug){
    10941124    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)){
    10961126        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')
    10971127        .' <a target=\'_blank\'     href=\'http://jensmueller.one/eapi-fehlersuche/\'>' .  __('More information to find the mistake.', 'easy-amazon-product-information') . '</a>');
     
    14461476        $pA->availability = "";
    14471477    }
     1478    if(!isset($pA->new_price)){
     1479        $pA->new_price = "";
     1480    }
    14481481    //remove some characters
    14491482    $pA->title = esc_sql( $pA->title);
     
    16061639       
    16071640    //checks credentials
    1608     eapi_check_credentials();
     1641    eapi_check_credentials(false);
    16091642   
    16101643    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  
    44 * Plugin URI: http://jensmueller.one/easy-amazon-product-information/
    55 * 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.0
     6 * Version: 2.7.0
    77 * Author: Jens Müller
    88 * Author URI: http://jensmueller.one
    99 * Text Domain: easy-amazon-product-information
    1010 */
    11 define('EAPI_VERSION', '2.6.0');
     11define('EAPI_VERSION', '2.7.0');
    1212define('EAPI_PLUGIN_DIR',  plugin_dir_path( __FILE__ ));
    1313
  • easy-amazon-product-information/trunk/languages/easy-amazon-product-information-de_DE.po

    r1572695 r1720467  
    22msgstr ""
    33"Project-Id-Version: easy-amazon-product-information\n"
    4 "POT-Creation-Date: 2016-08-10 20:09+0100\n"
    5 "PO-Revision-Date: 2017-01-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"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1616"X-Poedit-SearchPath-0: ..\n"
    1717
    18 #: ../eapi_handler.php:351 ../eapi_handler.php:358
     18#: ../eapi_handler.php:376 ../eapi_handler.php:383
    1919#, php-format
    2020msgid " last update on: %1$s at %2$s o'clock. "
    2121msgstr "Zuletzt aktualisiert am: %1$s um %2$s Uhr."
    2222
    23 #: ../eapi_handler.php:471
     23#: ../eapi_handler.php:501
    2424msgid "prime logo"
    2525msgstr "Prime Logo"
    2626
    27 #: ../eapi_handler.php:480 ../eapi_handler.php:499
     27#: ../eapi_handler.php:510 ../eapi_handler.php:536
    2828msgid "ratings"
    2929msgstr "Bewertungen"
    3030
    31 #: ../eapi_handler.php:497
     31#: ../eapi_handler.php:534
    3232msgid "rating"
    3333msgstr "Bewertung"
    3434
    35 #: ../eapi_handler.php:519 ../eapi_handler.php:531
     35#: ../eapi_handler.php:563 ../eapi_handler.php:575
    3636msgid "amazon product ratings"
    3737msgstr "Amazon Produktbewertungen"
    3838
    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
    6940msgid "donate button"
    7041msgstr "Spende Button"
    7142
    72 #: ../eapi_handler.php:952
     43#: ../eapi_handler.php:969
    7344msgid "link to donate"
    7445msgstr "Link zur Spendenseite"
    7546
    76 #: ../eapi_handler.php:966
     47#: ../eapi_handler.php:983
    7748msgid "You do not have sufficient permissions to access this page."
    7849msgstr "Sie haben nicht ausreichend Berechtigungen, diese Seite zu sehen."
    7950
    80 #: ../eapi_handler.php:1065
     51#: ../eapi_handler.php:1061
    8152msgid "Access Key ID"
    8253msgstr "Access Key ID"
    8354
    84 #: ../eapi_handler.php:1071
     55#: ../eapi_handler.php:1067
    8556msgid "Secret Access Key"
    8657msgstr "Secret Access Key"
    8758
    88 #: ../eapi_handler.php:1077
     59#: ../eapi_handler.php:1073
    8960msgid "Tracking ID"
    9061msgstr "Tracking ID (Affiliate-Tag)"
    9162
    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
    10564msgid "analytics tracking"
    10665msgstr "Analytics Tracking"
    10766
    108 #: ../eapi_handler.php:1099
     67#: ../eapi_handler.php:1086
    10968msgid "interval time in hours"
    11069msgstr "Intervallzeit in Stunden"
    11170
    112 #: ../eapi_handler.php:1102
     71#: ../eapi_handler.php:1092
     72msgid "activate url cloaking"
     73msgstr "URL Cloaking"
     74
     75#: ../eapi_handler.php:1101
     76msgid "cloaking link"
     77msgstr "Cloaking Link"
     78
     79#: ../eapi_handler.php:1105
     80msgid "Please provide a cloak."
     81msgstr "Bitte geben Sie einen Cloaking Link an."
     82
     83#: ../eapi_handler.php:1107
     84msgid "Successfully provided a cloak."
     85msgstr "Erfolgreich URL Cloaking eingerichtet."
     86
     87#: ../eapi_handler.php:1112
    11388msgid "save"
    11489msgstr "Speichern"
    11590
    116 #: ../eapi_handler.php:1104
     91#: ../eapi_handler.php:1116
    11792msgid "delete cache"
    11893msgstr "Cache leeren*"
    11994
    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
    12996msgid ""
    13097"Checks with the amazon link tester, if you have inserted your valid affiliat "
     
    134101"einem neuen Fenster auf. (Amazon-Login ist dort erforderlich.)"
    135102
    136 #: ../eapi_handler.php:1106
     103#: ../eapi_handler.php:1117
    137104msgid "affiliate link test"
    138105msgstr "Affiliate Link testen"
    139106
    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
    151108msgid "standard"
    152109msgstr "Standard"
    153110
    154 #: ../eapi_handler.php:1132 ../eapi_handler.php:1333 ../eapi_handler.php:1341
     111#: ../eapi_handler.php:1142 ../eapi_handler.php:1340 ../eapi_handler.php:1348
    155112msgid "small"
    156113msgstr "Klein"
    157114
    158 #: ../eapi_handler.php:1133
     115#: ../eapi_handler.php:1143
    159116msgid "sidebar"
    160117msgstr "Sidebar"
    161118
    162 #: ../eapi_handler.php:1134
     119#: ../eapi_handler.php:1144
    163120msgid "negative"
    164121msgstr "Negativ"
    165122
    166 #: ../eapi_handler.php:1135 ../eapi_handler.php:1363
     123#: ../eapi_handler.php:1145 ../eapi_handler.php:1370
    167124msgid "price"
    168125msgstr "Preis"
    169126
    170 #: ../eapi_handler.php:1136 ../eapi_handler.php:1280
     127#: ../eapi_handler.php:1146 ../eapi_handler.php:1287
    171128msgid "button"
    172129msgstr "Button"
    173130
    174 #: ../eapi_handler.php:1137 ../eapi_handler.php:1325
     131#: ../eapi_handler.php:1147 ../eapi_handler.php:1332
    175132msgid "picture"
    176133msgstr "Bild"
    177134
    178 #: ../eapi_handler.php:1138
     135#: ../eapi_handler.php:1148
    179136msgid "link"
    180137msgstr "Link"
    181138
    182 #: ../eapi_handler.php:1139
     139#: ../eapi_handler.php:1149
    183140msgid "help"
    184141msgstr "Hilfe"
    185142
    186 #: ../eapi_handler.php:1165
     143#: ../eapi_handler.php:1175
    187144#, php-format
    188145msgid ""
     
    193150"one</a> |"
    194151
    195 #: ../eapi_handler.php:1166
     152#: ../eapi_handler.php:1176
    196153msgid "support me with your next amazon buy"
    197154msgstr "Unterstütze den Entwickler beim nächsten Amazon-Einkauf"
    198155
    199 #: ../eapi_handler.php:1166
     156#: ../eapi_handler.php:1176
    200157msgid "entries in DB"
    201158msgstr "Einträge in der DB"
    202159
    203 #: ../eapi_handler.php:1166
     160#: ../eapi_handler.php:1176
    204161msgid "Settings will consist."
    205162msgstr "Einstellungen bleiben erhalten."
    206163
    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
    212165msgid ""
    213166"WARNING: Please check if you access Key ID, Secret Access Key and/or your "
     
    218171"um es zu überprüfen."
    219172
    220 #: ../eapi_handler.php:1180
     173#: ../eapi_handler.php:1187
    221174msgid "More information to find the mistake."
    222175msgstr "Mehr Informationen zur Fehlersuche."
    223176
    224 #: ../eapi_handler.php:1227
     177#: ../eapi_handler.php:1234
    225178msgid "name of tag"
    226179msgstr "Tagname"
    227180
    228 #: ../eapi_handler.php:1237
     181#: ../eapi_handler.php:1244
    229182msgid "general"
    230183msgstr "Allgemein"
    231184
    232 #: ../eapi_handler.php:1238
     185#: ../eapi_handler.php:1245
    233186msgid "display border per product"
    234187msgstr "Zeige Rahmen an (pro Produkt)"
    235188
    236 #: ../eapi_handler.php:1241
     189#: ../eapi_handler.php:1248
    237190msgid "display all in border"
    238191msgstr "Zeige alles im einem Rahmen an"
    239192
    240 #: ../eapi_handler.php:1244
     193#: ../eapi_handler.php:1251
    241194msgid "display numeration"
    242195msgstr "Zeige Nummerierung an"
    243196
    244 #: ../eapi_handler.php:1247
     197#: ../eapi_handler.php:1254
    245198msgid "display procent savings"
    246199msgstr "Zeige Prozente an"
    247200
    248 #: ../eapi_handler.php:1252 ../eapi_handler.php:1291
     201#: ../eapi_handler.php:1259 ../eapi_handler.php:1298
    249202msgid "background color"
    250203msgstr "Hintergrundfarbe"
    251204
    252 #: ../eapi_handler.php:1253
     205#: ../eapi_handler.php:1260
    253206msgid "border color"
    254207msgstr "Rahmenfarbe"
    255208
    256 #: ../eapi_handler.php:1254
     209#: ../eapi_handler.php:1261
    257210msgid "display shadow"
    258211msgstr "Zeige In-Box-Schatten an"
    259212
    260 #: ../eapi_handler.php:1259
     213#: ../eapi_handler.php:1266
    261214msgid "display as &lt;p&gt; (else &lt;h4&gt;)"
    262215msgstr "Zeige als &lt;p&gt; an (sonst &lt;h4&gt;)"
    263216
    264 #: ../eapi_handler.php:1264
     217#: ../eapi_handler.php:1271
    265218msgid "headline text"
    266219msgstr "Text der Überschrift"
    267220
    268 #: ../eapi_handler.php:1265 ../eapi_handler.php:1273
     221#: ../eapi_handler.php:1272 ../eapi_handler.php:1280
    269222msgid "headline text color"
    270223msgstr "Farbe der Überschrift"
    271224
    272 #: ../eapi_handler.php:1272
     225#: ../eapi_handler.php:1279
    273226msgid "headline"
    274227msgstr "Überschrift"
    275228
    276 #: ../eapi_handler.php:1274
     229#: ../eapi_handler.php:1281
    277230msgid "number of characters"
    278231msgstr "Anzahl der Zeichen"
    279232
    280 #: ../eapi_handler.php:1275 ../eapi_handler.php:1316
     233#: ../eapi_handler.php:1282 ../eapi_handler.php:1323
    281234msgid "font size in %"
    282235msgstr "Schriftgröße in %"
    283236
    284 #: ../eapi_handler.php:1282
     237#: ../eapi_handler.php:1289
    285238msgid "display button"
    286239msgstr "Zeige Button an"
    287240
    288 #: ../eapi_handler.php:1285
     241#: ../eapi_handler.php:1292
    289242msgid "display button in Amazon style"
    290243msgstr "Zeige Button im Amazon-Style an"
    291244
    292 #: ../eapi_handler.php:1290 ../eapi_handler.php:1314
     245#: ../eapi_handler.php:1297 ../eapi_handler.php:1321
    293246msgid "text color"
    294247msgstr "Textfarbe"
    295248
    296 #: ../eapi_handler.php:1292
     249#: ../eapi_handler.php:1299
    297250msgid "text"
    298251msgstr "Text"
    299252
    300 #: ../eapi_handler.php:1293
     253#: ../eapi_handler.php:1300
    301254msgid "shipping picture"
    302255msgstr "Shipping Bild"
    303256
    304 #: ../eapi_handler.php:1295
     257#: ../eapi_handler.php:1302
    305258msgid "no shipping picture"
    306259msgstr "Kein Bild"
    307260
    308 #: ../eapi_handler.php:1297
     261#: ../eapi_handler.php:1304
    309262msgid "black"
    310263msgstr "schwarz"
    311264
    312 #: ../eapi_handler.php:1299
     265#: ../eapi_handler.php:1306
    313266msgid "white"
    314267msgstr "weiß"
    315268
    316 #: ../eapi_handler.php:1301
     269#: ../eapi_handler.php:1308
    317270msgid "Amazon big"
    318271msgstr "Amazon gr."
    319272
    320 #: ../eapi_handler.php:1309
     273#: ../eapi_handler.php:1316
    321274msgid "features"
    322275msgstr "Features"
    323276
    324 #: ../eapi_handler.php:1311
     277#: ../eapi_handler.php:1318
    325278msgid "display features"
    326279msgstr "Zeige Features an"
    327280
    328 #: ../eapi_handler.php:1315
     281#: ../eapi_handler.php:1322
    329282msgid "number of features"
    330283msgstr "Anzahl der Features"
    331284
    332 #: ../eapi_handler.php:1319
     285#: ../eapi_handler.php:1326
    333286msgid "max height of features in px<br>(default: 200px)"
    334287msgstr "Max. Höhe der Features in px <br>(alt.: 200px)"
    335288
    336 #: ../eapi_handler.php:1326
     289#: ../eapi_handler.php:1333
    337290msgid "display pictures"
    338291msgstr "Zeige Bild an"
    339292
    340 #: ../eapi_handler.php:1329
     293#: ../eapi_handler.php:1336
    341294msgid "picture size"
    342295msgstr "Bildgröße"
    343296
    344 #: ../eapi_handler.php:1331 ../eapi_handler.php:1339
     297#: ../eapi_handler.php:1338 ../eapi_handler.php:1346
    345298msgid "medium"
    346299msgstr "mittel"
    347300
    348 #: ../eapi_handler.php:1335
     301#: ../eapi_handler.php:1342
    349302msgid "picture resolution"
    350303msgstr "Bildauflösung"
    351304
    352 #: ../eapi_handler.php:1337
     305#: ../eapi_handler.php:1344
    353306msgid "large"
    354307msgstr "groß"
    355308
    356 #: ../eapi_handler.php:1347
     309#: ../eapi_handler.php:1354
    357310msgid "amazon information"
    358311msgstr "Amazon Informationen"
    359312
    360 #: ../eapi_handler.php:1349
     313#: ../eapi_handler.php:1356
    361314msgid "display product review"
    362315msgstr "Zeige Produktbewertung an"
    363316
    364 #: ../eapi_handler.php:1352
     317#: ../eapi_handler.php:1359
    365318msgid "display number of ratings"
    366319msgstr "Zeige Anzahl der Rezensionen an"
    367320
    368 #: ../eapi_handler.php:1355
     321#: ../eapi_handler.php:1362
    369322msgid "display prime"
    370323msgstr "Zeige Prime an"
    371324
    372 #: ../eapi_handler.php:1365
     325#: ../eapi_handler.php:1372
    373326msgid "display price"
    374327msgstr "Zeige Preis an"
    375328
    376 #: ../eapi_handler.php:1368
     329#: ../eapi_handler.php:1375
    377330msgid "color of price"
    378331msgstr "Farbe des Preises"
    379332
    380 #: ../eapi_handler.php:1369
     333#: ../eapi_handler.php:1376
    381334msgid "price pre text"
    382335msgstr "Text vor Preis"
    383336
    384 #: ../eapi_handler.php:1370
     337#: ../eapi_handler.php:1377
    385338msgid "price after text"
    386339msgstr "Text nach Preis"
    387340
    388 #: ../eapi_handler.php:1373
     341#: ../eapi_handler.php:1380
    389342msgid "crossed out price"
    390343msgstr "Streichpreis"
    391344
    392 #: ../eapi_handler.php:1376
     345#: ../eapi_handler.php:1383
    393346msgid "saving pre text"
    394347msgstr "Text vor Streichpreis"
    395348
    396 #: ../eapi_handler.php:1383
     349#: ../eapi_handler.php:1390
    397350msgid "footer"
    398351msgstr "Fußbereich"
    399352
    400 #: ../eapi_handler.php:1385
     353#: ../eapi_handler.php:1392
    401354msgid "display last update"
    402355msgstr "Zeige letzte Aktualisierung"
    403356
    404 #: ../eapi_handler.php:1388
     357#: ../eapi_handler.php:1395
    405358msgid "text of footer"
    406359msgstr "Footertext"
    407360
    408 #: ../eapi_handler.php:1393
     361#: ../eapi_handler.php:1400
    409362msgid "change"
    410363msgstr "Änderung übernehmen"
    411364
    412 #: ../eapi_handler.php:1615
     365#: ../eapi_handler.php:1628
    413366msgid "Buy on Amazon!"
    414367msgstr "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"
    415416
    416417#~ msgid "error messages"
  • easy-amazon-product-information/trunk/readme.txt

    r1643226 r1720467  
    77Stable tag: trunk
    88Requires at least: 4.0
    9 Tested up to: 4.7.4
     9Tested up to: 4.8.1
    1010
    1111Mit diesem Plugin können Sie Produktdaten aus der Amazon-API auslesen und automatisiert in Ihre Webseite einbinden.
     
    3535*  Anzeige von Bestsellerlisten
    3636*  Einbindung von Google Analytics zum Tracken von Klicks
    37 *  [Verfügbarkeitsalarm](http://jensmueller.one/blog/amazon-verfuegbarkeitsalarm/)
    3837*  Anzeige der Produktbewertungen
    3938*  Anzeige der Primeverfügbarkeit
     
    5049*  Vordefiniertes Design von Amazon-Buttons
    5150*  Optimierungsmöglichkeiten durch Verknüpfung mit Google Analytics
    52 *  Verfügbarkeitsalarm
    5351*  Sämtliche Affiliate-Links können mit EAPI erstellt werden
    5452
     
    9290== Changelog ==
    9391
     922.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
    94982.6.0:
    9599
     
    97101*  Design-Optimierungen. | Design optmiziations.
    98102*  Email-Benachrichtigungsfeature wurde entfernt. | Email notification is no longer available.
    99 
    100103
    1011042.5.0:
     
    132135
    133136*  Zahlreiche Bugs wurden behoben. | Fixed a lot of bugs.
    134 [Verfügbarkeitsalarm](http://jensmueller.one/blog/amazon-verfuegbarkeitsalarm/).| New feature: availability alarm.
     137Verfügbarkeitsalarm
    135138*  Prime-Logo kann jetzt angezeigt werden. | Prime logo can now be displayed.
    136139*  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.