Plugin Directory

Changeset 1643226


Ignore:
Timestamp:
04/23/2017 11:52:10 AM (9 years ago)
Author:
jensmueller
Message:

eapi version 2.6.0

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

Legend:

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

    r1535312 r1643226  
    116116                }
    117117            }
     118            /*
     119            if(isset($xmlItem->BrowseNodes->BrowseNode)){
     120                $category_arr = array();
     121                foreach($xmlItem->BrowseNodes->BrowseNode as $bn){
     122                    $category_arr = recursive_category($bn, $category_arr);
     123                }
     124                $arr['category'] = $category_arr;
     125            }else{
     126                $arr['category'] = "";
     127            }
     128            */
    118129            if(isset($xmlItem->CustomerReviews->IFrameURL)){
    119130                $iframe_url = (String)$xmlItem->CustomerReviews->IFrameURL;
     
    131142                $arr['availability'] = 'now';
    132143            }
    133             check_for_actuality_notification($arr['asin'], $arr['availability']);
    134144            if(($num_of_wanted_results == 1 AND $count_of_pushed_elemets < 1) OR
    135145            ($num_of_wanted_results > 1 AND sizeof($ret_elements) < $num_of_wanted_results) ){
     
    151161                $asin = $xmlItem->ASIN;
    152162            }
    153             eapi_send_notification_mail($asin,"no price available");
    154163        }
    155164    }
    156165    return $ret_elements;
    157166}
    158 function check_for_actuality_notification($asin, $act){
    159     if($act == "now"){
    160         return true;
    161     }else if($act == "futureDate"){
    162         eapi_send_notification_mail($asin, $act);
    163         return true;
    164     }
    165     return true;
    166 }
    167 
    168 
     167/*
     168function recursive_category($node, $cat_arr){
     169    if(isset($node->Ancestors)){
     170        array_push($cat_arr, (String)$node->Name);
     171        $cat_arr = recursive_category($node->Ancestors->BrowseNode, $cat_arr);
     172    }
     173    array_push($cat_arr, (String)$node->Name);
     174    return $cat_arr;
     175}
     176*/
    169177//puts the parameters together to an array.
    170178function eapi_amazon_keyword_search($searchString, $page, $affili_amazon_tag, $aws_access_key_id){
     
    179187        'Keywords'=>$searchString,
    180188        'Operation'=>'ItemSearch',
    181         'ResponseGroup'=>'Reviews,Images,ItemAttributes,OfferListings',
     189        #'ResponseGroup'=>'Large',
     190        'ResponseGroup'=>'BrowseNodes,Reviews,Images,ItemAttributes,OfferListings',
    182191        'SearchIndex' => 'All',
    183192        'Service'=> 'AWSECommerceService',
  • easy-amazon-product-information/trunk/eapi_handler.php

    r1569629 r1643226  
    1212if(isset($atts['typ'])){
    1313    $typ = $atts['typ'];
    14     if(! in_array($typ, array("standard", "sidebar", "small", "negative", "price", "button", "picture", "link", "stars", "reviews"))){
     14    if(! in_array($typ, array("standard", "sidebar", "small", "negative", "price", "button", "picture", "link", "stars", "reviews", "prime"))){
    1515        $typ = "standard";
    1616    }
     
    174174    //'display_savings' will get true, if the savings are shown in the corner right on the top.
    175175    $display_savings = false;
    176        
    177176    if($typ_json->display_intext_price != ""){
    178        
    179177        $ret .= eapi_build_price_output(array_shift($product_arr), $typ, $typ_json);
    180        
    181178    }else if($typ_json->display_intext_picture != ""){
    182179        $prod = array_shift($product_arr);
    183180        $url = eapi_build_url($prod, $passed_parameters);
    184181        $ret .= eapi_build_picture_output($prod, $typ, $url, $passed_parameters, $typ_json, $increasing_number);
    185        
    186182    }else if($typ_json->display_intext_button != ""){
    187        
    188183        $prod = array_shift($product_arr);
    189184        $url = eapi_build_url($prod, $passed_parameters);
    190185        $ret .= eapi_build_button_output($prod, $typ, $url, $passed_parameters, $typ_json);
    191        
    192186    }else if($typ_json->display_intext_link != ""){
    193187        $prod = array_shift($product_arr);
     
    202196        $url = eapi_build_url($prod, $passed_parameters);
    203197        $ret .= eapi_build_number_ratings($prod, $typ, $url, $passed_parameters, $typ_json);
    204     }else{
     198    }else if($typ_json->display_intext_prime != ""){
     199        $prod = array_shift($product_arr);
     200        $ret .= eapi_build_prime_output($prod, $typ, $passed_parameters, $typ_json);
     201    }
     202    else{
    205203        if($passed_parameters['head_text'] == ""){
    206204            $head_text = $typ_json->head_text;
     
    261259            }
    262260            $ret .= " >";
    263            
    264261            if(isset($sA->amount_saved) AND $sA->amount_saved != "" AND  $typ_json->saving_display != ""){
    265262                $saving = str_replace("EUR" ,"", $sA->amount_saved) + str_replace("EUR" ,"", $sA->new_price);
     
    284281                    $ret .= "<h3";
    285282                }
    286                 $ret .= " class='eapi_title_around'";
     283                $ret .= " class='";
     284                if($typ != "sidebar"){
     285                    $ret .= "eapi_title_around_box";
     286                }else{
     287                    $ret .= " eapi_title_around";
     288                }
     289                $ret .= "'";
    287290                if($display_savings OR $typ == "sidebar"){
    288291                    $ret .= "style='";
     
    480483        if($typ == "sidebar"){
    481484            $ret .= "eapi_prime_wrapper_center";
    482         }else{
     485        }else if($typ == "prime"){
     486            $ret .= "eapi_prime_intext";
     487        }
     488        else{
    483489            $ret .= "eapi_prime_wrapper";
    484490        }
     
    505511            $ret .=" href='$url".'\#customerReviews'."'
    506512            $ret .=><span class='";
    507             if($typ != "sidebar"){
     513            if($typ != "sidebar" AND $typ != "reviews"){
    508514                $ret .= "eapi_number_rating_box";
    509515            }
    510516            $ret .= "'";
    511517            if($passed_parameters['review_float'] != ""){
    512                 $ret .=  " style='float:left!important' ";
     518                if($passed_parameters['review_float'] == "left"){
     519                    $ret .=  " style='float:left!important' ";
     520                }
    513521            }
    514522            $ret .= ">";           
     
    543551            if($passed_parameters['star_float'] == 'left'){
    544552                $ret .= " style='float: left;' ";
    545             }
     553            }           
    546554            $ret .="><a rel='nofollow' target='_blank' rel='nofollow' alt='".__('amazon product ratings', 'easy-amazon-product-information')."'  title='".__('amazon product ratings', 'easy-amazon-product-information')."' ";
    547555            //set google analytics tag
     
    802810            if($passed_parameters['picture_float'] == "right"){
    803811                $ret .= "float:right!important;";
    804             }           
     812            }else if($passed_parameters['picture_float'] == "center"){
     813                $ret .= "margin:auto!important;float:none!important;";
     814            }       
    805815            if($typ == 'picture'){
    806816                $ret .= "margin: 15px;";
     
    896906}
    897907
    898 //notificiation alarm
    899 //is called, when a notification even occours
    900 function eapi_send_notification_mail($label, $text){
    901     date_default_timezone_set("Europe/Berlin");
    902     $timestamp = time();
    903     mktime($timestamp);
    904     strtotime($timestamp);
    905     $actual_date = $timestamp;
    906                
    907     $message = "";
    908     if($label == "test_label"){
    909         $message .= __('Successfully send the test mail!', 'easy-amazon-product-information')  . "\n". "\n";
    910         $message .=  date('d.m.Y H:i', $actual_date);
    911     }else{
    912         $message .=  __('On your page', 'easy-amazon-product-information')  . " " . get_bloginfo('name') ." ". __('was an error registered.', 'easy-amazon-product-information') . "\n". "\n";
    913         $message .=  __('Problem with the following product: ', 'easy-amazon-product-information'). " " . "\n" . "http://amazon.de/dp/" . $label . " \n" . __('status', 'easy-amazon-product-information') . ": " . $text. "\n". "\n";
    914         $message .=  __('visit your website directly: ', 'easy-amazon-product-information')  . "\n" . get_option('siteurl')." \n". "\n";
    915         $message .=  date('d.m.Y H:i', $actual_date) . "\n". "\n";
    916         $message .=  __('information about this notification can be found on: ', 'easy-amazon-product-information') . "http://jensmueller.one/blog/amazon-verfuegbarkeitsalarm/ "  . "\n". "\n";
    917        
    918     }
    919     if(get_option('eapi_email_notification') != ""){
    920         $can_send_mail = true;
    921         $notification_log = get_option("eapi_notification_log", "");
    922         //notification_log only if not test mail is send
    923         if($label != "test_label" and $notification_log != ""){
    924             $notification_log = json_decode($notification_log, true);
    925             if(array_key_exists((String)$label, $notification_log)){//key already exists in log
    926                 $can_send_mail = false;
    927             }
    928         }
    929         //if not notification_log is not already an array, an array is created
    930         if($notification_log == ""){
    931             $notification_log = array();
    932         }
    933         if($can_send_mail){
    934             //switch between writing local and send per mail
    935             //writing local is for debugging
    936             if(0){
    937                 file_put_contents( 'wp-content\plugins\easy-amazon-product-information\test.log',$message, FILE_APPEND);
    938                 if($label != "test_label"){
    939                     $notification_log[(String)$label] = array("text" => $text, "time" => $timestamp);
    940                     update_option("eapi_notification_log", json_encode($notification_log));
    941                 }
    942             }else{
    943                 $subject = "EAPI Verfügbarkeitsalarm";
    944                 $sender = get_option('eapi_mail_sender');
    945                 if($sender  != ""){
    946                     $headers = array('From: EAPI '.get_bloginfo('name').' <'.$sender.'>');
    947                 }else{
    948                     $headers = array('');
    949                 }
    950                 $receiver = get_option('eapi_mail_receiver');
    951                 if($receiver != ""){
    952                     $temp = wp_mail($receiver, $subject, $message, $headers);
    953                     if($label != "test_label"){
    954                         $notification_log[(String)$label] = array("text" => $text, "time" => $timestamp);
    955                         update_option("eapi_notification_log", json_encode($notification_log));
    956                     }
    957                 }else{
    958                     $temp = false;
    959                 }
    960                 return $temp;
    961             }
    962         }
    963     }
    964 }
    965 
    966908//builds the ownsite var.
    967909function eapi_get_own_site_url(){
     
    1020962            update_option("eapi_analytics_tracking", $_POST['eapi_analytics_tracking']);
    1021963        }
    1022         if(!isset($_POST['eapi_email_notification'])){
    1023             delete_option("eapi_email_notification");
    1024         }else{
    1025             update_option("eapi_email_notification", $_POST['eapi_email_notification']);
    1026         }
    1027     }
    1028     if(isset($_POST['eapi_mail_receiver'])){
    1029         update_option("eapi_mail_receiver", trim($_POST['eapi_mail_receiver']));
    1030     }
    1031     if(isset($_POST['eapi_mail_sender'])){
    1032         update_option("eapi_mail_sender", trim($_POST['eapi_mail_sender']));
    1033964    }
    1034965    //checks the api key, with a sample request to the api.
     
    1036967        eapi_check_credentials();
    1037968    }
    1038     //deletes the notification cache
    1039     if(isset($_POST['eapi_clear_notification_cache'])){
    1040         delete_notification_cache();
    1041     }
    1042    
    1043969    //delete cache
    1044970    if(isset($_POST['eapi_cache_clear'])){
    1045971        delete_all_cached_data();
    1046         delete_notification_cache();
    1047     }
    1048     //send test mail
    1049     if(isset($_POST['eapi_mail_test'])){
    1050         $temp_return = eapi_send_notification_mail("test_label", "test_message");
    1051         if(!$temp_return){
    1052             update_option('eapi_personal_error',  " problem with mail sending");
    1053         }
    1054972    }
    1055973    //builds affiliate link test for amazon partner net
     
    1057975    $temp_obj->asin = "B0054PDOV8";
    1058976    $link_for_affiliate_test = "https://partnernet.amazon.de/gp/associates/network/tools/link-checker/main.html?link=".eapi_build_url($temp_obj,array('product_link' => '', 'product_affiliate' => ''));
    1059    
    1060     //reads the last send of a mail notification
    1061     $notification_log = get_option("eapi_notification_log", "");
    1062     if($notification_log != ""){
    1063         $notification_log = json_decode($notification_log, true);
    1064         $last_log = 0;
    1065         foreach($notification_log as $log){
    1066             if($log['time'] > $last_log){
    1067                 $last_log = $log['time'];
    1068             }
    1069         }
    1070         date_default_timezone_set("Europe/Berlin");
    1071         $notification_log = date('d.m.Y H:i', $last_log);
    1072     }
    1073    
     977
    1074978    $typ_for_tabs = array("standard", "small", "sidebar", "negative", "price", "button", "picture", "link");
    1075979    //checks for updates via $_POST submit.
     
    11091013    }
    11101014    echo "</tr><tr>";
    1111     echo "<td>".__('availability alarm', 'easy-amazon-product-information').":</td><td>
    1112     <input type='checkbox' value='on' name='eapi_email_notification' ";
    1113     if(get_option("eapi_email_notification") != ""){
    1114         echo "checked";
    1115     }
    1116     echo "></td><td></td>";
    1117     echo "<td>".__('mail sender address', 'easy-amazon-product-information').":</td><td><input name='eapi_mail_sender' type='text' value='".get_option("eapi_mail_sender")."' placeholder='[email protected]'></td><td></td>";
    1118     echo "<td>".__('mail receiver address', 'easy-amazon-product-information').":</td><td><input name='eapi_mail_receiver' type='text' value='".get_option("eapi_mail_receiver")."'></td>";
    1119     echo "</tr><tr>";
    11201015    echo "<td>".__('analytics tracking', 'easy-amazon-product-information').":</td><td>
    11211016    <input type='checkbox' value='on' name='eapi_analytics_tracking' ";
     
    11301025    echo "</table></form>";
    11311026    echo "<table><tr><td><form  method='post' action=''><input type='hidden' value='1' name='eapi_cache_clear'><input type='submit' value='".__('delete cache', 'easy-amazon-product-information')."'></form></td>
    1132                 <td><form  method='post' action=''><input type='hidden' value='1' name='eapi_mail_test'><input type='submit' title='".__('Sends a test mail with the parameters you inserted.', 'easy-amazon-product-information')."' value='".__('mail test', 'easy-amazon-product-information')."'></form></td>
    11331027                <td><form action='".$link_for_affiliate_test."' target='_blank' method='post' ><input type='hidden' value='1' name='eapi_affiliate_test'><input title='".__('Checks with the amazon link tester, if you have inserted your valid affiliat tag. Leads to an extern url where amazon login is required.', 'easy-amazon-product-information')."'  type='submit' value='".__('affiliate link test', 'easy-amazon-product-information')."'></form></td>
    1134                 <td><form  method='post' action=''><input type='hidden' value='1' name='eapi_clear_notification_cache'><input type='submit' title='".__('clears notification cache, so noticifications will be send again', 'easy-amazon-product-information')."' value='".__('clear notification cache', 'easy-amazon-product-information')."'></form></td>
    11351028                </tr>";
    11361029    echo "</table>";
     
    11921085    echo "<p>" . sprintf(__('version: %1$s | <a href='."'"."http://jensmueller.one"."'"." target="."'"."_blank"."'".'>jensmueller.one</a> |', 'easy-amazon-product-information'), EAPI_VERSION);
    11931086    echo eapi_get_donate_button() ." | <a href='https://www.amazon.de/?tag=jensmueller-21' target='_blank' >".__('support me with your next amazon buy', 'easy-amazon-product-information') ."</a> | " . eapi_get_number_of_entries_in_db(). ' ' .  __('entries in DB', 'easy-amazon-product-information') . ' | *'.__('Settings will consist.', 'easy-amazon-product-information') ;
    1194    
    1195     if($notification_log != ""){
    1196         echo " | " . __('Last notification was send on', 'easy-amazon-product-information') . ": " . $notification_log;
    1197     }
     1087
    11981088    echo  '</p>';
    11991089    echo '</div>';             
     
    14711361    $wpdb->query( "DELETE FROM $table_name  WHERE 1 ");
    14721362}
    1473 function delete_notification_cache(){
    1474     delete_option('eapi_notification_log');
    1475 }
    1476 
    14771363
    14781364//deletes all entries in db, with this keyword
     
    15841470    if(! ($restriction)){
    15851471        $arr = array_merge($arr, array("display_intext_price", "display_intext_picture", "display_intext_button",
    1586         "display_intext_stars", "display_intext_reviews"));
     1472        "display_intext_stars", "display_intext_reviews", "display_intext_prime"));
    15871473    }
    15881474    return $arr;
     
    16831569    }
    16841570    if( version_compare(get_option('eapi_version'), "2.0.0")< 0){
    1685         preg_match( "#[a-zA-Z0-9\-äöüÄÖÜß]*\.[a-z0-9]*$#", get_bloginfo('url'), $matches);
     1571    /*  preg_match( "#[a-zA-Z0-9\-äöüÄÖÜß]*\.[a-z0-9]*$#", get_bloginfo('url'), $matches);
    16861572        if(isset($matches[0])){
    16871573            $domain_name = $matches[0];
     
    16921578        update_option("eapi_mail_sender", $domain_name);
    16931579        update_option("eapi_mail_receiver", get_option('admin_email'));
     1580        *///not needed any longer, old function for notification mail
    16941581    }
    16951582    if( version_compare(get_option('eapi_version'), "2.1.0")< 0){
     
    17041591        $all_start_options_in_one_array['reviews']['num_reviews_display'] = '1';
    17051592        $all_start_options_in_one_array['reviews']['display_intext_reviews'] = '1';
     1593    }
     1594    if( version_compare(get_option('eapi_version'), "2.6.0") < 0){
     1595        $all_start_options_in_one_array['prime']['display_intext_prime'] = '1';
     1596        $all_start_options_in_one_array['prime']['prime_display'] = '1';
     1597        delete_option('eapi_notification_log');
     1598        delete_option("eapi_email_notification");
     1599        delete_option('eapi_mail_sender');
     1600        delete_option("eapi_mail_receiver");
    17061601    }
    17071602    //saving all these options in db
     
    17281623        keyword varchar(100) NOT NULL,
    17291624        title text NOT NULL,
    1730         small_image varchar(1000),
    1731         medium_image varchar(1000),
    1732         large_image varchar(1000),
     1625        small_image varchar(2000),
     1626        medium_image varchar(2000),
     1627        large_image varchar(2000),
    17331628        description text,
    17341629        features text,
  • easy-amazon-product-information/trunk/easy_amazon_product_information.css

    r1459468 r1643226  
    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}.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_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_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:20px;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;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}
  • easy-amazon-product-information/trunk/easy_amazon_product_information.php

    r1535312 r1643226  
    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.5.0
     6 * Version: 2.6.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.5.0');
     11define('EAPI_VERSION', '2.6.0');
    1212define('EAPI_PLUGIN_DIR',  plugin_dir_path( __FILE__ ));
    1313
  • easy-amazon-product-information/trunk/readme.txt

    r1569629 r1643226  
    77Stable tag: trunk
    88Requires at least: 4.0
    9 Tested up to: 4.7
     9Tested up to: 4.7.4
    1010
    1111Mit diesem Plugin können Sie Produktdaten aus der Amazon-API auslesen und automatisiert in Ihre Webseite einbinden.
     
    9191
    9292== Changelog ==
     93
     942.6.0:
     95
     96*  Es kann nur das Prime-Logo alleine angezeigt werden, beispielsweise in einer Tabelle. | Only the prime sign can now be displayed.
     97*  Design-Optimierungen. | Design optmiziations.
     98*  Email-Benachrichtigungsfeature wurde entfernt. | Email notification is no longer available.
    9399
    94100
Note: See TracChangeset for help on using the changeset viewer.