Write a PHP class script that scraps texts from other sites, which include a target keyword.
Script will use Google, Yahoo & MSN to get the URLs of pages that have a target keyword in their texts. Script will then scrap the text from those pages.
In order not to scrap all the text on that pages, the script must only scrap 3 sentences per keyword. Sentences must stick together and target keyword must be present in them at least once.
If the text on the same page contains the target keyword more times, then the script must scrap the 3 sentences as many times.
Script therefore receives the info about the target keyword and returns the results in an array, where each array field contains 3 sentences.
There must be no array field duplicates present in array.