Archive for data-mining

Mining the Web using PHP

// March 4th, 2008 // 2 Comments » // Databases, Open Source, PHP, Web 2.0, Web Development, Web Development Software, data-mining

There are many ways for Extracting or fetching desired data or content from an html pages. During my work, i had to build a Miner to get news from multiple sites & update a wordpress blog with the latest news, daily.I had many choices to accomplish this task, few of them are
- Regular expressions
- PHP string functions.
- Using DOM Parsing
- Using Xpath.

First of all i used regular expressions to (more…)