I'm looking for some php to create a list of web pages based on a search engine results page. I then need the server to visit each of these pages daily and create an email is specific data changes.
1Web entry form
Through a web form a user will enter their email address and a Bing search phrase. This will be stored in a MySQL database on the server.
2. Triggered by a daily event or the completion of the web form
The server will get the Bing Search result and record all the result URLs in a temporary table.
3. If the URL is from a specific domain then it should be stored in a URL table
4. For each URL in the URL table, the server will get each web page and scrape four fields of information from the page.
5. If the URL has never been scraped before these fields are stored in a Scrapped table
6. If the URL has been previously scraped, the current data is compared with the previously scraped data. If there is a change then
The old and new versions are stored in a ToBeEmailed table along with the users email address
The old record is updated to the new data stored in the Scrapped Table
7. The user is sent a HTML email with the changes stored in the ToBeEmailed table