Redscraper Blog

RS ypExtractor AUS 2.14 Released!

Posted on August 17th, 2012

What’s New:

Date August 17, 2012

[Add] Extracting Fax Added

RS ypExtractor AUS 2.12 Released!

Posted on June 11th, 2012

What’s New:

Date June 11, 2012

[Fix] Problem Fixed with Export Email column

RS Lead Extractor v2.11 Released

Posted on June 7th, 2012

What’s New:

Date June 7, 2012

[Fix] Several fixes and enhancements to improve execution process and preset handling

[Fix] Some interface fixes in the advance search panel

[Fix] Stop the extraction process will now works properly

Basic of Web Scraping Using PHP

Posted on June 4th, 2012

Now that we have the Basic idea of Website Data Scraping and Data Extraction is, let’s get into some very simple example using PHP. I am assuming you have installed PHP on your server and know basics of PHP so let’s get into basic of web scraping using PHP. Below is the small program which extracts title of any webpage.

Example:

<?php
$url = ‘http://www.example.com’;
$output = file_get_contents($url);
preg_match(‘/<title>(.*)<\/title>/i’, $output, $title);
$titleout = $title[1];
echo $ titleout;
?>

 

Script Explanation:

Line 1 and line 7 is to just let apache know that the code within them is to be processed as PHP.

Line 2:  $url = ‘http://www.example.com’;

$url is a variable holds the webpage you want to scrape title.

Line 3: $output = file_get_contents($url);

file_get_contents is an internal function which pull all the data that held in a file or url. Here variable $output is declared on the fly and result of the file_get_contents() store in it.

Line 4:  preg_match(‘/<title>(.*)<\/title>/i’, $output, $title);

Searches $output for all matches to the regular expression given “/<title>(.*)<\/title>/i” and puts them in $title. Here you can ask what is regular expression? In our next post we will try to explain as much as possible about regular expression.

Line 5 and Line 6:  $titleout = $title[1];  echo $ titleout;

Store and print the title of the webpage.

Importance of Price Monitoring System

Posted on June 2nd, 2012

A well-designed ecommerce site effort the online shopping experience for customers, offering lot of products, detailed description of product, speeding their order and check process, live support and various other facilities. It is mandatory to monitor products against their competitors to keep their price low and offer more features.

Where as many retailer managers, manufacturers still manually check of prices against competitors. This daily labour intensive task can take long time and also a painful task. It is very crucial for retailers and manufacturers to keep their price low to continue running their business over today’s marketplace.

We are planning to develop an online Price monitoring Tool which help retailers and manufacturers to automatically track their competitor activities, price and different other. Please share your thought and feedback about competitor monitoring system.

Copyright 2013 www.redscraper.com. All Rights Reserved