Jump to content


Photo

ebay.com


No replies to this topic

#1 MaxD

MaxD

    Administrator

  • Administrators
  • 708 posts

Posted 24 September 2014 - 11:29 AM

//= PRODUCT: section for single product
$name = tag_text(' [property=og:title] ');
find_manufacturer();
$price = tag_text(' [itemprop=price] ');
$currency = tag_text(' [itemprop=priceCurrency] ');
$manufacturer = tag_text(' [itemprop=brand] ');

$images = replace('\u002F', '/', insides('maxImageUrl":"', '"'));
$attributes = tags_text(' .itemAttr td ');
take_attribute('Condition');
take_attribute('Brand');

$description_url = tag_attr('iframe', 'src', inside('</table></div></div>', '<div class="asqMain">', inside('class="itemAttr"')));
if ($description_url)  {
    $description = http($description_url);
    $description = replace("\/script", "", $description);
    $description = close_tags(replace("<script*/script>", "", $description));
}

//= LIST: Product list processing script. At least $products and $nextpage should be defined here.
$products = tags_link('.vip');
$nextpage = tags_link('.pg');
if (find("pgn", $url)) $nextpage = false;

//= SETTINGS: section for script settings
$http_user_agent = true;
$auto_replace = false; // Apply replaces to all HTML pages
$site_language = ""; // Site's language for translation (For automated translation set source site's language. Keep empty if don't need translation.<br/><b>Example:</b> EN - English, DE - German)
$skip_zero_price = false; // Skip products with zero price
$description_images = false; // Load description images (Images from the product descriptions will be downloaded to your shop)

/** License **/
$http_use_proxies = false; // Use proxies (Activate only when you have problems connecting to the site)
// <h3> Existing Products Updates </h3>
$update_price = true; // Update price
$update_description = false; // Update name and description
$update_images = false; // Update images
$update_attributes = true; // Update attributes

  • 0



Reply to this topic



  



 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Community Skin by Fredson Nunes Junior