hi I want a Read part of a site with php and save to new page to other site.(like weather.com) I want this operation is the server side. This is like a web crawler or robot! Is this possible? Updated several times a day get? such as cornjob
Asked
Active
Viewed 54 times
0
-
3Hm, wonder if I should flag as offensive for "cornjob"... – Matt Ball Apr 23 '11 at 14:20
-
Google baby Google! You might even find your answer on a page called [stackoverflow](http://stackoverflow.com/questions/2296465/web-crawler-parsing-php-javascript-links) – afuzzyllama Apr 23 '11 at 14:21
-
This is a very broad question. The process of fetching content from a web site is called "scraping" and has some answers e.g. here: http://stackoverflow.com/questions/2523096/how-do-i-screen-scrape-a-website-and-get-data-within-div to do it frequently, you indeed want to look into cron jobs. – Pekka Apr 23 '11 at 14:21
-
It may just be the user does not use English as a first language. ;) – Chuck Burgess Apr 23 '11 at 14:21
1 Answers
1
You can use cURL to get the webpage and parse it with SimpleXML or simple_html_dom

locrizak
- 12,192
- 12
- 60
- 80