Plugin Directory

Changeset 2407364


Ignore:
Timestamp:
10/27/2020 08:42:24 AM (5 years ago)
Author:
amadercode
Message:

Stable version simpleHtmlDom library and Testing upto 5.5 WP core.

Location:
wp-amazon-shop
Files:
12 added
2 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • wp-amazon-shop/tags/2.1.0/includes/import/wp-amazon-shop-ikits.php

    r2405780 r2407364  
    22if (!defined('ABSPATH')) exit;
    33//use html parser
    4 use simplehtmldom\HtmlWeb;
     4//use simplehtmldom\HtmlWeb;
    55
    66if (!class_exists('ACL_WPAS_iKits')) {
     
    601601            $products = array();
    602602            // Create a DOM object
    603             $doc = new HtmlWeb();
    604             $html = $doc->load(urldecode(base64_decode($search_url)));//Search Result
     603            //latest
     604            //$doc = new HtmlWeb();
     605            //$html = $doc->load(urldecode(base64_decode($search_url)));//Search Result
     606            //Stable
     607            $html = new simple_html_dom();
     608            $html->load(urldecode(base64_decode($search_url)));//Search Result
    605609            //return $html->plaintext;
    606610            if (gettype($html->find('span[data-component-type=s-result-info-bar]', 0)) != "NULL") {
  • wp-amazon-shop/tags/2.1.0/includes/import/wp-amazon-shop-import.php

    r2405780 r2407364  
    55require_once( 'wp-amazon-shop-ikits.php');
    66//use html parser
    7 use simplehtmldom\HtmlWeb;
     7//use simplehtmldom\HtmlWeb;
    88class ACL_Amazon_Product_Import
    99{
     
    11051105        $proudct_url=$basic_url.$asin;
    11061106        // Create a DOM object
    1107         // Create a DOM object
    1108         $doc = new HtmlWeb();
    1109         $html = $doc->load($proudct_url);
     1107        // latest 2.0
     1108        //$doc = new HtmlWeb();
     1109        //$html = $doc->load($proudct_url);
     1110        //Stable
     1111        $html = new simple_html_dom();
     1112        $html->load($proudct_url);//Search Result
    11101113
    11111114        if(gettype($html->find('span.price', 0)) != "NULL") {
  • wp-amazon-shop/tags/2.1.0/includes/wp-amazon-shop-handler.php

    r2405780 r2407364  
    44}
    55//use html parser.
    6 use simplehtmldom\HtmlWeb;
     6//use simplehtmldom\HtmlWeb;
    77
    88class ACL_Amazon_Product_Handler
     
    145145        $proudct_url=$basic_url.$asin;
    146146         // Create a DOM object
    147          $doc = new HtmlWeb();
    148          $html = $doc->load($proudct_url);
     147         //$doc = new HtmlWeb();
     148         // $html = $doc->load($proudct_url);
     149         //Stable
     150         $html = new simple_html_dom();
     151         $html->load($proudct_url);//Search Result
     152
    149153         if(gettype($html->find('a#titlehref', 0)) != "NULL") {
    150154             $title_raw =$html->find('a#titlehref', 0)->innertext;
  • wp-amazon-shop/tags/2.1.0/readme.txt

    r2405780 r2407364  
    44Tags: amazon, amazon shop,affiliate,amazon affiliate, dropship, amazon dropship,amazon product search, amazon product import,amazon product auto link
    55Requires at least: 4.0
    6 Tested up to: 5.5.3
     6Tested up to: 5.5
    77Stable tag: 2.1.0
    88Requires PHP: 5.6.0
     
    1515[youtube https://www.youtube.com/watch?v=PMpQOyIZ2S4]
    1616
    17 Dropshipping & Affiliation with Amazon comes with a NEW Outstanding Feature, Amazon Dropshipping & Affiliation Program Both.Search and build products from Amazon store to make easy money by affiliation. No hassle, no coding, no amazon AWS keys!
     17Dropshipping & Affiliation with Amazon formerly known as WP Amazon Shop for Dropshipping & Affiliation comes with a NEW Outstanding Feature, Amazon Dropshipping & Affiliation Program Both.Search and build products from Amazon store to make easy money by affiliation. No hassle, no coding, no amazon AWS keys!
    1818
    1919> [Live Demo of Dropshipping & Affiliation with Amazon Pro Version](https://wpamazonshop.com/demo/)
  • wp-amazon-shop/tags/2.1.0/wp-amazon-shop.php

    r2405780 r2407364  
    88 * Author URI: http://www.amadercode.com/
    99 * Requires at least: 4.0
    10  * Tested up to: 5.5.3
     10 * Tested up to: 5.5
    1111 * Stable tag: 2.1.0
    1212 * Text Domain: wp-amazon-shop
     
    4040// Load Amazon sdk libraries
    4141require_once( 'includes/wp-amazon-shop-install.php');
    42 require_once( 'includes/lib/simplehtmldom_2_0-RC2/HtmlWeb.php');
     42require_once( 'includes/lib/simplehtmldom_1_9_1/simple_html_dom.php');
     43//require_once( 'includes/lib/simplehtmldom_2_0-RC2/HtmlWeb.php');
    4344//Load Plugin Operation class files
    4445require_once( 'includes/wp-amazon-shop-handler.php');
  • wp-amazon-shop/trunk/includes/import/wp-amazon-shop-ikits.php

    r2405780 r2407364  
    22if (!defined('ABSPATH')) exit;
    33//use html parser
    4 use simplehtmldom\HtmlWeb;
     4//use simplehtmldom\HtmlWeb;
    55
    66if (!class_exists('ACL_WPAS_iKits')) {
     
    601601            $products = array();
    602602            // Create a DOM object
    603             $doc = new HtmlWeb();
    604             $html = $doc->load(urldecode(base64_decode($search_url)));//Search Result
     603            //latest
     604            //$doc = new HtmlWeb();
     605            //$html = $doc->load(urldecode(base64_decode($search_url)));//Search Result
     606            //Stable
     607            $html = new simple_html_dom();
     608            $html->load(urldecode(base64_decode($search_url)));//Search Result
    605609            //return $html->plaintext;
    606610            if (gettype($html->find('span[data-component-type=s-result-info-bar]', 0)) != "NULL") {
  • wp-amazon-shop/trunk/includes/import/wp-amazon-shop-import.php

    r2405780 r2407364  
    55require_once( 'wp-amazon-shop-ikits.php');
    66//use html parser
    7 use simplehtmldom\HtmlWeb;
     7//use simplehtmldom\HtmlWeb;
    88class ACL_Amazon_Product_Import
    99{
     
    11051105        $proudct_url=$basic_url.$asin;
    11061106        // Create a DOM object
    1107         // Create a DOM object
    1108         $doc = new HtmlWeb();
    1109         $html = $doc->load($proudct_url);
     1107        // latest 2.0
     1108        //$doc = new HtmlWeb();
     1109        //$html = $doc->load($proudct_url);
     1110        //Stable
     1111        $html = new simple_html_dom();
     1112        $html->load($proudct_url);//Search Result
    11101113
    11111114        if(gettype($html->find('span.price', 0)) != "NULL") {
  • wp-amazon-shop/trunk/includes/wp-amazon-shop-handler.php

    r2405780 r2407364  
    44}
    55//use html parser.
    6 use simplehtmldom\HtmlWeb;
     6//use simplehtmldom\HtmlWeb;
    77
    88class ACL_Amazon_Product_Handler
     
    145145        $proudct_url=$basic_url.$asin;
    146146         // Create a DOM object
    147          $doc = new HtmlWeb();
    148          $html = $doc->load($proudct_url);
     147         //$doc = new HtmlWeb();
     148         // $html = $doc->load($proudct_url);
     149         //Stable
     150         $html = new simple_html_dom();
     151         $html->load($proudct_url);//Search Result
     152
    149153         if(gettype($html->find('a#titlehref', 0)) != "NULL") {
    150154             $title_raw =$html->find('a#titlehref', 0)->innertext;
  • wp-amazon-shop/trunk/readme.txt

    r2405780 r2407364  
    44Tags: amazon, amazon shop,affiliate,amazon affiliate, dropship, amazon dropship,amazon product search, amazon product import,amazon product auto link
    55Requires at least: 4.0
    6 Tested up to: 5.5.3
     6Tested up to: 5.5
    77Stable tag: 2.1.0
    88Requires PHP: 5.6.0
     
    1515[youtube https://www.youtube.com/watch?v=PMpQOyIZ2S4]
    1616
    17 Dropshipping & Affiliation with Amazon comes with a NEW Outstanding Feature, Amazon Dropshipping & Affiliation Program Both.Search and build products from Amazon store to make easy money by affiliation. No hassle, no coding, no amazon AWS keys!
     17Dropshipping & Affiliation with Amazon formerly known as WP Amazon Shop for Dropshipping & Affiliation comes with a NEW Outstanding Feature, Amazon Dropshipping & Affiliation Program Both.Search and build products from Amazon store to make easy money by affiliation. No hassle, no coding, no amazon AWS keys!
    1818
    1919> [Live Demo of Dropshipping & Affiliation with Amazon Pro Version](https://wpamazonshop.com/demo/)
  • wp-amazon-shop/trunk/wp-amazon-shop.php

    r2405780 r2407364  
    88 * Author URI: http://www.amadercode.com/
    99 * Requires at least: 4.0
    10  * Tested up to: 5.5.3
     10 * Tested up to: 5.5
    1111 * Stable tag: 2.1.0
    1212 * Text Domain: wp-amazon-shop
     
    4040// Load Amazon sdk libraries
    4141require_once( 'includes/wp-amazon-shop-install.php');
    42 require_once( 'includes/lib/simplehtmldom_2_0-RC2/HtmlWeb.php');
     42require_once( 'includes/lib/simplehtmldom_1_9_1/simple_html_dom.php');
     43//require_once( 'includes/lib/simplehtmldom_2_0-RC2/HtmlWeb.php');
    4344//Load Plugin Operation class files
    4445require_once( 'includes/wp-amazon-shop-handler.php');
Note: See TracChangeset for help on using the changeset viewer.