Page 1 of 1

getting data of other sites

Posted: Fri Oct 01, 2004 12:53 am
by bugthefixer
how can i get the data from other sites like news,horoscopes,weather extra and display it on my site

Posted: Fri Oct 01, 2004 1:55 am
by feyd
1 get their permission, unless they provide an RSS feed. If they don't have an RSS feed, then you can extract the information you want out of the page contents returned from [php_man]file_get_contents[/php_man]() or [php_man]curl[/php_man], and some regular expressions.